Skip to main content

PaperQA reader implemented using Nvidia's nemotron-parse VLM API

Project description

paper-qa-nemotron

GitHub tests License PyPI Python Versions

PDF reading code backed by Nvidia's nemotron-parse VLM.

For more info on nemotron-parse, check out:

Installation

pip install paper-qa[nemotron]
# Or
pip install paper-qa-nemotron

If you want to prompt nemotron-parse hosted on AWS SageMaker:

pip install paper-qa-nemotron[sagemaker]

Getting Started

To use nemotron-parse via the Nvidia API, set the NVIDIA_API_KEY environment variable.

Then to directly access the reader:

from paperqa.types import ParsedText
from paperqa_nemotron import parse_pdf_to_pages

async def main(pdf_path) -> ParsedText:
    return await parse_pdf_to_pages(pdf_path)

Or use the reader within PaperQA:

from paperqa import Docs, PQASession, Settings

from paperqa_nemotron import parse_pdf_to_pages


async def main(pdf_path, question: str | PQASession) -> PQASession:
    settings = Settings(parsing={"parse_pdf": parse_pdf_to_pages})
    docs = Docs()
    await docs.aadd(pdf_path, settings=settings)
    return await docs.aquery(question, settings=settings)

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

paper_qa_nemotron-2026.3.12.tar.gz (2.9 MB view details)

Uploaded Source

Built Distribution

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

paper_qa_nemotron-2026.3.12-py3-none-any.whl (24.5 kB view details)

Uploaded Python 3

File details

Details for the file paper_qa_nemotron-2026.3.12.tar.gz.

File metadata

  • Download URL: paper_qa_nemotron-2026.3.12.tar.gz
  • Upload date:
  • Size: 2.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for paper_qa_nemotron-2026.3.12.tar.gz
Algorithm Hash digest
SHA256 6a372a378325f9eac2552ca09d9a51662569181aa853fee895034c5508634e11
MD5 a1ef7b60e12c07e9d3c7b1d8eb51df65
BLAKE2b-256 956b7c26a03714383d644bee2874bf48e2edd0dccbbc0f22569666f8e89cfb3a

See more details on using hashes here.

File details

Details for the file paper_qa_nemotron-2026.3.12-py3-none-any.whl.

File metadata

File hashes

Hashes for paper_qa_nemotron-2026.3.12-py3-none-any.whl
Algorithm Hash digest
SHA256 b8382da10dd5e23793846a3c1ec48bec5d20e6b0dd2ca116d6bf2f22e94d0a13
MD5 cf47ad9f2631ffa919f68da3ab9a1d70
BLAKE2b-256 5e06d29e9ec54fe57e9f0234d46d42a4a854d193bbc52d29eeb1316701e35b1c

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