TokenEventPayload
Payload for “token” events — a single text token streamed from the LLM.
Class Diagram
Section titled “Class Diagram”---
title: TokenEventPayload
config:
look: handDrawn
theme: colorful
class:
hideEmptyMembersBox: true
---
classDiagram
class TokenEventPayload {
+string token
}
Yaml Example
Section titled “Yaml Example”token: HelloProperties
Section titled “Properties”| Name | Type | Description |
|---|---|---|
| token | string | The streamed token text |