fix: Updates to change the Azure OpenAI model from gpt-35-turbo
to gpt-4o
#1665
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
gpt-35-turbo
togpt-4o
across various configuration files, documentation, and test cases. The changes ensure that the new model is consistently referenced throughout the codebase and associated resources.Configuration and Environment Updates:
.env.sample
: UpdatedAZURE_OPENAI_MODEL
andAZURE_OPENAI_MODEL_NAME
togpt-4o
.infra/main.bicep
: Changed default values forazureOpenAIModel
,azureOpenAIModelName
, andazureOpenAIModelVersion
togpt-4o
and2024-05-13
respectively.infra/main.json
: Updated default values forazureOpenAIModel
,azureOpenAIModelName
, andazureOpenAIModelVersion
togpt-4o
and2024-05-13
respectively. [1] [2]Documentation Updates:
README.md
: Updated the default configuration to deploygpt-4o
with version2024-05-13
.docs/LOCAL_DEPLOYMENT.md
,docs/TEAMS_LOCAL_DEPLOYMENT.md
,docs/model_configuration.md
: Updated references togpt-4o
and the corresponding version2024-05-13
. [1] [2] [3]Code Updates:
code/backend/batch/utilities/helpers/env_helper.py
: Changed fallback environment variables togpt-4o
.Test Updates:
code/tests/functional/tests/backend_api/default/test_conversation.py
,code/tests/functional/tests/backend_api/integrated_vectorization_custom_conversation/test_iv_question_answer_tool.py
: Updated mock responses to usegpt-4o
. [1] [2]Does this introduce a breaking change?
How to Test
What to Check
Verify that the following are valid
Other Information