Skip to content

Commit d5ad959

Browse files
authored
force default aoai version (#40917)
* force default aoai version * new recordings
1 parent c572fa7 commit d5ad959

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sdk/evaluation/azure-ai-evaluation/assets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"AssetsRepo": "Azure/azure-sdk-assets",
33
"AssetsRepoPrefixPath": "python",
44
"TagPrefix": "python/evaluation/azure-ai-evaluation",
5-
"Tag": "python/evaluation/azure-ai-evaluation_d585f1f45d"
5+
"Tag": "python/evaluation/azure-ai-evaluation_2b7d360048"
66
}

sdk/evaluation/azure-ai-evaluation/azure/ai/evaluation/_aoai/aoai_grader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def get_client(self) -> Any:
7777
return AzureOpenAI(
7878
azure_endpoint=self._model_config["azure_endpoint"],
7979
api_key=self._model_config.get("api_key", None), # Default-style access to appease linters.
80-
api_version=self._model_config.get("api_version", DEFAULT_AOAI_API_VERSION),
80+
api_version=DEFAULT_AOAI_API_VERSION, # Force a known working version
8181
azure_deployment=self._model_config.get("azure_deployment", ""),
8282
)
8383
from openai import OpenAI

0 commit comments

Comments
 (0)