fix(evaluator): Add langchain-community dep - #178
Merged
anastasia-nesterenko merged 4 commits intoJun 4, 2026
Merged
Conversation
Contributor
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (2)
📝 WalkthroughWalkthrough
Changeslangchain-community dependency update
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Contributor
|
Signed-off-by: anastasia-nesterenko <anastasia@gretel.ai>
anastasia-nesterenko
force-pushed
the
anesterenko/aircore-723-nvbug-ragas-metrics-fail-no-module-named
branch
from
June 4, 2026 17:40
cc9d433 to
d3ce7b8
Compare
added 2 commits
June 4, 2026 11:41
…fail-no-module-named
…fail-no-module-named
anastasia-nesterenko
enabled auto-merge
June 4, 2026 18:13
…fail-no-module-named
tylersbray
approved these changes
Jun 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes AIRCORE-723 by adding an explicit
langchain-community>=0.3.27,<0.4constraint for evaluator-related installs.ragas==0.3.5importslangchain_community.chat_models.vertexai, which is present inlangchain-community==0.3.27but removed in0.4.x. PyPI installs were resolvinglangchain-community==0.4.2, causing RAGAS metrics to fail before scoring.Changes
langchain-community>=0.3.27,<0.4toservices/evaluator.nemo-platform[evaluator-service]metadata.uv.lockwith only the minimal dependency metadata needed for the new constraint.Validation
Verified the original import failure no longer reproduces:
Built the local nemo-platform wheel and confirmed PyPI metadata now includes:
Ran:
Summary by CodeRabbit
Chores