first-chat-completion ( json -- string/f )


Vocabulary
discord.chatgpt-bot

Inputs
jsonan object


Outputs
string/fan object


Definition


: first-chat-completion ( json -- string/f )
"choices" of
[ "chatgpt gave empty response" reply-message f ]
[ first "message" of "content" of ] if-empty ;