langgraph/tutorials/rag/langgraph_agentic_rag/ #722
Replies: 10 comments 12 replies
-
Hello, Is it only me that whenever the decision is to reformulate the question and the state goes back to the agent, it stops there. It is not going back to the retriever to get more and better context... |
Beta Was this translation helpful? Give feedback.
-
@andresucv96, I am facing the same issue, I see that Rewrite is setting the end condition, not able to figure out why. |
Beta Was this translation helpful? Give feedback.
-
Whenever I run this Agentic RAG I am getting this error bellow: "USER_AGENT environment variable not set, consider setting it to identify your requests." |
Beta Was this translation helpful? Give feedback.
-
when defining the state class, when would you use: |
Beta Was this translation helpful? Give feedback.
-
Hello! I want to build an agentic rag with other tools as well, but I dont know yet how to handle it. For example, If I have another tool(i.e web search), how can I ensure that it follows another path, instead of the rag path(grade, rewrite, generate) |
Beta Was this translation helpful? Give feedback.
-
I use my own deployed llm and db, meet error as follow:
|
Beta Was this translation helpful? Give feedback.
-
what benefits does this architecture have over adaptive rag? |
Beta Was this translation helpful? Give feedback.
-
For all the examples, the index had already been created and did not require updating. However, in a real chat assistant scenario, the index is only created after the user uploads files. It is only at this point that the retrieval tool can be instantiated. Do you have any idea to handle such situations? |
Beta Was this translation helpful? Give feedback.
-
The following two issues need to be addressed within the code: Handling Compound Questions:1 - When a user asks a compound question (for instance., What is an agent, and what is prompt engineering?), the Agent node splits the question into multiple (in this case two) sub-questions (e.g., What is an agent?, and What is prompt engineering?).
This content is then graded against the original compound question in the I believe the following modifications will address this problem for compound questions:
Issue with Memory Checkpoint:1 - When a memory checkpoint is added to the graph as below,
the question, i.e., This can be addressed by capturing the user's question and storing/calling it appropriately as below,
Calling the stored question in the
I would appreciate feedback from anyone who has addressed the first part. If so, please share the updated code. |
Beta Was this translation helpful? Give feedback.
-
Trying to implement this with Azure Search and Azure Hosted Open AI. My retrieval call is not being invoked at all and straight getting responses from Open AI vs sourcing from Vector Store. |
Beta Was this translation helpful? Give feedback.
-
langgraph/tutorials/rag/langgraph_agentic_rag/
Build language agents as graphs
https://langchain-ai.github.io/langgraph/tutorials/rag/langgraph_agentic_rag/
Beta Was this translation helpful? Give feedback.
All reactions