├── .python-version ├── .env.example ├── docs └── PDF-LangChain.jpg ├── requirements.txt ├── htmlTemplates.py ├── readme.md ├── .gitignore └── app.py /.python-version: -------------------------------------------------------------------------------- 1 | 3.9 2 | -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- 1 | OPENAI_API_KEY= 2 | HUGGINGFACEHUB_API_TOKEN= 3 | -------------------------------------------------------------------------------- /docs/PDF-LangChain.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zaradarz/ask-multiple-pdfs/HEAD/docs/PDF-LangChain.jpg -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | langchain==0.0.184 2 | PyPDF2==3.0.1 3 | python-dotenv==1.0.0 4 | streamlit==1.18.1 5 | openai==0.27.6 6 | faiss-cpu==1.7.4 7 | altair==4 8 | tiktoken==0.4.0 9 | # uncomment to use huggingface llms 10 | # huggingface-hub==0.14.1 11 | 12 | # uncomment to use instructor embeddings 13 | # InstructorEmbedding==1.0.1 14 | # sentence-transformers==2.2.2 -------------------------------------------------------------------------------- /htmlTemplates.py: -------------------------------------------------------------------------------- 1 | css = ''' 2 |