-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update OpenAI image query default model to GPT-4o #802
Changes from all commits
1146304
078f0f1
4337dbc
2ab50d1
2aed4eb
5759d76
75525d2
1657bbd
2343922
6d23c67
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
AzureOpenAiChatPromptDriver, | ||
AzureOpenAiEmbeddingDriver, | ||
AzureOpenAiImageGenerationDriver, | ||
AzureOpenAiVisionImageQueryDriver, | ||
AzureOpenAiImageQueryDriver, | ||
BasePromptDriver, | ||
BaseEmbeddingDriver, | ||
BaseImageGenerationDriver, | ||
|
@@ -41,7 +41,7 @@ class AzureOpenAiStructureConfig(StructureConfig): | |
prompt_driver: BasePromptDriver = field( | ||
default=Factory( | ||
lambda self: AzureOpenAiChatPromptDriver( | ||
model="gpt-4", | ||
model="gpt-4o", | ||
azure_endpoint=self.azure_endpoint, | ||
api_key=self.api_key, | ||
azure_ad_token=self.azure_ad_token, | ||
|
@@ -69,8 +69,8 @@ class AzureOpenAiStructureConfig(StructureConfig): | |
) | ||
image_query_driver: BaseImageQueryDriver = field( | ||
default=Factory( | ||
lambda self: AzureOpenAiVisionImageQueryDriver( | ||
model="gpt-4", | ||
lambda self: AzureOpenAiImageQueryDriver( | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. can you update the model to There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sick, will do. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. as well as the prompt driver too There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. do we need a similar Azure deployment note here for GPT-4o? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nope, |
||
model="gpt-4o", | ||
azure_endpoint=self.azure_endpoint, | ||
api_key=self.api_key, | ||
azure_ad_token=self.azure_ad_token, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AZURE_OPENAI_ENDPOINT_3
andAZURE_OPENAI_API_KEY_3
can be changed to use_2
, and the model and azure_deployment can be changed togpt-4o
. sorry should have clarified this.