[Bug Fix]: Fix test cases and update version to 0.1.93 (#1303)
This commit is contained in:
@@ -30,6 +30,7 @@ def mock_data():
|
||||
@pytest.fixture
|
||||
def mock_answer_relevance_metric(monkeypatch):
|
||||
monkeypatch.setenv("OPENAI_API_KEY", "test_api_key")
|
||||
monkeypatch.setenv("OPENAI_API_BASE", "test_api_base")
|
||||
metric = AnswerRelevance()
|
||||
return metric
|
||||
|
||||
|
||||
Reference in New Issue
Block a user