Usage

openai4s.types.completions.Response.Usage
See theUsage companion class
object Usage

Attributes

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

Members list

Type members

Classlikes

object CompletionTokens extends Newtype[Int], CatsEqShow[Int], CirceNewtypeCodec[Int], ExtrasRender[Int]

Attributes

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

Attributes

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

Attributes

Supertypes
trait ExtrasRender[Int]
trait CirceNewtypeCodec[Int]
trait CirceNewtypeDecoder[Int]
trait CirceEncoder[Int]
trait CatsEqShow[Int]
trait CatsShow[Int]
trait CatsEq[Int]
trait Newtype[Int]
trait NewtypeBase[Int]
class Object
trait Matchable
class Any
Show all
Self type

Types

type CompletionTokens = Type
type PromptTokens = Type
type TotalTokens = 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[Usage]
given derived$Eq: Eq[Usage]
given derived$Show: Show[Usage]