StreamingOptions

org.llm4s.llmconnect.streaming.StreamingOptions
See theStreamingOptions companion class

Companion object with convenience constructors

Attributes

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

Members list

Type members

Classlikes

class Builder

Builder for creating options fluently

Builder for creating options fluently

Attributes

Supertypes
class Object
trait Matchable
class Any

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(onChunk: StreamedChunk => Unit): StreamingOptions

Create options with just a chunk handler (most common use case)

Create options with just a chunk handler (most common use case)

Attributes

def builder(): Builder

Create a new builder

Create a new builder

Attributes

def collector(builder: StringBuilder): StreamingOptions

Create options for collecting all content

Create options for collecting all content

Attributes

Create options for simple console output

Create options for simple console output

Attributes

def withLogging(logger: String => Unit): StreamingOptions

Create options with full lifecycle logging

Create options with full lifecycle logging

Attributes