Add your own data source

Completed

Adding your data is done through the Azure OpenAI Studio, in the Chat playground. The data source you add is then used to augment the prompt sent to the model. When adding your data, you can choose to upload your data files, use data in a blob storage account, or connect to an existing AI Search index.

If you're uploading or using files already in a storage account, Azure OpenAI on your data supports .md, .txt, .html, .pdf, and Microsoft Word or PowerPoint files. If any of these files contain graphics or images, the response quality depends on how well text can be extracted from the visual content.

When uploading data or connecting to files in a storage account, it's recommended to use the Azure OpenAI Studio to create the search resource and index. Adding data this way allows the appropriate chunking to happen when inserting into the index, yielding better responses. If you're using large text files or forms, you should use the available data preparation script to improve the AI model's accuracy.

Enabling semantic search for your AI Search service can improve the result of searching your data index and you're likely to receive higher quality responses and citations. However, enabling semantic search may increase the cost of the search service.

Connect your data

To connect your data, navigate to the Chat playground in Azure OpenAI Studio and select the Add your data tab in the Assistant setup pane. Select the Add a data source button to get your data connected. The prompts guide you through setting up the connection to each data source, and getting that data into a search index.

If you're using your own index that wasn't created through Azure OpenAI Studio, one of the pages allows you to specify your column mapping. It's important to provide accurate fields, to enable the model to provide a better response, especially for Content data.

Screenshot of Azure OpenAI Studio index field mapping.