Skip to content

Commit

Permalink
Add api_key to init_params
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominastorm committed Apr 12, 2024
1 parent 707cda8 commit f4113f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions integrations/uptrain/tests/test_evaluator.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ def test_integration_run(metric, inputs, metric_params):
"metric": metric,
"metric_params": metric_params,
"api": "openai",
"api_key": Secret.from_env_var("OPENAI_API_KEY"),
}
eval = UpTrainEvaluator(**init_params)
output = eval.run(**inputs)
Expand Down

0 comments on commit f4113f0

Please sign in to comment.