Real-time hallucination detection, surgical auto-correction, and tamper-proof audit trails for LLM outputs. Zero LLM dependency. Sub-200ms latency.
Every LLM response passes through five complementary detection layers with OR-gate logic — no single point of failure.
Single API call. Send your LLM's response plus the retrieved context — get back a verified, corrected response with full evidence chains.
The primary verification endpoint. Accepts any LLM-generated response with its source context and returns a complete trust assessment.
import requests response = requests.post( "https://tensalis-engine-23557189636.us-central1.run.app/v1/rag", json={ "query": "What is the return policy?", "context_docs": [ "Returns accepted within 30 days.", "Items must have original tags." ], "response": "You can return items within 60 days.", "auto_correct": True } ) result = response.json() # result["is_trustworthy"] → False # result["severity"] → "high" # result["facts_contradicted"] → 1 # result["was_corrected"] → True # result["response"] → "You can return items within 30 days."
Most observability tools flag hallucinations. Tensalis detects AND corrects them — with no LLM dependency.
| Capability | Tensalis v6.1.2 | Typical Observability Tools |
|---|---|---|
| Contradiction Detection | 52/52 adversarial detection | Embedding similarity — misses contradictions with high cosine overlap |
| Auto-Correction | Surgical fact replacement | Not available — detection only |
| Latency | <200ms median | 1–5s (LLM-as-judge requires inference call) |
| Cost per Verification | $0 LLM cost | $0.01–0.05 per LLM judge call |
| LLM Dependency | None — deterministic | Requires LLM API (OpenAI, etc.) |
| Audit Trail | Hash-chained JSONL ledger | Log aggregation (no tamper detection) |
| Fact Granularity | Per-fact typed verification | Whole-response scoring |
Where factual accuracy isn't a nice-to-have — it's a compliance requirement.
Deployed on Google Cloud with enterprise-grade reliability.
https://tensalis-engine-23557189636.us-central1.run.app| Method | Endpoint | Description |
|---|---|---|
| POST | /v1/rag | Full multi-layer hallucination detection and correction |
| POST | /v1/verify | Legacy claim-vs-reference verification |
| GET | /v1/ledger/records | Query audit trail records (filterable) |
| GET | /v1/ledger/stats | Aggregate analytics (trust rate, latency, distributions) |
| GET | /v1/ledger/verify | Hash chain integrity check |
| GET | /v1/rag/health | Pipeline health and component status |