Language Models are machine-learning programs that are trained to understand natural language and code. They provide reasoning and planning capabilities to Agents.Use any model with an Agent like:
Copy
Ask AI
from phi.agent import Agentfrom phi.model.openai import OpenAIChatagent = Agent( model=OpenAIChat(id="gpt-4o"), description="Share 15 minute healthy recipes.", markdown=True,)agent.print_response("Share a breakfast recipe.", stream=True)