Trustworthy Language Model (TLM)
Wraps any base LLM (GPT, Claude, Gemini, Llama, and more) with a real-time 0-1 trustworthiness score to detect hallucinations and unreliable answers. Exposed via an OpenAI-compatible Chat Completions endpoint (trustworthiness returned in tlm_metadata) and via prompt / get_trustworthiness_score operations.
Documentation
Documentation
https://help.cleanlab.ai/tlm/
APIReference
https://help.cleanlab.ai/tlm/api/python/tlm/
Specifications
OpenAPI
https://raw.githubusercontent.com/api-evangelist/cleanlab/refs/heads/main/openapi/cleanlab-openapi.yml
AsyncAPI
https://raw.githubusercontent.com/api-evangelist/cleanlab/refs/heads/main/asyncapi/cleanlab-asyncapi.yml