The result returned by a managed model invocation (ManagedModel.run()). Includes a promise for asynchronous judge evaluations.

Hierarchy

  • ManagedResult

Properties

content: string

The text content of the model's response.

evaluations: Promise<LDJudgeResult[]>

Promise that resolves to the judge evaluation results. This promise encapsulates both evaluation and tracking (tracker.trackJudgeResult is called when it resolves). Awaiting this promise guarantees both evaluation and tracking are complete.

Summarized metrics for this invocation.

parsed?: Record<string, unknown>

Parsed structured output, if available.

raw?: unknown

The raw response object from the provider, if available.

Generated using TypeDoc