ai.Runner

interface in the ai package.

Reference version

Signature

interface ai.Runner

Source:<builtin>/ai/runner.bamlbytes 291653

Associated types

type Error

= never

Required instance methods

function

run

<Out>(self, spec: ai.FunctionSpec<Out>) -> ai.RunResult<Out> throws (Self as ai.Runner).Error

Execute one spec to completion. Out lives on the method and is inferred from the spec argument, so no call site needs to name it.