langgraph/tutorials/chatbots/information-gather-prompting/ #501
Replies: 9 comments 11 replies
-
Input User (q/Q to quit): the schema to extract, and the text to extract it from Process finished with exit code 1 |
Beta Was this translation helpful? Give feedback.
-
Thanks for the updates, you are great people!! I would like to know your opinion about the use of graphs together with vector databases so that LLMs do not stop scanning certain areas of knowledge and thus stop hallucinating, at least, that is what I understand about this phenomenon , since the LLM does not find the relevant areas in its scan of embedded areas, it has a tendency to be more creative. In theory, if when translating our prompt you are able to go through all the graphs that contain said information, and said information is of quality, the vector database will be able to select the information stored in those nodes using similar cosine. , correct? I would like to know your expert opinion, because I see above all that regardless of whether this technique is relevant or not with this technology, what has always given me problems is how difficult it is to save and maintain updated information in a graph, especially with neo4j and that peculiar language. I suppose it must be very effective so that they don't deprecate it, because to me it seems horrible and worthy of the hottest flames of one of Dante's infernos. |
Beta Was this translation helpful? Give feedback.
-
Is this more like proactive retrieval instead of reactive retreival? |
Beta Was this translation helpful? Give feedback.
-
Is this article deprecated? |
Beta Was this translation helpful? Give feedback.
-
User (q/Q to quit): hello I just paste this code to my pycharm, but it didn't work |
Beta Was this translation helpful? Give feedback.
-
looks like this article is deprecated. it doesn't work. the "graph.stream" should have "State" type input |
Beta Was this translation helpful? Give feedback.
-
I'm somewhat new to langchain/langgraph. I'm a bit confused here as to why you have the I'm guessing this is a kind of hack to make things work in the framework of tools but its not clear and maybe some explanation in the sample would clear it up. Thanks |
Beta Was this translation helpful? Give feedback.
-
Did anybody understand how variables, constraints and requirements inside PromptInstructions were filled? |
Beta Was this translation helpful? Give feedback.
-
there is issue with this example. I am getting the following exception:
this is the tool called from {'name': 'PromptInstructions', 'args': {'objective': 1, 'variables': ['rag'], 'constraints': [], 'requirements': []}, 'id': 'toolu_011mh6syf4XjdP91GC8oaiv9', 'type': 'tool_call'} |
Beta Was this translation helpful? Give feedback.
-
langgraph/tutorials/chatbots/information-gather-prompting/
Build language agents as graphs
https://langchain-ai.github.io/langgraph/tutorials/chatbots/information-gather-prompting/
Beta Was this translation helpful? Give feedback.
All reactions