pub async fn one_shot<C: Config, R: JsonSchema + DeserializeOwned>(
client: &Client<C>,
model: &str,
prompt: &str,
) -> RExpand description
Invokes the LLM once, generating an output object directly. No tool calls are supported.
pub async fn one_shot<C: Config, R: JsonSchema + DeserializeOwned>(
client: &Client<C>,
model: &str,
prompt: &str,
) -> RInvokes the LLM once, generating an output object directly. No tool calls are supported.