Skip to content

Commit 6990e59

Browse files
committed
add deprecated information message
1 parent 5dea88e commit 6990e59

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
from azure.identity import DefaultAzureCredential, get_bearer_token_provider
22
from openai import AzureOpenAI
33

4-
4+
## It will be deprecated in the future
5+
## Open AI SDK -> Semaantic Kernel
56
def get_openai_client(azure_openai_endpoint: str) -> AzureOpenAI:
67
credential = DefaultAzureCredential()
78
token_provider = get_bearer_token_provider(
@@ -10,5 +11,5 @@ def get_openai_client(azure_openai_endpoint: str) -> AzureOpenAI:
1011
return AzureOpenAI(
1112
azure_endpoint=azure_openai_endpoint,
1213
azure_ad_token_provider=token_provider,
13-
api_version="2024-10-01-preview",
14+
api_version="2024-10-21",
1415
)

0 commit comments

Comments
 (0)