alejandro-ao/langchain-ask-pdf
An AI-app that allows you to upload a PDF and ask questions about it. It uses OpenAI's LLMs to generate a response.
Implements semantic search over PDF content by chunking text and using OpenAI embeddings to retrieve contextually relevant sections before feeding them to the LLM, preventing hallucinations on out-of-scope questions. Built with LangChain for orchestration and Streamlit for the web interface, it constrains model responses to document-grounded answers only.
631 stars. No commits in the last 6 months.
Stars
631
Forks
316
Language
Python
License
—
Category
Last pushed
May 07, 2024
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/alejandro-ao/langchain-ask-pdf"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Compare
Higher-rated alternatives
eellak/glossAPI
Greek Dataset Production from PDF+
mozilla-ai/structured-qa
Blueprint by Mozilla.ai for answering questions about structured documents
KalyanM45/DocGenius-Revolutionizing-PDFs-with-AI
This is a Python application that allows you to load a PDF and ask questions about it using...
leehanchung/llm-pdf-qa-workshop
Introduction to LLM App Development Workshop: PDF Q&A App using OpenAI, Langchain, and Chainlit
pymupdf/langchain-pymupdf4llm
An integration package connecting PyMuPDF4LLM to LangChain