microsoft / PubSec-Info-Assistant

Information Assistant, built with Azure OpenAI Service, Industry Accelerator
MIT License
266 stars 525 forks source link

Fix work web citation context on compare #636

Closed dayland closed 2 months ago

dayland commented 2 months ago

This PR fixes an issue where the context of which source content was actually cited in an answer from the LLM was lost. Since the focus in "Compare with Web" or "Compare with Work" is on the summarized answer on top of both the original work and web answers the code needed to be updated to maintain the chain of thought of those original answer to be able to identify which source content items were actually cited by the LLM responses.

Fixes AB#7369 Fixes AB#7371