KnowledgeBaseModelAnswerSynthesisActivityRecord interface

Represents an LLM answer synthesis activity record.

Extends

Properties

inputTokens

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

model

The model used for the LLM answer synthesis activity.

outputTokens

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

type

The discriminator value.

Inherited Properties

completedAt

The time at which the activity completed.

elapsedInMs

The elapsed time in milliseconds for the retrieval activity.

error

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

id

The ID of the activity record.

startedAt

The time at which the activity started.

warning

A warning message surfacing potential configuration issues observed during the activity, such as documents dropped due to score thresholding, token limit truncation, or timeout conditions.

Property Details

inputTokens

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

inputTokens?: number

Property Value

number

model

The model used for the LLM answer synthesis activity.

model?: KnowledgeBaseActivityRecordModel

Property Value

outputTokens

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

outputTokens?: number

Property Value

number

type

The discriminator value.

type: "modelAnswerSynthesis"

Property Value

"modelAnswerSynthesis"

Inherited Property Details

completedAt

The time at which the activity completed.

completedAt?: Date

Property Value

Date

Inherited From KnowledgeBaseActivityRecord.completedAt

elapsedInMs

The elapsed time in milliseconds for the retrieval activity.

elapsedInMs?: number

Property Value

number

Inherited From KnowledgeBaseActivityRecord.elapsedInMs

error

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

error?: KnowledgeBaseErrorDetail

Property Value

Inherited From KnowledgeBaseActivityRecord.error

id

The ID of the activity record.

id: number

Property Value

number

Inherited From KnowledgeBaseActivityRecord.id

startedAt

The time at which the activity started.

startedAt?: Date

Property Value

Date

Inherited From KnowledgeBaseActivityRecord.startedAt

warning

A warning message surfacing potential configuration issues observed during the activity, such as documents dropped due to score thresholding, token limit truncation, or timeout conditions.

warning?: string

Property Value

string

Inherited From KnowledgeBaseActivityRecord.warning