Find answers from the community

Updated 3 months ago

RAG

hey, i was looking to use the code from this guide to evaluate my dataset and find the perfect chunk size: https://www.llamaindex.ai/blog/evaluating-the-ideal-chunk-size-for-a-rag-system-using-llamaindex-6207e5d3fec5. Im aware that its a little old but the DatasetGenerator.fromDocuments() function that is used expects a parameter and the guide doesnt pass one. When i try to pass documents i get the error: AttributeError: 'Document' object has no attribute 'id_'. Did you mean: 'id'?. Would appreciate some help
W
1 comment
How are you creating documents can you share that if possible?
Add a reply
Sign up and join the conversation on Discord