You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[x] I have checked the documentation and related resources and couldn't resolve my bug.
Describe the bug
When trying to generate a test set using generate_with_llamaindex_docs, the code fails with a NameError indicating that 'LCDocument' is not defined. This appears to be an internal import issue in the Ragas library where the Langchain Document class is not properly imported in the scope where it's being used.
[x] I have checked the documentation and related resources and couldn't resolve my bug.
Describe the bug
When trying to generate a test set using generate_with_llamaindex_docs, the code fails with a NameError indicating that 'LCDocument' is not defined. This appears to be an internal import issue in the Ragas library where the Langchain Document class is not properly imported in the scope where it's being used.
Ragas version: 0.2.6
Python version: 3.10.11
Code to Reproduce
Error trace
Expected behavior
I expected it to generate a test set like described in the guide.
The text was updated successfully, but these errors were encountered: