#model_not_found

1 messages · Page 1 of 1 (latest)

woeful grove
#

I continue to have issues with the api returning this code.

is this the right payload?

final requestPayload = {
'model': 'gpt-4-vision',
'input': 'data:image/jpeg;base64,$base64Image',
'instructions': 'Can I park here?',
'max_tokens': 50
};

  final response = await http.post(
    Uri.parse('https://api.openai.com/v1/vision'),
    headers: {
dark meteorBOT
#

Hi @woeful grove. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

Based on the knowledge sources provided, it seems that you're trying to use a model named 'gpt-4-vision' which might not exist or you do not have access to it. The error 'model_not_found' typically occurs when the model specified in the request does not exist or the user does not have access to it.

The payload you're using seems to be for an image-related task, but the model 'gpt-4-vision' does not appear in the provided knowledge sources. OpenAI has a range of models for different tasks, and it's important to ensure that the model you're using is suitable for the task and is available for use.

If you're trying to use a GPT-4 model, please note that as per the forum posts in the knowledge sources, some users have reported issues with using GPT-4 models, receiving similar 'model_not_found' errors. It's possible that these models are not yet available for use via the API.

I would recommend checking the OpenAI API documentation (https://platform.openai.com/docs/api-reference) to ensure that the model you're trying to use is available and suitable for your task. If you continue to experience issues, it may be helpful to reach out to OpenAI support or the OpenAI community for further assistance.

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:

#

@woeful grove kapa.ai is still learning and improving, please let us know how it did by reacting below

regal lotus