Azure-Samples / azure-search-openai-demo-csharp

A sample app for the Retrieval-Augmented Generation pattern running in Azure, using Azure Cognitive Search for retrieval and Azure OpenAI large language models to power ChatGPT-style and Q&A experiences.
MIT License
551 stars 345 forks source link

Delete existing documents #314

Open bwalker5 opened 2 months ago

bwalker5 commented 2 months ago

What's the recommended method for deleting existing sample documents and indexing new ones? I deleted files out of the blob container which removed them from the app since there doesn't appear to be a delete option. Then I uploaded new files, deleted the existing index and re-created the index. This indexed the new files, but when I try to open the PDF linked citations in the chat, I get errors that the blob resource isn't found even though the PDF files were chunked and searchable in the chat.

ahass commented 1 week ago

Very good question. Still have the same problem...