[DOCS][Cohere Example]

pull/739/head
Kye Gomez 5 months ago
parent f999f6942a
commit bbdeddd166

@ -17,7 +17,6 @@ agent = Agent(
model_name="claude-3-sonnet-20240229",
system_prompt="Agent system prompt here",
agent_description="Agent performs financial analysis.",
llm=model,
)
# Run a query

@ -17,7 +17,6 @@ agent = Agent(
model_name="command-r",
system_prompt="Agent system prompt here",
agent_description="Agent performs financial analysis.",
llm=model,
)
# Run a query

@ -0,0 +1,25 @@
# Agent with DeepSeek
- Add your `DEEPSEEK_API_KEY` in the `.env` file
- Select your model_name like `deepseek/deepseek-chat` follows [LiteLLM conventions](https://docs.litellm.ai/docs/providers/deepseek)
- Execute your agent!
```python
from swarms import Agent
import os
from dotenv import load_dotenv
load_dotenv()
# Initialize the agent with ChromaDB memory
agent = Agent(
agent_name="Financial-Analysis-Agent",
model_name="deepseek/deepseek-chat",
system_prompt="Agent system prompt here",
agent_description="Agent performs financial analysis.",
)
# Run a query
agent.run("What are the components of a startup's stock incentive equity plan?")
```
Loading…
Cancel
Save