Create an Index in Azure AI Search
Detailed instructions are available in the Microsoft Documentation
In summary, to create an index in Azure Open AI Search, follow these steps:
- Go to the Azure portal at https://portal.azure.com/.
- Click on the Azure Open AI Search service that you created earlier.
- Click on the "Import and vectorize data" tab.
- Choose one of the available data sources. These instructions assume you choose "Azure Data Lake Storage Gen 2".
- Choose the storage account and blob container that hold your documents.
- Click on the "Next" button.
- Choose the name of the Azure OpenAI service you created earlier.
- Choose the embedding model you deployed earlier (e.g.
text-embedding-ada-002
).
- Ensure the Authentication type is set to "API key".
- Check the box to acknowledge the cost warning.
- Click on the "Next" button.
- Click on the "Next" button.
- Under Index fields, choose "Preview and edit".
- Click on the "Add new" button.
- In the new field under Source column, choose
metadata_storage_path
.
- Click the "Save" button.
- Click the "Next" button.
- Click the "Create" button.
- Close the "Create succeeded" dialog.