Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

--- README.md (excerpt) ---

"PDF Chatbot with AWS Bedrock or Ollama"

Upload any PDF and ask questions powered by Claude 3 Sonnet (Bedrock) or local LLMs via Ollama. Choose provider via dropdown.

🚀 Getting Started:

- pip install -r requirements.txt

- Setup either AWS Bedrock credentials or Ollama locally

- streamlit run app.py

Want to build this for your business? Reach out on LinkedIn.

pdf-chatbot

📘 Project: PDF Q&A Bot using AWS Bedrock + LangChain + Ollama

""" Ask questions over PDFs using Claude 3 (via AWS Bedrock) or local Ollama models with automatic chunking and semantic search. """

🧱 Tech Stack:

- AWS Bedrock (Claude 3 Sonnet or Titan)

- Ollama (Mistral, LLaMA, etc.) for local fallback

- LangChain for RAG flow

- PyPDF2 for PDF parsing

- FAISS for vector store (in-memory)

- Streamlit for UI (or optional CLI)

✅ Repo Structure:

- app.py # Main Streamlit app

- qa_engine.py # Embedding, vector store, and model interface

- utils.py # PDF parsing and preprocessing

- requirements.txt # Dependencies

- README.md # Project overview & instructions

About

Interact with your PDF documents using natural language. Upload a PDF and ask questions powered by local LLMs through Ollama or AWS Bedrock.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages