Skip to content

mehrzads/Rag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PDF RAG

A Python package for building RAG (Retrieval-Augmented Generation) applications using PDFs, ChromaDB, and Ollama.

Installation

pip install -e .

Usage

from pdf_rag import PDFRAGApplication

# Initialize the application
rag = PDFRAGApplication()

# Load a PDF
rag.load_pdf("your_document.pdf")

# Query the system
response = rag.query("What is this document about?")
print(response)

About

Just a simple Rag example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages