Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/provider / / SerializedMessage
Interface: SerializedMessage
Defined in: packages/provider/src/counters/serialize.ts:17
Internal
Plain-text projection of a Message. The shape is what the counter actually feeds the tokenizer.
Properties
| Property | Modifier | Type | Defined in |
|---|---|---|---|
role | readonly | string | packages/provider/src/counters/serialize.ts:18 |
text | readonly | string | packages/provider/src/counters/serialize.ts:19 |
toolCalls | readonly | readonly { args: string; name: string; }[] | packages/provider/src/counters/serialize.ts:20 |