Azure OpenAI On Your Data with Semantic Kernel

Table of Contents
Upload data to Azure AI Search
To upload data to Azure AI Search, go to Azure OpenAI Studio Chat Playground, select Add your data tab, and click on Add a data source button. Choose Subscription, Azure Blob storage, Azure AI Search service, and specify your index name. Make sure to enable Add vector search to this search resource. Follow the on-screen instructions to upload your files to Azure AI Search.
Accessing your data with Semantic Kernel
To access your data with Semantic Kernel, create a new console application and add Semantic Kernel as a dependency. Configure the required environment variables and add the Azure OpenAI chat completion service to your application.
Next, create an instance of chat extension configuration with Azure AI Search Endpoint, API key, and index name. Pass this configuration to the method to integrate it with Azure AI Search service. You can now ask questions specific to your data and receive responses with information from Azure AI Search.