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: global prompt adaptation #432

Merged
merged 36 commits into from Jan 8, 2024

Conversation

shahules786
Copy link
Member

@shahules786 shahules786 commented Jan 6, 2024

  • prompt adaptation
  • Minor fix in faithfulness
  • Docs for prompt adaptation
  • Add test
from ragas import adapt
from ragas.metrics import faithfulness, context_precision, context_recall,
adapt(metrics=[faithfulness,context_recall],language="hindi")

Copy link
Member

@jjmachan jjmachan left a comment

Choose a reason for hiding this comment

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

just this one concern

src/ragas/adaptation.py Outdated Show resolved Hide resolved
@shahules786 shahules786 merged commit 121548f into explodinggradients:main Jan 8, 2024
15 checks passed
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

2 participants