Error 400, message='model_error' when adding my own data in OpenAI assistant setup

Uendi Kodheli 5 Reputation points
2023-07-05T10:41:53.0933333+00:00

I try to setup the assistant in the OpenAI chat completion playground with my own data, using the option "Add your data (Preview)". I tried different types of files (txt, pdf, md) with text contents (paragraphs or q&a). I tried to add the datasource in different ways, using the 3 options: Upload files, Azure blob storage and Azure Cognitive search. The datasource loads, but when I try to use the chat session by asking a question, instead of an answer, I receive this message <Error 400, message='model_error', url=URL(...) LLM call failed for chat completion endpoint. Please set OAIGenerationConfig(is_chat=True)>. The URL contains the following information: {"error":{"code":"404","message": "Resource not found"}}.

What could I do to fix this error?

Azure AI Search
Azure AI Search
An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
1,151 questions
Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
3,539 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Ziggy Zulueta 490 Reputation points MVP
    2023-07-05T16:37:20.4033333+00:00

    I am assuming that you are just using the Open AI Studio and not doing any code programming..

    Have you tried redeploying in another region? I get weird issues myself in one region EAST US and did not get any in Europe.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.