Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds adaptive RAG tutorial #226

Merged
merged 6 commits into from
Jun 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@
"@langchain/cloudflare": "npm:/@langchain/cloudflare",
"@langchain/groq": "npm:/@langchain/groq",
"@langchain/core/": "npm:/@langchain/[email protected]/",
"@langchain/langgraph": "npm:/@langchain/[email protected].23",
"@langchain/langgraph/": "npm:/@langchain/[email protected].23/",
"@langchain/langgraph": "npm:/@langchain/[email protected].24",
"@langchain/langgraph/": "npm:/@langchain/[email protected].24/",
"@langchain/mistralai": "npm:/@langchain/mistralai",
"@langchain/anthropic": "npm:/@langchain/anthropic",
"@xenova/transformers": "npm:/@xenova/transformers",
"uuid": "npm:/uuid",
"dotenv/": "npm:/dotenv/",
"zod": "npm:/zod",
Expand Down
1 change: 1 addition & 0 deletions docs/_scripts/copy_notebooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"rag/langgraph_agentic_rag.ipynb",
"rag/langgraph_crag.ipynb",
"rag/langgraph_self_rag.ipynb",
"rag/langgraph_adaptive_rag_local.ipynb",
"multi_agent/multi_agent_collaboration.ipynb",
"multi_agent/agent_supervisor.ipynb",
"multi_agent/hierarchical_agent_teams.ipynb",
Expand Down
1 change: 1 addition & 0 deletions docs/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ nav:
- tutorials/rag/langgraph_agentic_rag.ipynb
- tutorials/rag/langgraph_crag.ipynb
- tutorials/rag/langgraph_self_rag.ipynb
- tutorials/rag/langgraph_adaptive_rag_local.ipynb
- Planning Agents:
- tutorials/plan-and-execute/plan-and-execute.ipynb
- Reflection & Critique:
Expand Down
925 changes: 925 additions & 0 deletions examples/rag/langgraph_adaptive_rag_local.ipynb

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions langgraph/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
"devDependencies": {
"@jest/globals": "^29.5.0",
"@langchain/anthropic": "^0.1.21",
"@langchain/community": "^0.2.2",
"@langchain/openai": "^0.0.33",
"@langchain/community": "^0.2.12",
"@langchain/openai": "^0.1.3",
"@langchain/scripts": "^0.0.13",
"@swc/core": "^1.3.90",
"@swc/jest": "^0.2.29",
Expand All @@ -53,7 +53,9 @@
"@types/uuid": "^9",
"@typescript-eslint/eslint-plugin": "^6.12.0",
"@typescript-eslint/parser": "^6.12.0",
"@xenova/transformers": "^2.17.2",
"better-sqlite3": "^9.5.0",
"cheerio": "1.0.0-rc.12",
"dotenv": "^16.3.1",
"dpdm": "^3.12.0",
"eslint": "^8.33.0",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"typescript": "^4.9.5 || ^5.4.5"
},
"resolutions": {
"@langchain/core": "0.2.3",
"@langchain/core": "0.2.7",
"cheerio": "^1.0.0-rc.12",
"typescript": "4.9.5"
},
Expand Down
Loading
Loading