From f4113f038f58845647f361d009e0acfb60570792 Mon Sep 17 00:00:00 2001 From: Dhruv Chawla Date: Fri, 12 Apr 2024 23:11:39 +0530 Subject: [PATCH] Add api_key to init_params --- integrations/uptrain/tests/test_evaluator.py | 1 + 1 file changed, 1 insertion(+) diff --git a/integrations/uptrain/tests/test_evaluator.py b/integrations/uptrain/tests/test_evaluator.py index 4e91c5e30..30e804b2f 100644 --- a/integrations/uptrain/tests/test_evaluator.py +++ b/integrations/uptrain/tests/test_evaluator.py @@ -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)