Share via


KnowledgeBaseModelQueryPlanningActivityRecord interface

Represents an LLM query planning activity record.

Extends

Properties

inputTokens

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

outputTokens

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

type

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

Inherited Properties

elapsedMs

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.

Property Details

inputTokens

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

inputTokens?: number

Property Value

number

outputTokens

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

outputTokens?: number

Property Value

number

type

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

type: "modelQueryPlanning"

Property Value

"modelQueryPlanning"

Inherited Property Details

elapsedMs

The elapsed time in milliseconds for the retrieval activity.

elapsedMs?: number

Property Value

number

Inherited From KnowledgeBaseActivityRecord.elapsedMs

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