-
Notifications
You must be signed in to change notification settings - Fork 0
Migration
Benmebrouk edited this page Apr 12, 2026
·
1 revision
let guard = HttpClient::new(HttpConfig::new("https://api.wauldo.com").with_api_key("KEY"))?;
let answer = your_llm.generate(question, context).await?;
let check = guard.guard(&answer, &context, None).await?;
if check.is_blocked() {
return Err("Cannot verify".into());
}
Ok(answer)| Without Guard | With Guard | |
|---|---|---|
| Hallucination detection | None | Yes |
| Trust score | None | 0.0-1.0 |
| Wrong answers | Served | Blocked |
| Latency | 0ms | <1ms (lexical) |