lfoppiano / document-qa

Scientific Document Insight Q/A
https://lfoppiano-document-qa.hf.space/
Apache License 2.0
23 stars 4 forks source link

Add interactive PDF viewer #26

Closed lfoppiano closed 8 months ago

lfoppiano commented 10 months ago
  1. Integrate the streamlit-pdf-viewer (under development)
  2. Change grobid interaction to return coordinates for the text body (now only available for sentences, so we need to find a way to merge them.
  3. Show sentences contributing to the answers on top of the PDF document
  4. Use colours based on ranking from warmer to colder
  5. Chunks are approximated based on the paragraphs, to preserve the original coordinates
image image
lfoppiano commented 9 months ago

@t29mato I've removed the checkbox to show / hide the annotations. Is that OK?

t29mato commented 9 months ago

@t29mato I've removed the checkbox to show / hide the annotations. Is that OK?

Sure!

lfoppiano commented 8 months ago

Quick demo of the current version: https://youtu.be/SEMy0T0XuAo Demo: https://lfoppiano-document-qa-develop.hf.space/

I think, after some tests, we can merge.