Common types used in the OpenAI API.
{ contentType : String
, bytes : Bytes
}
https://beta.openai.com/docs/api-reference/images/create-edit
{ id : String
, object : String
, deleted : Basics.Bool
}
https://beta.openai.com/docs/api-reference/files/delete
{ id : String
, object : String
, bytes : Basics.Int
, created_at : Time.Posix
, filename : String
, purpose : String
}
https://beta.openai.com/docs/api-reference/files
{ prompt_tokens : Basics.Int
, completion_tokens : Basics.Int
, total_tokens : Basics.Int
}