-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow passing in required project_name (#445)
* Allow passing in required project_name UpTrain requires a project_name when using its API whereas openai does not. The integration will crash if no project_name is included. This will allow for an eval declaration like so: evaluator = UpTrainEvaluator( metric=UpTrainMetric.METRIC, api="uptrain", project_name="uptrain-project", ) * comments + assert test * Update integrations/uptrain/src/haystack_integrations/components/evaluators/uptrain/evaluator.py * fix tests --------- Co-authored-by: Massimiliano Pippi <[email protected]>
- Loading branch information
Showing
3 changed files
with
25 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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