explodinggradients / ragas

Supercharge Your LLM Application Evaluations 🚀
https://docs.ragas.io
Apache License 2.0
7.3k stars 745 forks source link

When transforms is a list type, there is no generate_execution_plan function #1644

Closed frr163 closed 1 week ago

frr163 commented 2 weeks ago

When I try to use my local llm to generate testset, there are some problems.

Describe the bug In this file: ragas/src/ragas/testset/transforms/engine.py, on line 104, the codes are: 图片 but there is no generate_execution_plan function.(The existing generate_execution_plan function is for Parallel.)

Ragas version: 0.2.4 Python version: 3.8.19

jjmachan commented 2 weeks ago

@frr163 I'm not sure I understood the question but every transforms has an execution plan https://github.com/explodinggradients/ragas/blob/0415a2dd313f9991f9d41f8d78f55346a4a09235/src/ragas/testset/transforms/base.py#L76-L93

Prallel has a special one where it combines all the plans from the call and executes it together

github-actions[bot] commented 1 week ago

It seems the issue was answered, closing this now.