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

Is it possible to support multiple PDF files in App3 Question / Answer with a local PDF? #117

Open
sense1024 opened this issue Jan 15, 2024 · 2 comments

Comments

@sense1024
Copy link

Is it possible to support multiple PDF files in App3 Question / Answer with a local PDF?

@jexp
Copy link
Collaborator

jexp commented Jan 24, 2024

@tomasonjo I think it should work with a multi-select or and then iterate over the files?

@tomasonjo
Copy link
Collaborator

We have tried this. I think that streamlit supports multiple files. You need to set pdf = st.file_uploader("Upload your PDF", type="pdf", accept_multiple_files=True) and then generate a single list with the text chunks from all PDFs and pass it to Neo4jVector index using from_texts method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants