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 Serializable
trait Product
trait Equals
trait AgentEvent
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product