AI-Powered PDF Summarization & Q&A Tool
QuickBrief is an intelligent agent that ingests PDFs, extracts key information, generates summaries, and answers questions about the document content. Built with LangChain and NVIDIA AI models, it provides fast, accurate insights from your documents.
- Document Ingestion: Loads PDFs and text files from a directory.
- Smart Summarization: Generates concise yet detailed summaries.
- Q&A Capabilities: Answers questions based on document content.
- Vector Search: Uses FAISS for efficient document retrieval.
- Auto-Summarization: Optionally summarizes documents on first interaction.
- LangChain (Document processing, retrieval, agent orchestration)
- FAISS (Vector similarity search)
- Pydantic (Configuration & data validation)
nvidia/nv-embedqa-e5-v5(NVIDIA Embeddings for semantic search)
meta/llama-4-maverick-17b-128e-instruct(via NVIDIA AI Endpoints)
- Python 3.10+
- NVIDIA API Key (for
ChatNVIDIA) - Required packages (
langchain,faiss-cpu,pypdf, etc.)
-
Clone the repository:
git clone https://github.com/your-repo/QuickBrief.git cd QuickBrief -
Install dependencies:
pip install -r requirements.txt
-
Set up environment variables (
.env):NVIDIA_API_KEY=your_api_key_here -
Run the tool:
aiq serve --config_file note_summarization/configs/config.yml --host 0.0.0.0 --port 8000
The tool is configured via NoteSummarizationFunctionConfig:
| Parameter | Description | Default |
|---|---|---|
ingest_glob |
File pattern for PDF/TXT ingestion (e.g., ./docs/*.pdf) |
Required |
llm_name |
LLM reference (meta/llama-4-maverick-17b-128e-instruct) |
Required |
chunk_size |
Text split size for processing | 1024 |
auto_summarize |
Auto-summarize on first message | True |
embedder_name |
Embedding model (nvidia/nv-embedqa-e5-v5) |
"nvidia/nv-embedqa-e5-v5" |
- Place documents in the specified directory (e.g.,
./docs/). - Start the agent—it will auto-summarize documents if enabled.
- Ask questions like:
- "Summarize the key points of this document."
- "What does section 3 discuss?"
- "List the main recommendations."
- Error loading files? Check file paths and permissions.
- No documents found? Verify
ingest_globpoints to the right directory. - LLM not responding? Ensure the NVIDIA API key is valid.
MIT License
QuickBrief – Turn documents into insights in seconds! 🚀
Built with LangChain & NVIDIA AI.