Skip to content

Commit

Permalink
fix(docs): crag wrong tool invocation (#836)
Browse files Browse the repository at this point in the history
Co-authored-by: seonmyung.lim <[email protected]>
  • Loading branch information
SeonMyungLim and seonmyung.lim authored Feb 4, 2025
1 parent 7ff3722 commit 8d867cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/rag/langgraph_crag.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@
" console.log(\"---WEB SEARCH---\");\n",
"\n",
" const tool = new TavilySearchResults();\n",
" const docs = await tool.invoke({ query: state.question });\n",
" const docs = await tool.invoke({ input: state.question });\n",
" const webResults = new Document({ pageContent: docs });\n",
" const newDocuments = state.documents.concat(webResults);\n",
"\n",
Expand Down

0 comments on commit 8d867cf

Please sign in to comment.