Skip to content

feat: Update Ragas integration to work with >=0.4.3#3207

Merged
sjrl merged 20 commits intomainfrom
ragas-update
Apr 23, 2026
Merged

feat: Update Ragas integration to work with >=0.4.3#3207
sjrl merged 20 commits intomainfrom
ragas-update

Conversation

@sjrl
Copy link
Copy Markdown
Contributor

@sjrl sjrl commented Apr 22, 2026

Related Issues

Proposed Changes:

Update the Ragas integration to use the latest version of the library. I tried to not change too much about how the component behaved but rather use the new abstractions from the library to provide a similar result as before.

This is a breaking change so a new major version will be released.

How did you test it?

New unit tests and integration tests.

Notes for the reviewer

Checklist

@github-actions github-actions Bot added integration:ragas type:documentation Improvements or additions to documentation labels Apr 22, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 22, 2026

Coverage report (ragas)

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  integrations/ragas/src/haystack_integrations/components/evaluators/ragas
  evaluator.py 200-202, 244-245
  utils.py
Project Total  

This report was generated by python-coverage-comment-action

@socket-security
Copy link
Copy Markdown

socket-security Bot commented Apr 22, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedragas@​0.2.15 ⏵ 0.4.395 -2100 +16100100100

View full report

@sjrl
Copy link
Copy Markdown
Contributor Author

sjrl commented Apr 22, 2026

@maxdswain could you briefly take a look at this draft PR and see if it would meet your needs? We had to make a lot of changes to work with the latest Ragas version.

@sjrl sjrl changed the title feat: Update Ragas integration to work with >=0.4.0 feat: Update Ragas integration to work with >=0.4.3 Apr 23, 2026
@sjrl sjrl marked this pull request as ready for review April 23, 2026 08:38
@sjrl sjrl requested a review from a team as a code owner April 23, 2026 08:38
@sjrl sjrl requested review from anakin87 and removed request for a team April 23, 2026 08:38
Copy link
Copy Markdown
Member

@anakin87 anakin87 left a comment

Choose a reason for hiding this comment

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

I left some comments

@sjrl sjrl requested a review from anakin87 April 23, 2026 11:29
Copy link
Copy Markdown
Member

@anakin87 anakin87 left a comment

Choose a reason for hiding this comment

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

Thank you!

@sjrl sjrl merged commit c73dc4d into main Apr 23, 2026
17 checks passed
@sjrl sjrl deleted the ragas-update branch April 23, 2026 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

integration:ragas topic:CI type:documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ragas integration: bring Python 3.14 support

2 participants