Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: output new Testset object for generation #1386

Merged
merged 4 commits into from
Oct 1, 2024

Conversation

jjmachan
Copy link
Member

@jjmachan jjmachan commented Sep 30, 2024

image

@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Sep 30, 2024
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. and removed size:M This PR changes 30-99 lines, ignoring generated files. labels Sep 30, 2024
src/ragas/experimental/testset/simulators/generate.py Outdated Show resolved Hide resolved
@@ -80,21 +80,21 @@ def generate_with_langchain_docs(
def generate(
self,
test_size: int,
scenarios: t.Optional[QuestionTypes] = None,
simulators: t.Optional[QuestionTypes] = None,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also here, if it's a simulator what is then QuestionTypes?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changed this to simulator_distributions - how does that sound? is it clear?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants