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).
3.1 KiB
3.1 KiB
Release Log
v0.0.3
New Features
- Keep Original Text: Add the mapping from each claim to the position in the original text. Add
restore_claimsfunction to decomposer, to restore the decomposed claims to the original user input. - Data Structure: Define the data structure for several intermedia processing function and final output in
utils/data_class.py. - Speed Up: Parallel the
restore_claims,identify_checkworthinessandquery_generationfunctions to speed up the pipeline. - Token Count: Add the token count for all component.
- Evidence-wise Verification: Change the verification logic from input all evidence together within a single LLM call, to verify the claim by each evidence for each LLM call.
- Factuality Value: Remove the deterministic output, change the factuality to a number in range [0,1], calculated by the judgement with each simple evidence.
- Webpage: Redesign the webpage.
- Default LLM: Change to GPT-4o.
Bug fixed
- Serper Max Queries: Serper API allows max of 100 queries in one request, we split the queries into multiple requests if the number of queries exceeds 100.
- Evidence and URL: Link each evidence to the corresponding URL.
v0.0.2
New Features
- API Key Handling: Transitioned from creating key files via copying to dynamically reading all API keys from a YAML file, streamlining configuration processes.
- Unified Configuration Dictionary: Replaced platform-specific dictionaries with a unified dictionary that aligns with environmental variable naming conventions, enhancing consistency and maintainability.
- Model Switching: Introduced a
--modelparameter that allows switching between different models, currently supporting OpenAI and Anthropic. - Modular Architecture: Restructured the codebase into one Base class file and individual class files for each model, enhancing modularity and clarity.
- Base Class Redefinition: Redefined the Base class to abstract asynchronous operations and other functionalities. Users customizing models need only override three functions.
- Prompt Switching: Added a
--promptparameter for switching between predefined prompts, initially supporting prompts for OpenAI and Anthropic. - Prompt Definitions via YAML and JSON: Enabled prompt definitions using YAML and JSON, allowing prompts to be automatically read from corresponding YAML or JSON files when the prompt parameter ends with
.yamlor.json. - Search Engine Switching: Introduced a
--retrieverparameter to switch between different search engines, currently supporting Serper and Google. - Webapp Frontend Optimization: Optimized the web application frontend to prevent duplicate requests during processing, including disabling the submit button after a click and displaying a timer during processing.
- Client Switching: introduce a
--clientparameter that allows switching between different client (chat API), currently support OpenAI compatible API (for local model and official model), and Anthropic chat API client.
v0.0.1
Initial release of Loki.