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).
52 lines
1.4 KiB
Python
52 lines
1.4 KiB
Python
from typing import Union, List, Dict, Any
|
|
from typing_extensions import TypedDict
|
|
|
|
|
|
class BaseConfig(TypedDict):
|
|
RETRIEVER: str
|
|
EMBEDDING: str
|
|
SIMILARITY_THRESHOLD: float
|
|
FAST_LLM: str
|
|
SMART_LLM: str
|
|
STRATEGIC_LLM: str
|
|
FAST_TOKEN_LIMIT: int
|
|
SMART_TOKEN_LIMIT: int
|
|
STRATEGIC_TOKEN_LIMIT: int
|
|
BROWSE_CHUNK_MAX_LENGTH: int
|
|
SUMMARY_TOKEN_LIMIT: int
|
|
TEMPERATURE: float
|
|
USER_AGENT: str
|
|
MAX_SEARCH_RESULTS_PER_QUERY: int
|
|
MEMORY_BACKEND: str
|
|
TOTAL_WORDS: int
|
|
REPORT_FORMAT: str
|
|
CURATE_SOURCES: bool
|
|
MAX_ITERATIONS: int
|
|
LANGUAGE: str
|
|
AGENT_ROLE: Union[str, None]
|
|
SCRAPER: str
|
|
MAX_SCRAPER_WORKERS: int
|
|
SCRAPER_RATE_LIMIT_DELAY: float
|
|
MAX_SUBTOPICS: int
|
|
REPORT_SOURCE: Union[str, None]
|
|
DOC_PATH: str
|
|
PROMPT_FAMILY: str
|
|
LLM_KWARGS: dict
|
|
EMBEDDING_KWARGS: dict
|
|
VERBOSE: bool
|
|
DEEP_RESEARCH_CONCURRENCY: int
|
|
DEEP_RESEARCH_DEPTH: int
|
|
DEEP_RESEARCH_BREADTH: int
|
|
MCP_SERVERS: List[Dict[str, Any]]
|
|
MCP_AUTO_TOOL_SELECTION: bool
|
|
MCP_USE_LLM_ARGS: bool
|
|
MCP_ALLOWED_ROOT_PATHS: List[str]
|
|
MCP_STRATEGY: str
|
|
REASONING_EFFORT: str
|
|
# Image generation settings
|
|
IMAGE_GENERATION_MODEL: Union[str, None]
|
|
IMAGE_GENERATION_MAX_IMAGES: int
|
|
IMAGE_GENERATION_ENABLED: bool
|
|
IMAGE_GENERATION_STYLE: str # Image style: "dark", "light", or "auto"
|
|
IMAGE_GENERATION_PROVIDER: str # Image provider: "google" or "modelslab"
|