ProviderExchange

org.llm4s.llmconnect.ProviderExchange
See theProviderExchange companion class

Attributes

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

Members list

Type members

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(exchangeId: String, provider: String, model: Option[String], requestId: Option[String], correlationId: Option[String], startedAt: Instant, completedAt: Instant, duration: FiniteDuration, outcome: ProviderExchangeOutcome, requestBody: String, responseBody: Option[String], errorMessage: Option[String]): ProviderExchange

Creates a ProviderExchange.

Creates a ProviderExchange.

Value parameters

completedAt

when the exchange completed

correlationId

the caller's correlation id

duration

how long the exchange took

errorMessage

the error message

exchangeId

the exchange's identifier

model

the model

outcome

the exchange's outcome

provider

the provider name

requestBody

the raw request body

requestId

the provider's request id

responseBody

the raw response body

startedAt

when the exchange started

Attributes