TextChunk
A text content chunk from the LLM response stream.
Class Diagram
Section titled “Class Diagram”---
title: TextChunk
config:
look: handDrawn
theme: colorful
class:
hideEmptyMembersBox: true
---
classDiagram
class StreamChunk {
<<abstract>>
+string kind
}
StreamChunk <|-- TextChunk
class TextChunk {
+string kind
+string value
}
Yaml Example
Section titled “Yaml Example”value: HelloProperties
Section titled “Properties”| Name | Type | Description |
|---|---|---|
| kind | string | The kind identifier for text chunks |
| value | string | The text content of the chunk |