Azure Open AI Studio not filtering any data when the cognitive search index has a mixture of string and double values.

Anonymous
2023-06-30T16:58:27.91+00:00

Azure Open AI Studio not filtering any data when the cognitive search index has a mixture of string and double values. When it is just string then azure open ai is able to query but it gives all useless data and does not filter appropriately as it perform’s string comparison for numeric values.

 

Sample of the issue when cognitive search index has both string and double fields that is attached to azure open ai studio.

Cognitive search field mapping.

User's image

Cognitive search field mapping.

User's image

Sample filter check.

User's image

Azure Open AI studio setup to bring in cognitive search‘s index

User's image

Mapping only searching fields (string)… as other fields will give an error in openai if selected.

User's image

User's image

In this case chat will not fund anything. If the index was all string then it would work but would give all incorrect results as the field’s data comparison is all text based then.

User's image

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
{count} vote

1 answer

Sort by: Most helpful
  1. romungi-MSFT 49,096 Reputation points Microsoft Employee Moderator
    2023-08-23T08:48:01.78+00:00

    @Anonymous Apologies for delayed response. I have confirmation that the service only support string values in the index with Azure OpenAI. Thanks!!

    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    0 comments No comments

Your answer

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