-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
[Question]: Errors: "non existent node" and "The following events are consumed but never produced: SynthesizeEvent" #17457
Comments
Hey there, @balchja! I'm here to help you with your coding conundrums. Let's squash those bugs together! 🤖 To resolve the errors you're encountering in your multi-step RAG workflow using LlamaIndex, follow these steps:
By ensuring that each event consumed by a step is produced by another step and that all events are correctly defined and used, you should be able to resolve these errors [1][2]. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
I had some typos in the original post which should be corrected. @dosu any advice now? |
To address the errors in your multi-step RAG workflow, ensure the following:
By ensuring these aspects are correctly implemented, you should be able to resolve the errors you're encountering [1][2]. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Question Validation
Question
Hi. I'm try to build a two-part RAG system that first scans a series of documents and summarizes the results. It then uses those that structured summary of results to extract the appropriate codes from a table. There could be multiple findings so I'm trying to combine the https://docs.llamaindex.ai/en/latest/examples/workflow/rag/ and https://docs.llamaindex.ai/en/stable/examples/workflow/multi_step_query_engine/ examples, but am getting this error when I try to run it:
WorkflowValidationError: The following events are consumed but never produced: SynthesizeEvent
and this error when I try to visualize it with draw_all_possible_flows:
AssertionError: non existent node 'RetrieverEvent'
It works when it's a StopEvent but I can't figure out why it won't save the results in a new event.
Here is my code:
Any advice? Thank you!
The text was updated successfully, but these errors were encountered: