Skip to content

Conversation

jjmachan
Copy link
Member

you can now create the new TestsetGenerator as such

from ragas.testset.generator import TestsetGenerator

generator = TestsetGenerator.with_openai()
# not here that we are using different function for llamaindex and langchain docs
testset = generator.generate_with_llamaindex_docs(documents, 10)
testset

@jjmachan jjmachan requested a review from shahules786 January 20, 2024 03:46
@jjmachan jjmachan merged commit ebcd925 into explodinggradients:main Jan 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant