Interface: DecisionSegment
Defined in: packages/core/src/stream-segments/types.ts:256
Decision segment — a point-in-time marker that one decision processor
was asked and answered. Rendered inline in a timeline like a tool-call chip.
Produced from the decision_answered stream event.
Extends
Properties
agentId?
optionalagentId?:string
Defined in: packages/core/src/stream-segments/types.ts:20
Agent that produced this segment (populated in group chat contexts)
Inherited from
agentName?
optionalagentName?:string
Defined in: packages/core/src/stream-segments/types.ts:22
Display name of the agent
Inherited from
answers
answers:
object[]
Defined in: packages/core/src/stream-segments/types.ts:263
One entry per question, in the order they were declared.
choice?
optionalchoice?:string
The selected label. Choice answers only.
confidence?
optionalconfidence?:number
The provider's confidence, where it reports one.
question
question:
string
The question's name, as declared in the question set.
type
type:
"choice"|"noul"|"score"
value?
optionalvalue?:number
The Noul probability, or the score. Absent for a choice.
avatarEmoji?
optionalavatarEmoji?:string
Defined in: packages/core/src/stream-segments/types.ts:24
Avatar emoji for display
Inherited from
decision
decision:
string
Defined in: packages/core/src/stream-segments/types.ts:259
The decision processor that asked.
id
id:
string
Defined in: packages/core/src/stream-segments/types.ts:16
Unique identifier for React keys
Inherited from
model
model:
string
Defined in: packages/core/src/stream-segments/types.ts:261
The model that answered.
timestamp
timestamp:
number
Defined in: packages/core/src/stream-segments/types.ts:18
Timestamp for ordering
Inherited from
type
type:
"decision"
Defined in: packages/core/src/stream-segments/types.ts:257