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

Docs for adaptive RAG have incorrect examples #675

Open
kenchambers opened this issue Nov 16, 2024 · 1 comment
Open

Docs for adaptive RAG have incorrect examples #675

kenchambers opened this issue Nov 16, 2024 · 1 comment

Comments

@kenchambers
Copy link

kenchambers commented Nov 16, 2024

Greetings!

Thank you so much for your contribution on implementing adaptive Rag in langgraph.

I noticed in this document: https://langchain-ai.github.io/langgraphjs/tutorials/rag/langgraph_adaptive_rag_local/

The first example of invoking the graph, is supposed to reroute to the actual documents loaded, which is expected behavior but in the example terminal response, it says it's routing to WEB_SEARCH, which is actually incorrect.

I ran through this entire tutorial and actually this was the same behavior i got using gemini as well so i was hoping the team could shed light on why it is actually rerouting to websearch, instead of routing to the documents correctly.

I can include my code if necessary. thanks again.

Screenshot 2024-11-15 at 10 02 38 PM

I'm obviously still very new to this, so if my expectations are incorrect please enlighten me!

@kenchambers
Copy link
Author

I was able to pass: llm agent memory, an example given earlier in the document during the route question code, and this seemed to properly route it to the vector store memory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant