Skip to content

Commit

Permalink
chore: update openai api version
Browse files Browse the repository at this point in the history
  • Loading branch information
sinedied committed Apr 4, 2024
1 parent 2e808c7 commit 8fe7be6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/indexer/src/plugins/openai.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export type OpenAiService = {
};
};

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

export default fp(
Expand Down
2 changes: 1 addition & 1 deletion packages/search/src/plugins/openai.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export type OpenAiService = {
};
};

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

export default fp(
Expand Down

0 comments on commit 8fe7be6

Please sign in to comment.