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

added prompt objects to metrics #401

Merged
merged 40 commits into from Dec 31, 2023

Conversation

tinomaxthayil
Copy link
Contributor

  • Added prompt objects to metrics

@tinomaxthayil
Copy link
Contributor Author

@shahules786 faithfulness and critique prompts are left

@shahules786
Copy link
Member

I have raised PR to your branch. @tinomaxthayil

@shahules786 shahules786 self-requested a review December 29, 2023 04:24
@shahules786 shahules786 merged commit 84cb885 into explodinggradients:main Dec 31, 2023
15 checks passed
shahules786 added a commit that referenced this pull request Jan 1, 2024
Automatic prompt adaption for different languages.  

- [x] Add support for all metrics
- [x] Testing and experimentation
- [ ] Add docs (with explanation)

To be merged only after #401 

### Usage
```
from ragas.metrics import faithfulness
faithfulness.adapt("hindi")
faithfulness.save()
```

---------

Co-authored-by: Tino Max <tinothayil@gmail.com>
Co-authored-by: jjmachan <jamesjithin97@gmail.com>
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.

None yet

3 participants