Skip to main content

one_shot

Function one_shot 

Source
pub async fn one_shot<C: Config, R: JsonSchema + DeserializeOwned>(
    client: &Client<C>,
    prompt: &str,
) -> R
Expand description

Invokes the LLM once, generating an output object directly. No tool calls are supported.