-
Notifications
You must be signed in to change notification settings - Fork 459
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: prompt adaptation for test data generation #530
Feat: prompt adaptation for test data generation #530
Conversation
shahules786
commented
Jan 30, 2024
•
edited
edited
- prompt adaptation for languages
- Minor bug fixes and assertions
- JSON safe loading
…test-prompt-adapt
Hi @shahules786, thank you for your nice work! |
…test-prompt-adapt
@gonznm Hey there, Yes. I have been working hard on this feature. It's working now, would love to hear your feedback and if you have any suggested improvements feel free to raise a PR :) |
Awesome! I will def give it a try on monday! |
fixes for docstore
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we finally have this thanks to @shahules786
feel free to install from the latest and take it for a spin @gonznm 😉
Hey there @jjmachan and @shahules786 :) Note: I have other issues when trying to use open-source models, but they are not related to adaptation, I'll open an issue for that |
Great @gonznm , thanks. Please report the issues so that we can help :) |
thanks a lot for sharing your feedback - really happy to hear its working for you :) we'll get you sorted on the other issue as well but welcome to the community brother - we are happy to have you here 🙂 ❤️ |
I had an issue with adapting a generator to german. I got an The problem was that one output_key was "verdit" instead of "verdict". I ended up fixing the typo https://github.com/explodinggradients/ragas/blob/deded7096486f1b7616e8d11f7e9d6eac731bdd0/src/ragas/testset/prompts.py#L181 and now it works!
|