Azure OpenAI - Create Search Filter

Sadaf 0 Reputation points
2024-04-06T19:14:07.29+00:00

Hi

I have developed an integrated pipeline leveraging Azure AI Search and Azure OpenAI. Utilizing the REST API, I have been initiating requests to Azure OpenAI, specifying the Index within the data sources section.

I am using filter for on search results, there is one field in index being used for filtering, It may have a large number of list of values. Is there a feature in Azure Open AI I can create the named filter , and refer that filter in Azure OpenAI REST API?

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
2,190 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Vahid Ghafarpour 17,875 Reputation points
    2024-04-06T19:30:26.5266667+00:00

    Thanks for posting your question in the Microsoft Q&A forum.

    While Azure OpenAI itself doesn’t directly provide a feature for creating named filters, you can handle this at the application level. Consider creating a configuration or mapping that associates filter names with specific filter conditions. For example, you could maintain a dictionary or lookup table where each filter name corresponds to a set of filter rules.

    ** Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful **

    0 comments No comments