语言模型是机器学习程序,经过训练以理解自然语言和代码。
from agno.agent import Agent from agno.models.openai import OpenAIChat agent = Agent( model=OpenAIChat(id="gpt-4o"), description="Share 15 minute healthy recipes.", markdown=True, ) agent.print_response("Share a breakfast recipe.", stream=True)
Agent
exponential_backoff
True
agent = Agent( model=OpenAIChat(id="gpt-4o"), exponential_backoff=True, retries=2, retry_delay=1, )