StreamingAccumulator

org.llm4s.llmconnect.streaming.StreamingAccumulator
See theStreamingAccumulator companion class

Factory for creating accumulators

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

Create a new accumulator instance

Create a new accumulator instance

Attributes

def withInitialState(messageId: Option[String], promptTokens: Int): StreamingAccumulator

Create an accumulator with initial state

Create an accumulator with initial state

Attributes