Response

openai4s.types.chat.Response
See theResponse companion class
object Response

Attributes

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

Members list

Type members

Classlikes

final case class Choice(message: Message, finishReason: FinishReason, index: Index)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Choice

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Choice.type
object Created extends Newtype[Instant]

Attributes

Supertypes
trait Newtype[Instant]
trait NewtypeBase[Instant]
class Object
trait Matchable
class Any
Self type
Created.type
object Id extends Newtype[NonEmptyString], CatsEqShow[NonEmptyString], CirceNewtypeCodec[NonEmptyString], ExtrasRender[NonEmptyString]

Attributes

Supertypes
trait ExtrasRender[NonEmptyString]
trait CirceNewtypeCodec[NonEmptyString]
trait CirceNewtypeDecoder[NonEmptyString]
trait CirceEncoder[NonEmptyString]
trait CatsEqShow[NonEmptyString]
trait CatsShow[NonEmptyString]
trait CatsEq[NonEmptyString]
trait Newtype[NonEmptyString]
trait NewtypeBase[NonEmptyString]
class Object
trait Matchable
class Any
Show all
Self type
Id.type
object Object extends Newtype[NonEmptyString], CatsEqShow[NonEmptyString], CirceNewtypeCodec[NonEmptyString], ExtrasRender[NonEmptyString]

Attributes

Supertypes
trait ExtrasRender[NonEmptyString]
trait CirceNewtypeCodec[NonEmptyString]
trait CirceNewtypeDecoder[NonEmptyString]
trait CirceEncoder[NonEmptyString]
trait CatsEqShow[NonEmptyString]
trait CatsShow[NonEmptyString]
trait CatsEq[NonEmptyString]
trait Newtype[NonEmptyString]
trait NewtypeBase[NonEmptyString]
class Object
trait Matchable
class Any
Show all
Self type
Object.type
final case class Usage(promptTokens: PromptTokens, completionTokens: CompletionTokens, totalTokens: TotalTokens)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Usage

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Usage.type

Types

type Created = Type
type Id = Type
type Object = Type

Inherited 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

Givens

Givens

given derived$ConfiguredCodec: ConfiguredCodec[Response]
given derived$Eq: Eq[Response]
given derived$Show: Show[Response]
given responseConfiguration: Configuration