Handbook
Glossary
first-chat-completion ( json -- string/f )
Vocabulary
discord
.
chatgpt-bot
Inputs
json
an
object
Outputs
string/f
an
object
Definition
USING:
assocs
discord
sequences
;
IN:
discord.chatgpt-bot
:
first-chat-completion
( json -- string/f )
"choices"
of
[
"chatgpt gave empty response"
reply-message
f
]
[
first
"message"
of
"content"
of
]
if-empty
;