Azure-Samples / azure-search-openai-demo

A sample app for the Retrieval-Augmented Generation pattern running in Azure, using Azure AI Search for retrieval and Azure OpenAI large language models to power ChatGPT-style and Q&A experiences.
https://azure.microsoft.com/products/search
MIT License
5.91k stars 4.05k forks source link

Adding dynamic changes #1237

Open reshma67 opened 7 months ago

reshma67 commented 7 months ago

How can we update the index dynamically when changes are made to the storage account, such as adding documents?

pamelafox commented 7 months ago

These docs describe how to update the index:

https://github.com/Azure-Samples/azure-search-openai-demo/blob/main/docs/data_ingestion.md

For dynamic updating, I recommend using the Integrated Vectorizer approach, which will soon be enabled in this repo. See https://github.com/Azure-Samples/azure-search-openai-demo/pull/1159

That sets up indexers and skillsets, and indexers can grab new data automatically.