Azure AI studio - Validation error when using "Add Your Data"

Kerstan Navarro 30 Reputation points
2024-07-31T10:01:47.3966667+00:00

User's image

I am encountering this validation error when trying to chat with my data via the Azure AI Studio Chat Playground. Index data is composed of plaintext files. It is able to answer my queries when using the Q&A prompt flow template. I am only encountering the error while using the chat playground.

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
3,066 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,848 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Karl Hindson 45 Reputation points
    2024-08-02T09:19:49.5633333+00:00

    I found a work around by coming out of the project, out of the hub and back to the root of AI Studio. Here you can select 'Resources and Keys'.

    Select the ai resource you've been working with:

    AIStudioRoot

    Once you select it, you will be taken to the 'Chat' section of AI Playground where you can select your deployment and add you data:

    working chat

    When adding the data source, I selected 'Azure AI Search', selected my 'AI Search Service', then the 'AI Search index', I selected 'Add vector', then selected the 'Embedding model' and clicked 'Next' In 'Data Management' Search Type = Hybrid + Semantic, selected my existing search config and clicked 'Next' In Data connection I selected 'API key' and clicked 'Next' In 'Review and finish' I verified all looked good, clicked 'Save and close'

    This takes you back to the Chat Playground, I was able to enter my system message and then successfully test the chat with no error.

    Hoping this temp workaround helps other too.

    1 person found this answer helpful.
    0 comments No comments

  2. AzureAce 102 Reputation points
    2024-07-31T11:53:23.76+00:00

    Hi @Kerstan Navarro

    Thank you for posting this in Microsoft Q&A.

    I understand that you are encountering a validation error in Azure AI Studio’s Chat Playground. The error message suggests that the ‘index_type’ parameter is not one of the expected values: ‘ada’, ‘babbage’, ‘curie’, or ‘davinci’.

    This error typically occurs when the ‘index_type’ parameter in your settings does not match one of the allowed values. You might want to check your settings and ensure that the ‘index_type’ is set to one of the allowed values (‘ada’, ‘babbage’, ‘curie’, or ‘davinci’).

    If you continue to experience issues, it may be helpful to reach out to Azure Support for further assistance. They have access to more detailed logs and can provide more specific guidance.

    Hope this helps. Do let us know if you have any further queries.
    Please accept as "Yes" if the answer is helpful, so that it can help others in the community.


  3. YutongTie-MSFT 51,726 Reputation points
    2024-08-02T17:20:00.5166667+00:00

    Hello everyone,

    This is an ongoing issue which has been acknowledged by product team and under investigation.

    Currently there is no update from product team end. Since it's Friday today, I would look forward to an update on Monday.

    Luckily @Karl Hindson found a temporarily workaround which works for some other customers too as below -

    Coming out of the project, out of the hub and back to the root of AI Studio. Here you can select 'Resources and Keys'.

    Select the ai resource you've been working with:

    AIStudioRoot

    Once you select it, you will be taken to the 'Chat' section of AI Playground where you can select your deployment and add you data:

    working chat

    When adding the data source, I selected 'Azure AI Search', selected my 'AI Search Service', then the 'AI Search index', I selected 'Add vector', then selected the 'Embedding model' and clicked 'Next' In 'Data Management' Search Type = Hybrid + Semantic, selected my existing search config and clicked 'Next' In Data connection I selected 'API key' and clicked 'Next' In 'Review and finish' I verified all looked good, clicked 'Save and close'

    This takes you back to the Chat Playground, I was able to enter my system message and then successfully test the chat with no error.

    I hope this workaround can help more customers, and thanks to Karl again for sharing this.

    More update will be shared if there is one from product team.

    Regards,

    Yutong

    -Please kindly accept the answer so that useful information can be seen by more people.


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.