Skip to main content

PDF RAG-as-a-Service SDK — ingest, query and summarize PDFs in 3 lines

Project description

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pedif-0.0.1.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pedif-0.0.1-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file pedif-0.0.1.tar.gz.

File metadata

  • Download URL: pedif-0.0.1.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for pedif-0.0.1.tar.gz
Algorithm Hash digest
SHA256 bc8ece97912416604a2faf6138ff1f7f41bf7ac4f41aeb1088d1385bcf84607a
MD5 7ef0942146b73e78249729d47cb3e418
BLAKE2b-256 636e38642b9c5125791cbe6f56cf6fac7cda25f072cbb60d04d80a06292f2377

See more details on using hashes here.

File details

Details for the file pedif-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: pedif-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for pedif-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f1aaf71049979f0b1e46aaa92a2ebd15261a154dce3f24010b1a9bafdb9ce2d8
MD5 aa66044b80653b2531cb909ff72bbf25
BLAKE2b-256 3ff369aac737a7c6f41d43727225fcc5bbafd2d139cc2ae3d73357d8921a9aca

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page