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.44k stars 2.15k forks source link

Citation not showing "png" or "jpg" screenshot data from a pdf file #841

Open shivangisharma991 opened 2 months ago

shivangisharma991 commented 2 months ago

Describe the bug The citation panel is displaying blank when there is a png or jpg image embedded in a pdf reference file

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Reference section'
  2. Click on 'reference document'
  3. Scroll down to '.the section of file where image is and you will see it is coming as blank'
  4. See error

Expected behavior Should show content of images as well

Screenshots If applicable, add screenshots to help explain your problem.

Configuration: Please provide the following

Additional context Add any other context about the problem here.