pull/764/head
Kye Gomez 3 months ago
parent 9cff6c7d1a
commit a88127b820

@ -2,22 +2,3 @@ WORKSPACE_DIR="agent_workspace"
SWARMS_API_KEY=""
USE_TELEMETRY=True
OPENAI_API_KEY="sk-"
GOOGLE_API_KEY=""
AI21_API_KEY="your_api_key_here"
COHERE_API_KEY="your_api_key_here"
ALEPHALPHA_API_KEY="your_api_key_here"
HUGGINFACEHUB_API_KEY="your_api_key_here"
EVAL_PORT=8000
MODEL_NAME="gpt-4"
USE_GPU=True
PLAYGROUND_DIR="examples"
LOG_LEVEL="INFO"
BOT_NAME="Orca"
HF_API_KEY="your_huggingface_api_key_here"
AGENTOPS_API_KEY=""
ANTHROPIC_API_KEY="your_anthropic_api_key"
AZURE_OPENAI_ENDPOINT="your_azure_openai_endpoint"
AZURE_OPENAI_DEPLOYMENT="your_azure_openai_deployment"
OPENAI_API_VERSION="your_openai_api_version"
AZURE_OPENAI_API_KEY="your_azure_openai_api_key"
AZURE_OPENAI_AD_TOKEN="your_azure_openai_ad_token"

@ -25,3 +25,27 @@ agent = Agent(
# Run a query
agent.run("What are the components of a startup's stock incentive equity plan?")
```
## R1
This is a simple example of how to use the DeepSeek Reasoner model otherwise known as R1.
```python
import os
from swarms import Agent
from dotenv import load_dotenv
load_dotenv()
# Initialize the agent with ChromaDB memory
agent = Agent(
agent_name="Financial-Analysis-Agent",
model_name="deepseek/deepseek-reasoner",
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?")
```

@ -5,7 +5,7 @@ build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "swarms"
version = "7.0.0"
version = "7.0.1"
description = "Swarms - TGSC"
license = "MIT"
authors = ["Kye Gomez <kye@apac.ai>"]
@ -59,6 +59,7 @@ classifiers = [
python = ">=3.10,<4.0"
# torch = ">=2.1.1,<3.0"
# transformers = ">= 4.39.0, <5.0.0"
setuptools = "*"
asyncio = ">=3.4.3,<4.0"
toml = "*"
pypdf = "5.1.0"

Loading…
Cancel
Save