Package version:

Interface KnowledgeBaseModelQueryPlanningActivityRecord

Represents an LLM query planning activity record.

interface KnowledgeBaseModelQueryPlanningActivityRecord {
    elapsedMs?: number;
    error?: KnowledgeBaseErrorDetail;
    id: number;
    inputTokens?: number;
    outputTokens?: number;
    type: "modelQueryPlanning";
}

Hierarchy (view full)

Properties

elapsedMs?: number

The elapsed time in milliseconds for the retrieval activity.

The error detail explaining why the operation failed. This property is only included when the activity does not succeed.

id: number

The ID of the activity record.

inputTokens?: number

The number of input tokens for the LLM query planning activity.

outputTokens?: number

The number of output tokens for the LLM query planning activity.

type

Polymorphic discriminator, which specifies the different types this object can be