Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scroll to specific pages #24

Open
lfoppiano opened this issue Feb 13, 2024 · 5 comments
Open

Scroll to specific pages #24

lfoppiano opened this issue Feb 13, 2024 · 5 comments
Labels
frontend Part related to the Javascript frontend component implemented

Comments

@lfoppiano
Copy link
Owner

I opened a new issue to discuss what was mentioned in #22 (comment).

Is it possible to scroll down a specified page?

One possible use case could be that the user wants to link information extracted from the document with specific pages.

@lfoppiano lfoppiano added the frontend Part related to the Javascript frontend component label Feb 21, 2024
@Odrec
Copy link

Odrec commented Mar 1, 2024

In my use case this will be really helpful

@Odrec
Copy link

Odrec commented Mar 5, 2024

Additionally to this, it would be nice if we can navigate to a specific annotation. I'm using streamlit_pdf_viewer with an llm to ask questions about a set of pdfs and making annotations about the sources for the answers. So I display the sources along with the chat response. But if a user has several PDFs, it's complicated to navigate to all of them and search for the annotations. If there was a way to navigate to where an annotation is (at least the page) in a PDF that would work really nicely.

@lfoppiano
Copy link
Owner Author

@lfoppiano
Copy link
Owner Author

lfoppiano commented Aug 18, 2024

@Odrec I've released version 0.0.18-dev0 that should implement this feature. Please have a go and let me know if you have feedback.

Please see here, and here for more details.

@ghirardinicola
Copy link

Tested and worked fine for me, waiting for the stable release ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend Part related to the Javascript frontend component implemented
Projects
None yet
Development

No branches or pull requests

3 participants