Usage

openai4s.types.completions.Response.Usage
See theUsage companion object
final case class Usage(promptTokens: PromptTokens, completionTokens: CompletionTokens, totalTokens: TotalTokens)

Attributes

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

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product