After adding custom data (pdf), chat prompt responds code":"FeatureNotSupportedInService","message":"Semantic search is not enabled for this service

Thatha Sudeesh (RBEI/EIS) 55 Reputation points
2023-09-04T09:14:44.66+00:00

Hi,

  1. I deployed a model in Azure UI using gpt-35-turbo-16kModel with 0613 version.
  2. Created a storage account and uploaded PDF data as a blob container
  3. Created a Cognitive Search service
  4. In Chat playground Assistant Setup, I created custom data by linking the all above. I also enabled Semantic services for this.
  5. All the above activities were completed successfully.

When I enter the question in chat prompt, I get the below error message.

(400, 'message='Server responded with status 400. Error message: {"error":{"code":"FeatureNotSupportedInService","message":"Semantic search is not enabled for this service.\r\nParameter name: queryType","details":[{"code":"SemanticQueriesNotAvailable","message":"Semantic search is not enabled for this service."}]}}', url=URL('https://smt-openai-cognitive-search-service.search.windows.net/indexes/data-supportfile-20230904085119-7ffc-index-chunk/docs/search?api-version=2021-04-30-Preview')\nCall%5CnCall) to Azure Search instance failed.\nAPI Users: Please ensure you are using the right instance, index_name and provide admin_key as the api_key.\n')

I checked again, the semantics property is enabled.

I thought, this might be related to the resourcegoup location. I removed and created resources in a different location, still error persists.

someone suggest, how to address this error.

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

3 answers

Sort by: Most helpful
  1. Gabriel Susai 35 Reputation points
    2023-09-26T14:23:41.74+00:00

    @Nandakumar Nair As Ashok mentioned make sure your service is available in your region.

    1. For example, the below diagram show the Semantic Search is available in preview mode in East US

    User's image

    1. Second, you need to enable the Semantic search (under Settings) in Azure Search Service. After you select the semantic search, select the appropriate plan. Free will allow you to make 1,000 request per month. Use the search below your service in case if you can't locate the Semantic search menu.

    User's image

    1. After this if you add documents in the AI studio and index them, it will work.
    3 people found this answer helpful.

  2. AshokPeddakotla-MSFT 35,971 Reputation points Moderator
    2023-09-04T15:57:21.04+00:00

    Thatha Sudeesh (RBEI/EIS) Greetings!

    I understand that you have already checked and configured the semantic search.

    As per the error message semantic search is not enabled for the service.

    Could you also confirm whether the service region supports semantic search:

    1. Find your service region in the overview page in the Azure portal.
    2. Check the Products Available by Region page on the Azure web site to see if your region is listed.
    1 person found this answer helpful.

  3. Gabriel Susai 35 Reputation points
    2023-09-21T19:32:05.22+00:00

    @Thatha Sudeesh (RBEI/EIS) Check if these two keys have appropriate values. If you still face the issue, create a new index with the files and redeploy the website. This should solve the problem.

    User's image

    0 comments No comments

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.