JsonlProviderExchangeSink

org.llm4s.llmconnect.JsonlProviderExchangeSink
final case class JsonlProviderExchangeSink(path: Path) extends ProviderExchangeSink

Appends provider exchanges as JSON Lines to a local file.

This is intended as the first practical debugging sink for development. It creates parent directories on demand and writes one redacted JSON object per line.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def record(exchange: ProviderExchange): Unit

Attributes

Definition Classes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product