Chat Playground: Error: Query_type: Input should be 'simple', 'semantic', 'vector', 'vector_simple_hybrid' or 'vector_semantic_hybrid' and index_name: Input should be a valid string

Teshima, Joe 95 Reputation points
2024-07-31T08:20:45.8066667+00:00

Azure AI Studio:

I created a project and hub:
learn0

Then I went to the chat playground added my own data and created an index selected it and tried it and got the error:

Validation error at #/data_sources/0/azure_search/parameters/index_name: Input should be a valid string Validation error at #/data_sources/0/azure_search/parameters/query_type: Input should be 'simple', 'semantic', 'vector', 'vector_simple_hybrid' or 'vector_semantic_hybrid'

This error started happening in the last 7-10 days. I just checked yesterday when I noticed this error.
learn1

When I check the payload below in the request I noticed this:
Its passing index_name: null and query_type: "vectorSimpleHybrid" which is inline with the errors i'm seeing above.

The chatbot is not passing the index_name and the query_type is being passed as camelCase when it is expecting snake_case
learn2

Has anyone else seen this in the chat playground? What can I do?

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,294 questions
Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
3,984 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,445 questions
{count} votes

Accepted answer
  1. YutongTie-MSFT 53,956 Reputation points Moderator
    2024-08-01T23:04:46.5766667+00:00

    Hello everyone,

    Thanks for reaching out to us and reporting this issue. I just escalated this issue to product team and it has been recognized as an ongoing issue. Product team is investigating on this issue and I will let you know once I get any response.

    Will update here daily until resolved.

    I hope this helps.

    Regards,

    Yutong

    -Please kindly accept the answer if you feel helpful to support the community, thanks a lot.

    2 people found this answer helpful.

4 additional answers

Sort by: Most helpful
  1. Karl Hindson 45 Reputation points
    2024-08-02T09:03:51.2+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 workaround helps other too.

    6 people found this answer helpful.

  2. Ryan Krinjeck 40 Reputation points
    2024-07-31T13:21:24.5466667+00:00

    Same problem here. It started yesterday and I can't find anything to assist.

    1 person found this answer helpful.

  3. VICTOR MANUEL MONDRAGON MACA 0 Reputation points
    2024-07-31T14:23:35.06+00:00

    User's image

    Persiste el error, he revisado las fuente de datos, creado nuevos datos de prueba e indexs , pero persiste. De igual forma, el día de ayer funcionaba.


  4. VICTOR MANUEL MONDRAGON MACA 0 Reputation points
    2024-08-06T21:10:38.5966667+00:00

    User's image

    when deploying AppWeb from "Deploy to a web app" the attached image still fails. This error is also subsequent to last week's incident.

    Any ideas on how to solve it?


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.