fix: Updated Client Advisor to use gpt-4o-mini model #410
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Purpose
This pull request includes several updates to the
ClientAdvisor/AzureFunction
and related deployment files. The changes primarily focus on updating dependencies, refactoring code for better readability and maintainability, and modifying deployment configurations.Code Refactoring and Improvements:
function_app.py
.greeting
method inChatWithDataPlugin
to useinput
directly instead of splitting it, and updated the function name toGreetingsResponse
.get_answers_from_calltranscripts
to catch exceptions and return error messages.Dependency Updates:
openai
version to 1.64.0 andsemantic_kernel
version to 1.21.3 inrequirements.txt
.Deployment Configuration Changes:
gpt-4
togpt-4o-mini
in multiple deployment files (deploy_app_service.bicep
,deploy_azure_function.bicep
,deploy_azure_open_ai.bicep
,main.bicep
). [1] [2] [3] [4]gpt-4o-mini
model is available inmain.bicep
.Prompt and Response Adjustments:
function_app.py
andmain.bicep
. [1] [2] [3] [4]Does this introduce a breaking change?
Golden Path Validation
Deployment Validation
What to Check
Verify that the following are valid
Other Information