From 69401042feee57c27b624a5c5ab35dc1ebddc814 Mon Sep 17 00:00:00 2001 From: Kye Date: Sat, 5 Aug 2023 18:55:30 -0400 Subject: [PATCH] clean up example of agents Former-commit-id: 0d245f98a1021afe5e4725f0cc5a2d7a7b4be0c0 --- DOCS/agents/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/DOCS/agents/README.md b/DOCS/agents/README.md index cd9beb2e..f771ca88 100644 --- a/DOCS/agents/README.md +++ b/DOCS/agents/README.md @@ -33,7 +33,7 @@ Let's see how simple it is to use these components with some examples: ```python # Import the necessary classes -from swarms.models import Anthropic, HuggingFaceLLM +from swarms.agents import Anthropic, HuggingFaceLLM # Create an instance of the Anthropic class anthropic = Anthropic(model="claude-2", max_tokens_to_sample=100, temperature=0.8) @@ -65,6 +65,8 @@ agent = Agent( memory=vectorstore, tools=tool, ) + +agent.run("Make me an instagram clone") ```