TextDelta
org.llm4s.agent.streaming.AgentEvent.TextDelta
final case class TextDelta(delta: String, timestamp: Instant) extends AgentEvent
A chunk of text was generated by the LLM.
These events are emitted in real-time during streaming generation, allowing incremental display to users.
Value parameters
- delta
-
The text chunk (may be partial words)
- timestamp
-
When the chunk was received
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait AgentEventclass Objecttrait Matchableclass Any
Members list
In this article