Skip to content

Azure OpenAI gpt-4 version turbo-2024-04-09 responses are cut off for vision queries #2607

Closed Answered by danny-avila
illgitthat asked this question in Troubleshooting
Discussion options

You must be logged in to vote

For Azure config, the identifying name for the model is important to get the right context length.

Your config probably looks like this:

    - group: "some-region"
      apiKey: "${some_api_key_var}"
      instanceName: "some-instance-name"
      version: "2024-03-01-preview"
      deploymentName: "gpt-35-turbo"
# the keys of the models object are the identifying names
      models:
        gpt-4:
          deploymentName: "gpt-4"
# or if boolean value 
      models:
        gpt-4: true

What you should do, is keeping everything the same, change the key identifying name under models to gpt-4-turbo:

    - group: "some-region"
      apiKey: "${some_api_key_var}"
      instanceName: "some-ins…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@illgitthat
Comment options

Answer selected by illgitthat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2604 on May 02, 2024 20:18.