TAMR+ Lite — Open-core Trust-Augmented Multi-phase Retrieval framework for EU AI Act compliant AI applications
Project description
TAMR+ Lite
Trust-Augmented Multi-phase Retrieval — Open-Core Edition
The open-source core of the TAMR+ framework, providing EU AI Act-compliant scoring, gap attribution, and retrieval primitives for building trustworthy AI applications.
Three-Stage Architecture
- Document Manifest Selector — 5-signal deterministic pre-filtering (zero LLM calls)
- Multi-Phase Retrieval — Vector ANN, KG alignment, causal density, diversity selection
- TRACE Scoring — 5-dimension formula-based scoring with gap attribution
Installation
pip install tamr-plus-lite
Quick Start
from tamr_plus_lite import build_trace_scores, compute_gap_attribution
# Score a response
score = build_trace_scores(
source_count=5,
total_claims=10,
cited_claims=8,
evidence_strength=0.8,
)
print(f"TRACE Score: {score.overall:.0%}")
print(score.explanation)
# Explain gaps
gap = compute_gap_attribution(
trace_score=score.overall,
source_count=5,
total_claims=10,
cited_claims=8,
)
print(gap.explanation)
for component in gap.components:
print(f" {component.friendly_name}: {component.value:.1%} — {component.action}")
Modules
| Module | Description |
|---|---|
tamr_plus_lite.scoring |
TRACE 5-dimension scoring engine |
tamr_plus_lite.gap |
Gap attribution ("Why not 100%?") |
tamr_plus_lite.manifest |
Document manifest selector (Stage 1) |
tamr_plus_lite.classifier |
Zero-LLM query classifier |
tamr_plus_lite.interfaces |
Abstract interfaces for pluggable backends |
tamr_plus_lite.extraction |
KG extraction prompt + utilities |
tamr_plus_lite.chunking |
Text chunking + JSON repair |
tamr_plus_lite.profiles |
Domain scoring profiles |
EU AI Act Compliance
All scoring is formula-based (not ML) for full transparency:
- Art. 13: Every parameter is explicit and auditable
- Art. 14: Every score decomposes into human-readable factors
- Art. 15: Deterministic formulas guarantee reproducibility
TRACE Dimensions
| Dimension | Weight | What It Measures |
|---|---|---|
| T — Transparency | 25% | Source attribution and model identification |
| R — Reasoning | 20% | Evidence basis and cross-document connections |
| A — Auditability | 20% | Audit trail completeness |
| C — Compliance | 20% | Regulatory framework alignment |
| E — Explainability | 15% | Response structure quality |
Gap Attribution Taxonomy
| Code | Friendly Name | Description |
|---|---|---|
| SCG | Document Coverage | How much is backed by uploaded documents |
| PKC | AI Knowledge Used | Reliance on AI training data |
| DLT | Specialized Vocabulary | Domain terminology precision |
| ADG | Citation Coverage | Citation completeness |
| FSC | System Limitation | Irreducible 3% structural ceiling |
Full TAMR+
This is the open-core edition. The full TAMR+ SDK includes:
- Premium 7-phase retrieval pipeline (HDI, governance, compliance certificates)
- Gamified insights engine
- Production domain profiles with calibrated weights
Contact: harish.kumar@quantamixsolutions.com
License
Apache-2.0 — Quantamix Solutions B.V.
Patent: EP26162901.8 (TAMR+ Three-Stage Architecture)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tamr_plus_lite-0.1.0.tar.gz.
File metadata
- Download URL: tamr_plus_lite-0.1.0.tar.gz
- Upload date:
- Size: 20.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe2460487bf168a7059d013cf7132f83a42d6377dee2977789e57e38f66c8a66
|
|
| MD5 |
f0150916acacbcc6f5a18133aabd2b8c
|
|
| BLAKE2b-256 |
24136c502572921a35ac4a19cb1f1924a621a5c6268f4882ffc28f6eaba049e0
|
File details
Details for the file tamr_plus_lite-0.1.0-py3-none-any.whl.
File metadata
- Download URL: tamr_plus_lite-0.1.0-py3-none-any.whl
- Upload date:
- Size: 21.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac82636580a410f69bdbff083717b512fd0fc816c36228441d2562cbdffc81b5
|
|
| MD5 |
b1ffb174b1ca51dee41a88c44cdf2c17
|
|
| BLAKE2b-256 |
e1ce5119a1183b6b8161a75439273aacbf61e68453c4351174cc87d126316b1b
|