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).
78 lines
2.3 KiB
YAML
78 lines
2.3 KiB
YAML
services:
|
|
gpt-researcher:
|
|
pull_policy: build
|
|
image: gptresearcher/gpt-researcher
|
|
build: ./
|
|
environment:
|
|
OPENAI_API_KEY: ${OPENAI_API_KEY}
|
|
OPENAI_BASE_URL: ${OPENAI_BASE_URL}
|
|
TAVILY_API_KEY: ${TAVILY_API_KEY}
|
|
LANGCHAIN_API_KEY: ${LANGCHAIN_API_KEY}
|
|
LOGGING_LEVEL: INFO
|
|
# Image generation (optional - set to enable inline images in reports)
|
|
GOOGLE_API_KEY: ${GOOGLE_API_KEY}
|
|
IMAGE_GENERATION_ENABLED: ${IMAGE_GENERATION_ENABLED:-false}
|
|
IMAGE_GENERATION_MODEL: ${IMAGE_GENERATION_MODEL:-gemini-2.0-flash-preview-image-generation}
|
|
IMAGE_GENERATION_MAX_IMAGES: ${IMAGE_GENERATION_MAX_IMAGES:-3}
|
|
volumes:
|
|
- ${PWD}/my-docs:/usr/src/app/my-docs:rw
|
|
- ${PWD}/outputs:/usr/src/app/outputs:rw
|
|
- ${PWD}/logs:/usr/src/app/logs:rw
|
|
user: root
|
|
restart: always
|
|
ports:
|
|
- 8000:8000
|
|
|
|
gptr-nextjs:
|
|
pull_policy: build
|
|
image: gptresearcher/gptr-nextjs
|
|
stdin_open: true
|
|
environment:
|
|
CHOKIDAR_USEPOLLING: "true"
|
|
LOGGING_LEVEL: INFO
|
|
NEXT_PUBLIC_GA_MEASUREMENT_ID: ${NEXT_PUBLIC_GA_MEASUREMENT_ID}
|
|
NEXT_PUBLIC_GPTR_API_URL: ${NEXT_PUBLIC_GPTR_API_URL}
|
|
build:
|
|
dockerfile: Dockerfile.dev
|
|
context: frontend/nextjs
|
|
volumes:
|
|
- /app/node_modules
|
|
- ./frontend/nextjs:/app
|
|
- ./frontend/nextjs/.next:/app/.next
|
|
- ./outputs:/app/outputs
|
|
restart: always
|
|
ports:
|
|
- 3000:3000
|
|
|
|
gpt-researcher-tests:
|
|
image: gptresearcher/gpt-researcher-tests
|
|
build: ./
|
|
environment:
|
|
OPENAI_API_KEY: ${OPENAI_API_KEY}
|
|
OPENAI_BASE_URL: ${OPENAI_BASE_URL}
|
|
TAVILY_API_KEY: ${TAVILY_API_KEY}
|
|
LANGCHAIN_API_KEY: ${LANGCHAIN_API_KEY}
|
|
LOGGING_LEVEL: INFO
|
|
profiles: ["test"]
|
|
command: >
|
|
/bin/sh -c "
|
|
pip install pytest pytest-asyncio faiss-cpu &&
|
|
python -m pytest tests/report-types.py &&
|
|
python -m pytest tests/vector-store.py
|
|
"
|
|
|
|
discord-bot:
|
|
build:
|
|
context: ./docs/discord-bot
|
|
dockerfile: Dockerfile.dev
|
|
environment:
|
|
- DISCORD_BOT_TOKEN=${DISCORD_BOT_TOKEN}
|
|
- DISCORD_CLIENT_ID=${DISCORD_CLIENT_ID}
|
|
volumes:
|
|
- ./docs/discord-bot:/app
|
|
- /app/node_modules
|
|
ports:
|
|
- 3001:3000
|
|
profiles: ["discord"]
|
|
restart: always
|