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
552 stars 345 forks source link

Citations File names are not consistent. #249

Open premsonbaby opened 7 months ago

premsonbaby commented 7 months ago

error

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

Upload document sources.

Any log messages given by the failure

When the wrong file name created by system - "BlobNotFoundThe specified blob does not exist. RequestId:4a678a30-901e-0028-712b-2814d8000000 Time:2023-12-06T10:07:06.2566378Z"

Expected/desired behavior

The Citations links should show relevant file parts.

OS and Version?

Windows 11.

Versions

Mention any other details that might be useful

It looks like the logic that creates the Citations file link is inconsistent, it creates the correct link sometimes but not always. Please see the attached image. The actual source file name is "GovernanceManualForPrimarySchools20232027.pdf"