clean up example of agents

pull/39/head
Kye 1 year ago
parent a8c320440a
commit 0d245f98a1

@ -33,7 +33,7 @@ Let's see how simple it is to use these components with some examples:
```python ```python
# Import the necessary classes # Import the necessary classes
from swarms.models import Anthropic, HuggingFaceLLM from swarms.agents import Anthropic, HuggingFaceLLM
# Create an instance of the Anthropic class # Create an instance of the Anthropic class
anthropic = Anthropic(model="claude-2", max_tokens_to_sample=100, temperature=0.8) anthropic = Anthropic(model="claude-2", max_tokens_to_sample=100, temperature=0.8)
@ -65,6 +65,8 @@ agent = Agent(
memory=vectorstore, memory=vectorstore,
tools=tool, tools=tool,
) )
agent.run("Make me an instagram clone")
``` ```

Loading…
Cancel
Save