Skip to content

Commit

Permalink
switch azure openai api version to stable version (#640)
Browse files Browse the repository at this point in the history
  • Loading branch information
josStorer committed Mar 5, 2024
1 parent 985adb9 commit c4a537f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/apis/azure-openai-api.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export async function generateAnswersWithAzureOpenaiApi(port, question, session)
await fetchSSE(
`${config.azureEndpoint.replace(/\/$/, '')}/openai/deployments/${
config.azureDeploymentName
}/chat/completions?api-version=2023-03-15-preview`,
}/chat/completions?api-version=2023-05-15`,
{
method: 'POST',
signal: controller.signal,
Expand Down

0 comments on commit c4a537f

Please sign in to comment.