Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kyegomez authored Aug 21, 2024
1 parent 5313d57 commit 77969c8
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,16 @@ chromadb = ChromaDB(
# docs_folder="artifacts", # Folder of your documents
)

# Model
model = Anthropic(anthropic_api_key=os.getenv("ANTHROPIC_API_KEY"))


# Initialize the agent
agent = Agent(
agent_name="Financial-Analysis-Agent",
system_prompt=FINANCIAL_AGENT_SYS_PROMPT,
agent_description="Agent creates ",
llm=Anthropic(anthropic_api_key=os.getenv("ANTHROPIC_API_KEY")),
llm=model,
max_loops="auto",
autosave=True,
dashboard=False,
Expand All @@ -159,16 +162,15 @@ agent = Agent(
user_name="swarms_corp",
retry_attempts=3,
context_length=200000,
# agent_ops_on=True,
long_term_memory=ChromaDB(docs_folder="artifacts"),
long_term_memory=chromadb,
)



agent.run(
"What are the components of a startups stock incentive equity plan"
)


```

-------
Expand Down

0 comments on commit 77969c8

Please sign in to comment.