Skip to content
Prompty

TextChunk

A text content chunk from the LLM response stream.

---
title: TextChunk
config:
  look: handDrawn
  theme: colorful
  class:
    hideEmptyMembersBox: true
---
classDiagram
    class StreamChunk {
      <<abstract>>
        +string kind
    }
    StreamChunk <|-- TextChunk
    class TextChunk {
        +string kind
        +string value
    }
value: Hello
Name Type Description
kind string The kind identifier for text chunks
value string The text content of the chunk