Find answers from the community

Updated 4 months ago

With arrival of the new workflows

With arrival of the new workflows architecture it opens the possibility of making the powerful COA chain of abstraction approach even better by making it execute in steps rather than one shot, it can then revise the execution plan as data comes in and even progressively refine an answer until a validator triggers a stop event. @Logan M have you thought about making a notebook on how to implement a COA rag pipeline with the new workflows?
W
L
m
18 comments
I don't think that's using COA though.

Yea definitely i think we can do some cool stuff with agents and workflows. Haven't looked into COA myself just yet (if you happen to give it a try, it would make a great demo/example!)
Ah I see, sorry my bad 🙏
I follow the example according https://docs.llamaindex.ai/en/stable/examples/workflow/rag/ , but i have a error: Index is empty, load some documents before querying!, it seems ctx don't share between runs。
it means index was created but with 0 records, Please check the correct folder path was provided and it was able to extract content from it
I have folder data including a file llama2.pdf, i have try to degrade from 0.11.1 to 0.10.68 and it work fine. Perhaps there are something bug in the latest version?
Can you try this example with lastet version 0.11.1 to confirm if it is ok?
If you are moving to 0.11 I would suggest upgrading all the libraries that you have.
There was a pydantic v2 upgrade which requires all the libraries to be updated
I use poetry to manage my package, and I have checked that pydantic version is 2.8.2.
Same code work fine in llama-index and llama-index-core with version "0.10.68" but occor error in "0.11.1", there must something wrong in latest version. Maybe i can wait several days to check if anyone else have the same issue.🥹
I will use the older version for learning first.
indeed, ctx does not share between runs right now
need to take a second pass on these examples
What error did you have with v0.11.1 ? It should be fine tbh
Are you saying that in version v0.11.1, the feature that ctx share between runs was specifically removed?
So the official documentation is outdated, and code needs to be updated to comply with the new version.
momentarily removed yes. Long story. Docs are already updated (in /latest) -- making a release now for stable

We have an upcoming sessions feature for managing sessions/runs of a workflow
Thank you for quick answer, I understand now.
Add a reply
Sign up and join the conversation on Discord