-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
from openai import OpenAI | ||
from astra_assistants import patch | ||
from agency_swarm import Agent, Agency, set_openai_client | ||
from dotenv import load_dotenv | ||
|
||
load_dotenv("./.env") | ||
load_dotenv("../../../.env") | ||
|
||
client = patch(OpenAI()) | ||
|
||
set_openai_client(client) | ||
|
||
ceo = Agent(name="CEO", | ||
description="Responsible for client communication, task planning, and management.", | ||
instructions="Please communicate with users and other agents.", | ||
model="anthropic/claude-3-haiku-20240307", | ||
files_folder="./examples/python/agency-swarm/files", | ||
tools=[]) | ||
|
||
agency = Agency([ceo]) |
Binary file added
BIN
+569 KB
...guage_models_are_unsupervised_multitask_learners_65f9baa0-c9f9-be58-955b-a937382dd0dd.pdf
Binary file not shown.