Metadata-Version: 2.4
Name: pedif
Version: 0.0.1
Summary: PDF RAG-as-a-Service SDK — ingest, query and summarize PDFs in 3 lines
Project-URL: Homepage, https://pedif.dev
Project-URL: Repository, https://github.com/coder-bks/pedif
Author-email: Balkrishna Sawant <balkrishnaraghunathsawant@gmail.com>
Keywords: ai,llm,pdf,rag,semantic-search
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.11
Requires-Dist: requests>=2.31.0
Description-Content-Type: text/markdown

# pedif

PDF RAG-as-a-Service. Ingest, query and summarize PDFs in 3 lines.

## Install
pip install pedif

## Usage
from pedif import Client

client = Client(api_key="pk_live_xxx")
col = client.collection("physics")
col.ingest("textbook.pdf")
print(col.query("explain Newton's law").answer)
print(col.summarize(doc_id).summary)