caelum0x 174222bcaa feat: Builder-Track named-user tools, bio + evidence-intelligence platform, Apache-2.0
Builds PaperTrail from the base skeleton into a full evidence-verification platform
for the "Built with Claude: Life Sciences" hackathon (Builder Track).

New named-user features (Build Beyond the Bench):
- Lab Notebook Companion — rough bench notes -> structured, searchable, grounded
  experiment records (lib/labNotebook, /console/lab-notebook, migration 0059)
- Clinical Trial Matcher — de-identified patient notes -> ranked eligible
  ClinicalTrials.gov trials with per-criterion inclusion/exclusion reasoning
  (lib/trialMatcher, /console/trial-matcher, migrations 0060)

Platform:
- Deterministic verification moat (biostats recompute, exact-span grounding)
- 11 biomedical evidence engines (FAERS, GWAS, Open Targets, ChEMBL, ClinVar,
  PharmGKB, PubTator, DDI, repurposing, biomarker, unified verifier)
- Evidence Intelligence (KG, dossier, provenance/export, RWE) + enterprise
  governance (RBAC, /api/v1 gateway, metering, audit chain, retention)
- 17 OSS projects assimilated into native TypeScript on our stack (backend/engines
  retained + credited in NOTICE)
- Multi-format upload (PDF/DOCX/XLSX/CSV/MD/TXT), logo, marketing site
- Next.js 16 upgrade, benchmark harness (honest smoke-test caveat)

Licensing: Apache-2.0 (LICENSE + NOTICE).
2026-07-10 16:23:13 +03:00

75 lines
2.5 KiB
Markdown

# paper-qa-nemotron
<!-- pyml disable-num-lines 5 line-length -->
[![GitHub](https://img.shields.io/badge/GitHub-black?logo=github&logoColor=white)](https://github.com/Future-House/paper-qa/tree/main/packages/paper-qa-nemotron)
[![tests](https://github.com/Future-House/paper-qa/actions/workflows/tests.yml/badge.svg)](https://github.com/Future-House/paper-qa)
![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)
![PyPI Python Versions](https://img.shields.io/pypi/pyversions/paper-qa-nemotron)
PDF reading code backed by
[Nvidia's nemotron-parse VLM](https://build.nvidia.com/nvidia/nemotron-parse).
For more info on nemotron-parse, check out:
<!-- pyml disable-num-lines 11 line-length -->
- Technical blog:
<https://developer.nvidia.com/blog/turn-complex-documents-into-usable-data-with-vlm-nvidia-nemotron-parse-1-1/>
- Hugging Face weights: <https://huggingface.co/nvidia/NVIDIA-Nemotron-Parse-v1.1>
- NIM and model card: <https://build.nvidia.com/nvidia/nemotron-parse>
- Support matrix:
<https://docs.nvidia.com/nim/vision-language-models/1.5.0/support-matrix.html#nemotron-parse>
- API docs:
<https://docs.nvidia.com/nim/vision-language-models/1.5.0/examples/nemotron-parse/overview.html#nemotron-parse-overview>
- Cookbook:
<https://github.com/NVIDIA-NeMo/Nemotron/blob/main/usage-cookbook/Nemotron-Parse-v1.1/build_general_usage_cookbook.ipynb>
- NGC catalog:
<https://catalog.ngc.nvidia.com/orgs/nim/teams/nvidia/containers/nemotron-parse>
- AWS Marketplace:
<https://aws.amazon.com/marketplace/pp/prodview-ny2ngku2i4ge6>
## Installation
```bash
pip install paper-qa[nemotron]
# Or
pip install paper-qa-nemotron
```
If you want to prompt nemotron-parse hosted on AWS SageMaker:
```bash
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:
```python
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:
```python
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)
```