microsoft / sample-app-aoai-chatGPT

Sample code for a simple web chat experience through Azure OpenAI, including Azure OpenAI On Your Data.
MIT License
1.42k stars 2.13k forks source link

Could not enable SANITIZE_ANSWER in Citation Panel #916

Closed karamem0 closed 5 days ago

karamem0 commented 2 weeks ago

Describe the bug I have the document with a link including parameters (e.g. https://www.example.com&abc=123). When I open the Citations Panel, the link is sanitized (e.g. https://www.example.com&abc=123). I want to disable, but the SANITIZE_ANSWER parameter does not effect to Citations Panel.

To Reproduce

  1. Prepare the document with a link https://www.example.com&abc=123.
  2. Enable SANITIZE_ANSWER parameter.
  3. Search the document.
  4. Open Citations Panel.
  5. The link is https://www.example.com&abc=123

Expected behavior The link should be https://www.example.com&abc=123

Screenshots

image

Configuration: Please provide the following

sarah-widder commented 5 days ago

Hi @karamem0 this should be fixed by #944