org.llm4s.llmconnect.ProviderExchange
See theProviderExchange companion class
object ProviderExchange
Attributes
- Companion
- class
- Graph
-
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ProviderExchange.type
Members list
Type members
Inherited and Abstract types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
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
In this article