Azure search

Poornima Baddi 0 Reputation points
2024-09-30T09:08:22.6833333+00:00

Hi,

I have created the index with help of this https://learn.microsoft.com/en-us/azure/search/search-get-started-portal.

I was able to create the index successfully. But I was not able to get this index in "Add you datasection " of "Chat Playground". I am getting below error. When I clicked on "Fix me", nothing is happening.

User's image

When I searched I got this link

https://learn.microsoft.com/en-gb/answers/questions/1879227/how-do-i-change-metadata-for-this-connection , But I was not able to find, in the data source page, "Metadata" tab.

User's image

How to get this Metadata and what meta data need to add to get the index in chat playground

Regards,

Poornima

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,756 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. brtrach-MSFT 16,271 Reputation points Microsoft Employee
    2024-10-01T01:51:52.6033333+00:00

    @Poornima Baddi To add an Azure Search index to the "Add your data" section of the Chat Playground, you need to provide some metadata about your index. Specifically, you need to provide the name of the index, the name of the Azure Search service, and the API key for the service.

    To get the metadata for your index, you can follow these steps:

    1. Go to the Azure portal and navigate to your Azure Search service.
    2. Click on the "Keys" tab and copy the "Primary Admin Key".
    3. Go to the "Overview" tab and copy the "Service name".
    4. Go to the "Indexes" tab and copy the name of the index you created.

    Once you have this information, you can add it to the metadata for your connection in the Chat Playground. To do this, follow these steps:

    1. Go to the "Connections" tab in the Chat Playground.
    2. Click on the connection you created for your Azure Search service.
    3. Click on the "Edit" button.
    4. In the "Metadata" section, add the following properties:
         { "indexName": "<name of your index>", "searchServiceName": "<name of your Azure Search service>", "apiKey": "<your Azure Search service API key>" }
      
    5. Click on the "Save" button.

    After you have added this metadata, you should be able to see your index in the "Add your data" section of the Chat Playground.


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.