Skip to main content

ask

Function ask 

Source
fn ask(
    agent: &Agent,
    endpoint: &str,
    key: &str,
    prompt: &str,
) -> Result<Option<Assessment>, SyncError>
Expand description

One question; None when the answer is not the JSON asked for.