Update README.md

pull/572/head
Kye Gomez 5 months ago committed by GitHub
parent 5313d5738e
commit 77969c8e6e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -142,13 +142,16 @@ chromadb = ChromaDB(
# docs_folder="artifacts", # Folder of your documents # docs_folder="artifacts", # Folder of your documents
) )
# Model
model = Anthropic(anthropic_api_key=os.getenv("ANTHROPIC_API_KEY"))
# Initialize the agent # Initialize the agent
agent = Agent( agent = Agent(
agent_name="Financial-Analysis-Agent", agent_name="Financial-Analysis-Agent",
system_prompt=FINANCIAL_AGENT_SYS_PROMPT, system_prompt=FINANCIAL_AGENT_SYS_PROMPT,
agent_description="Agent creates ", agent_description="Agent creates ",
llm=Anthropic(anthropic_api_key=os.getenv("ANTHROPIC_API_KEY")), llm=model,
max_loops="auto", max_loops="auto",
autosave=True, autosave=True,
dashboard=False, dashboard=False,
@ -159,16 +162,15 @@ agent = Agent(
user_name="swarms_corp", user_name="swarms_corp",
retry_attempts=3, retry_attempts=3,
context_length=200000, context_length=200000,
# agent_ops_on=True, long_term_memory=chromadb,
long_term_memory=ChromaDB(docs_folder="artifacts"),
) )
agent.run( agent.run(
"What are the components of a startups stock incentive equity plan" "What are the components of a startups stock incentive equity plan"
) )
``` ```
------- -------

Loading…
Cancel
Save