Skip to main content

Interface: ITextPart

Defined in: contracts/types.ts:83

Plain text: a user's prompt or a model's answer.

The part of every user and assistant turn. The TurnBuilder writes it; the ContextAssembler and the working memory read it.

Properties​

kind​

kind: TEXT

Defined in: contracts/types.ts:85

The discriminant of TTurnPart.


text​

text: string

Defined in: contracts/types.ts:87

The text, as the user typed it or the model wrote it.