ModelContentBlockDeltaEvent
Defined in: src/models/streaming.ts:138
Event emitted when there is new content in a content block.
Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ModelContentBlockDeltaEvent(data): ModelContentBlockDeltaEvent;Defined in: src/models/streaming.ts:154
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
data | ModelContentBlockDeltaEventData |
Returns
Section titled “Returns”ModelContentBlockDeltaEvent
Properties
Section titled “Properties”readonly type: "modelContentBlockDeltaEvent";Defined in: src/models/streaming.ts:142
Discriminator for content block delta events.
Implementation of
Section titled “Implementation of”ModelContentBlockDeltaEventData.type
contentBlockIndex?
Section titled “contentBlockIndex?”readonly optional contentBlockIndex?: number;Defined in: src/models/streaming.ts:147
Index of the content block being updated.
readonly delta: ContentBlockDelta;Defined in: src/models/streaming.ts:152
The incremental content update.