Packages

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

Current section

Files

Jump to
glopenai include glopenai@batch_Batch.hrl
Raw

include/glopenai@batch_Batch.hrl

-record(batch, {
id :: binary(),
object :: binary(),
endpoint :: binary(),
model :: gleam@option:option(binary()),
errors :: gleam@option:option(glopenai@batch:batch_errors()),
input_file_id :: binary(),
completion_window :: binary(),
status :: glopenai@batch:batch_status(),
output_file_id :: gleam@option:option(binary()),
error_file_id :: gleam@option:option(binary()),
created_at :: integer(),
in_progress_at :: gleam@option:option(integer()),
expires_at :: gleam@option:option(integer()),
finalizing_at :: gleam@option:option(integer()),
completed_at :: gleam@option:option(integer()),
failed_at :: gleam@option:option(integer()),
expired_at :: gleam@option:option(integer()),
cancelling_at :: gleam@option:option(integer()),
cancelled_at :: gleam@option:option(integer()),
request_counts :: gleam@option:option(glopenai@batch:batch_request_counts()),
usage :: gleam@option:option(glopenai@shared:response_usage()),
metadata :: gleam@option:option(gleam@dynamic:dynamic_())
}).