LangfuseBatchSender

org.llm4s.trace.LangfuseBatchSender

Abstraction for sending trace events to Langfuse in batches.

Implementations handle the HTTP communication with the Langfuse API, including authentication, error handling, and logging.

Attributes

See also

DefaultLangfuseBatchSender for the standard implementation

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def sendBatch(events: Seq[Obj], config: LangfuseHttpApiCaller): Unit

Sends a batch of trace events to Langfuse.

Sends a batch of trace events to Langfuse.

Value parameters

config

HTTP API configuration including URL and credentials

events

Sequence of JSON objects representing trace events

Attributes