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.93k stars 4.08k forks source link

Do not show citations when the source file is not PDF #1492

Open mattgotteiner opened 5 months ago

mattgotteiner commented 5 months ago

Please provide us with the following information:

This issue is for a: (mark with an x)

- [X] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Open a citation for any file that's not a PDF (e.g. .docx). Observe that the citation window opens, but it's blank and a file named a GUID is downloaded without any extension. The extension must be added to open the file locally.

Lawndemon commented 5 months ago

I've also noted that the citation only works with PDFs and Word docs. For example, it would be great to have cited websites link correctly.

FranciscoMMendes commented 4 months ago

Is there any update regarding this issue? I am trying to find a way to convert the docx file to pdf before sending it to the frontend as a citation, but I was not able to solve the issue.

bp3000bp commented 3 months ago

Any update on this? PDF is the only thing that works, excel, word, etc do not work in citations tab.

codevladdo commented 2 months ago

experiencing the same issue