Skip to content

Commit 8969173

Browse files
authored
feat(testset): ported simple, multi_context and reasoning evolutions (#496)
usage: ```py from ragas.testset.generator import TestsetGenerator # generator with openai models generator = TestsetGenerator.with_openai() generator # specify distributions from ragas.testset.evolutions import simple, reasoning, multi_context distributions = { simple: 0.5, multi_context: 0.4, reasoning: 0.1 } distributions # generate testset testset = generator.generate_with_llamaindex_docs(documents, 100, distributions) testset.to_pandas() ``` 100 rows in <4mins part of #380
1 parent 08dd0a7 commit 8969173

File tree

4 files changed

+419
-124
lines changed

4 files changed

+419
-124
lines changed

0 commit comments

Comments
 (0)