Packages

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

Current section

Files

Jump to
glopenai include glopenai@chat_ChatCompletionResponseMessage.hrl
Raw

include/glopenai@chat_ChatCompletionResponseMessage.hrl

-record(chat_completion_response_message, {
role :: glopenai@chat:role(),
content :: gleam@option:option(binary()),
refusal :: gleam@option:option(binary()),
tool_calls :: gleam@option:option(list(glopenai@chat:tool_call())),
annotations :: gleam@option:option(list(glopenai@chat:response_message_annotation()))
}).