choonkeat/elm-openai/3.0.0

OpenAI.Common

Common types used in the OpenAI API.

type alias BinaryBlob =
{ contentType : String
, bytes : Bytes
}
type alias DeleteOutput =
{ id : String
, object : String
, deleted : Bool
}
type alias File =
{ id : String
, object : String
, bytes : Int
, created_at : Posix
, filename : String
, purpose : String
}
type alias Usage =
{ prompt_tokens : Int
, completion_tokens : Int
, total_tokens : Int
}