Skip to content

Commit 8fe7be6

Browse files
committed
chore: update openai api version
1 parent 2e808c7 commit 8fe7be6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/indexer/src/plugins/openai.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export type OpenAiService = {
1212
};
1313
};
1414

15-
const AZURE_OPENAI_API_VERSION = '2023-05-15';
15+
const AZURE_OPENAI_API_VERSION = '2024-02-01';
1616
const AZURE_COGNITIVE_SERVICES_AD_SCOPE = 'https://cognitiveservices.azure.com/.default';
1717

1818
export default fp(

packages/search/src/plugins/openai.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export type OpenAiService = {
1313
};
1414
};
1515

16-
const AZURE_OPENAI_API_VERSION = '2023-05-15';
16+
const AZURE_OPENAI_API_VERSION = '2024-02-01';
1717
const AZURE_COGNITIVE_SERVICES_AD_SCOPE = 'https://cognitiveservices.azure.com/.default';
1818

1919
export default fp(

0 commit comments

Comments
 (0)