Skip to content

TokenEventPayload

Payload for “token” events — a single text token streamed from the LLM.

---
title: TokenEventPayload
config:
  look: handDrawn
  theme: colorful
  class:
    hideEmptyMembersBox: true
---
classDiagram
    class TokenEventPayload {
        +string token
    }
token: Hello
NameTypeDescription
tokenstringThe streamed token text