Detection Pipeline Walkthrough
The three kinds of hallucination, a test set that includes questions with no answer, claim-by-claim faithfulness scoring, and what lowers the rate.
Use a strong judge model (GPT-6.1 Sol) to verify factual consistency claim-by-claim
Like a fact-checker comparing an article's claims against primary sources.
check_factual_consistency uses GPT-6.1 Sol as judge. Given a claim and source, the judge returns: supported (claim is in source), contradicted (source says otherwise), or unverifiable (not enough info).
> Claim: "Python was created in 1991" > Source: "Python was first released in 1991" > Verdict: supported, confidence: 0.99 > Reasoning: "Source explicitly states 1991"
Use a strong judge model (GPT-6.1 Sol) to verify factual consistency claim-by-claim
Like a fact-checker comparing an article's claims against primary sources.
check_factual_consistency uses GPT-6.1 Sol as judge. Given a claim and source, the judge returns: supported (claim is in source), contradicted (source says otherwise), or unverifiable (not enough info).
> Claim: "Python was created in 1991" > Source: "Python was first released in 1991" > Verdict: supported, confidence: 0.99 > Reasoning: "Source explicitly states 1991"
Continue reading
All LLM Model Landscape articles →GPT: OpenAI's Model Family in Practice
The GPT-6 tiers, what reasoning effort replaced, when to use the Responses API over Chat Completions, how the bill is calculated, and what is different on Azure.
Claude: Anthropic's Model Family in Practice
The four Claude tiers, adaptive thinking and effort, the tool-use rules that differ from other providers, prompt caching, and where you can run it.
Llama: Open-Weight Models for Production
The Llama lineup and licence, serving with Ollama and vLLM, GPU memory sizing, and an honest look at when a hosted API is still the better choice.
Discussion
Sign in to share your feedback and join the discussion.

