Optional _logger: LDLoggerOptional Private Optional Readonly _loggerProtected Readonly aiProtected Readonly runnerGet the underlying AI configuration used to initialize this ManagedModel.
Invoke the model with a prompt string and return a ManagedResult.
run() resolves before ManagedResult.evaluations resolves. Awaiting
evaluations guarantees both judge evaluation and tracker.trackJudgeResult()
are complete.
The user input to send to the model.
Promise resolving to ManagedResult (before evaluations settle).
Generated using TypeDoc
ManagedModel provides chat-completion invocation with automatic tracking and automatic judge evaluation.
The class is stateless: each
run()call sends the prompt directly to the underlyingRunnerand returns aManagedResult. Conversation history, if any, must be managed by the caller (or by the Runner implementation).Obtain an instance via
LDAIClient.createModel().