Package version:

Interface KnowledgeBaseModelAnswerSynthesisActivityRecord

Represents an LLM answer synthesis activity record.

interface KnowledgeBaseModelAnswerSynthesisActivityRecord {
    elapsedMs?: number;
    error?: KnowledgeBaseErrorDetail;
    id: number;
    inputTokens?: number;
    outputTokens?: number;
    type: "modelAnswerSynthesis";
}

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 answer synthesis activity.

outputTokens?: number

The number of output tokens for the LLM answer synthesis activity.

type

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