genai-stack
genai-stack copied to clipboard
Is it possible to support multiple PDF files in App3 Question / Answer with a local PDF?
Is it possible to support multiple PDF files in App3 Question / Answer with a local PDF?
@tomasonjo I think it should work with a multi-select or and then iterate over the files?
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.