Packages

Sans-IO OpenAI API client for Gleam, ported from async-openai

Current section

Files

Jump to
glopenai include glopenai@completion_CreateCompletionResponse.hrl
Raw

include/glopenai@completion_CreateCompletionResponse.hrl

-record(create_completion_response, {
id :: binary(),
choices :: list(glopenai@completion:completion_choice()),
created :: integer(),
model :: binary(),
system_fingerprint :: gleam@option:option(binary()),
object :: binary(),
usage :: gleam@option:option(glopenai@shared:completion_usage())
}).