Skip to content

Commit

Permalink
fix(docs): update the dependencies for langchain rag agent (#1057)
Browse files Browse the repository at this point in the history
  • Loading branch information
gautamgambhir97 authored Nov 20, 2024
1 parent 2a3370f commit 9b495a2
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 20 deletions.
21 changes: 11 additions & 10 deletions pages/examples/intermediate/langchain-rag.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -91,17 +91,18 @@ export OPENAI_API_KEY="YOUR_OPENAI_API_KEY"
```
[tool.poetry.dependencies]
python = ">=3.10,<3.12"
uagents = "*"
uagents = "^0.17.1"
requests = "^2.31.0"
langchain = "^0.2.11"
openai = "^1.12.0"
langchain-openai = "^0.1.19"
tiktoken = "^0.7.0"
cohere = "^4.47"
faiss-cpu = "^1.7.4"
validators = "^0.22.0"
uagents-ai-engine = "^0.4.0"
unstructured = "^0.12.4"
langchain = "^0.3.7"
openai = "^1.54.5"
langchain-openai = "^0.2.9"
tiktoken = "^0.8.0"
cohere = "^5.11.4"
faiss-cpu = "^1.9.0.post1"
validators = "^0.34.0"
uagents-ai-engine = "^0.6.0"
unstructured = "^0.16.5"
langchain-community = "^0.3.7"
```

### RagRequest Model
Expand Down
21 changes: 11 additions & 10 deletions pages/guides/agents/intermediate/langchain-rag-agent.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -107,17 +107,18 @@ You'll need several Python packages for the project. These can be managed effici
```
[tool.poetry.dependencies]
python = ">=3.10,<3.12"
uagents = "*"
uagents = "^0.17.1"
requests = "^2.31.0"
langchain = "^0.2.11"
openai = "^1.12.0"
langchain-openai = "^0.1.19"
tiktoken = "^0.7.0"
cohere = "^4.47"
faiss-cpu = "^1.7.4"
validators = "^0.22.0"
uagents-ai-engine = "^0.4.0"
unstructured = "^0.12.4"
langchain = "^0.3.7"
openai = "^1.54.5"
langchain-openai = "^0.2.9"
tiktoken = "^0.8.0"
cohere = "^5.11.4"
faiss-cpu = "^1.9.0.post1"
validators = "^0.34.0"
uagents-ai-engine = "^0.6.0"
unstructured = "^0.16.5"
langchain-community = "^0.3.7"
```

## Messages Data Model
Expand Down

0 comments on commit 9b495a2

Please sign in to comment.