An LLM predicts likely tokens, not true ones. When its training data lacks the fact or the prompt is ambiguous, it still produces fluent text, and lowering temperature reduces randomness but not ignorance. In .NET I reduce it in layers:
IChatClient.GetResponseAsync<T>() in Microsoft.Extensions.AI) and validate the object with FluentValidation or data annotations.UseOpenTelemetry() and score groundedness with GroundednessEvaluator from Microsoft.Extensions.AI.Evaluation in CI.The trade-off is that grounding and checking add tokens and latency, so you size them to the cost of a wrong answer.
Checks understanding that generation is probabilistic, not fact lookup, and that the developer controls the guardrails in code.
Green flags
Red flags
Last updated 23 Nov 2026.