How venu-16/askmypdf works
AskMyPdf is a small Streamlit app for asking questions about an uploaded PDF. Its main workflow indexes the PDF, then retrieves and displays relevant passages for each question. The app coordinates loading, chunking, embedding, indexing, and retrieval. Source excerpts show these calls in app.py; the README names the product but documents no additional capabilities.
Main entry points: app.py Streamlit app · documentloader.py PDF loader · TextSplitter.py Text splitter · Embeddings.py Embedding model
Components 7
User interface
- Streamlit app
app.py
PDF indexing
- PDF loader
utils/documentloader.py - Text splitter
utils/TextSplitter.py - Embedding model
utils/Embeddings.py - FAISS index
utils/vectoreStore.py
Question search
- Passage retriever
utils/Retriver.py
Other components
- User
Connections 8
- User → Streamlit app: uploads PDF
app.py - User → Streamlit app: asks question
app.py - Streamlit app → PDF loader: loads PDF
app.py - Streamlit app → Text splitter: splits documents
app.py - Streamlit app → Embedding model: gets embeddings
app.py - Streamlit app → FAISS index: creates index
app.py - Streamlit app → Passage retriever: searches passages
app.py - Streamlit app → User: displays results
app.py