Chat response structure.

Hierarchy

  • ChatResponse

Properties

evaluations?: Promise<(undefined | JudgeResponse)[]>

Promise that resolves to judge evaluation results. Only present when judges are configured for evaluation.

message: LDMessage

The response message from the AI.

metrics: LDAIMetrics

Metrics information including success status and token usage.

Generated using TypeDoc