Skip to content
Benmebrouk edited this page Apr 12, 2026 · 2 revisions

Wauldo Rust SDK

Verified AI answers from your documents — or no answer at all.

cargo add wauldo · crates.io · GitHub · Docs · Free API Key

Quick Start

[dependencies]
wauldo = "0.7"
tokio = { version = "1", features = ["rt-multi-thread", "macros"] }
use wauldo::{HttpClient, HttpConfig};

#[tokio::main]
async fn main() -> wauldo::Result<()> {
    let client = HttpClient::new(
        HttpConfig::new("https://api.wauldo.com").with_api_key("YOUR_KEY"),
    )?;

    let result = client.guard(
        "Returns accepted within 60 days.",
        "Our policy allows returns within 14 days.",
        None,
    ).await?;
    println!("{}", result.verdict);  // "rejected"
    Ok(())
}

Pages

Clone this wiki locally