From d1306bd990b488e76b707926febc8f535f160578 Mon Sep 17 00:00:00 2001 From: Chris Tremblay <62187826+chtrembl@users.noreply.github.com> Date: Tue, 27 Aug 2024 10:29:34 -0400 Subject: [PATCH] Update AzureAIServices.java --- .../chtrembl/petstoreassistant/service/AzureAIServices.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/petstore/petstoreassistant/src/main/java/com/chtrembl/petstoreassistant/service/AzureAIServices.java b/petstore/petstoreassistant/src/main/java/com/chtrembl/petstoreassistant/service/AzureAIServices.java index 0e312e94..69b65d4f 100644 --- a/petstore/petstoreassistant/src/main/java/com/chtrembl/petstoreassistant/service/AzureAIServices.java +++ b/petstore/petstoreassistant/src/main/java/com/chtrembl/petstoreassistant/service/AzureAIServices.java @@ -35,17 +35,17 @@ public class AzureAIServices implements IAzureAIServices { @Value("classpath:json/azurerequests/classificationRequestBody.txt") private Resource classificationRequestBodyResource; String classificationRequestBodyString; - String CLASSIFICATION_URI = "/openai/deployments/azurepetstoreshoppingassistant/chat/completions?api-version=2024-02-15-preview"; + String CLASSIFICATION_URI = "/openai/deployments/azurepetstoreshoppingassistant/chat/completions?api-version=2024-06-01"; @Value("classpath:json/azurerequests/azurepetstoredataCompletionRequestBody.txt") private Resource azurepetstoredataCompletionRequestBodyResource; String azurepetstoredataCompletionRequestBodyString; - String COMPLETION_URI = "/openai/deployments/azurepetstoreshoppingassistant/extensions/chat/completions?api-version=2024-02-15-preview"; + String COMPLETION_URI = "/openai/deployments/azurepetstoreshoppingassistant/extensions/chat/completions?api-version=2024-06-01"; @Value("classpath:json/azurerequests/chatgpt4completionRequestBody.txt") private Resource chatgpt4CompletionRequestBodyResource; String chatgpt4CompletionRequestBodyString; - String CHATGPT4_COMPLETION_URI = "/openai/deployments/azurepetstoreshoppingassistant/chat/completions?api-version=2024-02-15-preview"; + String CHATGPT4_COMPLETION_URI = "/openai/deployments/azurepetstoreshoppingassistant/chat/completions?api-version=2024-06-01"; @Value("classpath:json/azurerequests/semanticSearchRequestBody.txt") private Resource semanticSearchRequestBodyBodyResource;