Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkbrnd committed Feb 14, 2025
1 parent e2c2c75 commit ee487a9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cookbook/playground/upload_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
name="File Upload Agent",
role="Answer questions about the uploaded files",
model=OpenAIChat(id="gpt-4o-mini"),
storage=PostgresAgentStorage(table_name="agent_sessions", db_url=db_url),
knowledge=knowledge_base,
show_tool_calls=True,
markdown=True,)
Expand All @@ -48,6 +49,7 @@
role="Answer questions about audio files",
agent_id="simple-agent",
model=OpenAIChat(id="gpt-4o-audio-preview"),
storage=PostgresAgentStorage(table_name="agent_sessions", db_url=db_url),
add_history_to_messages=True,
add_datetime_to_instructions=True,
show_tool_calls=True,
Expand Down

0 comments on commit ee487a9

Please sign in to comment.