From 77969c8e6e490c26ff9f91dec23b93d80a73fa5e Mon Sep 17 00:00:00 2001 From: Kye Gomez <98760976+kyegomez@users.noreply.github.com> Date: Wed, 21 Aug 2024 00:41:33 -0400 Subject: [PATCH] Update README.md --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index da8115e0a..76e22b8c5 100644 --- a/README.md +++ b/README.md @@ -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, @@ -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" ) + ``` -------