FutureProg functions

gptrequest

OpenAI · computer function, computer program, standard futureprog

Boolean gptrequest(Number Thread, Text Message, Character User, Number MaximumHistory, Text Function)
Contexts: computer function, computer program, standard futureprog
This function will schedule a call to GPT including a thread history, and call the specified prog with the outcome. Returns true if successfully queued.
Thread: The GPTThread to Call
Message: The message to send to GPT
User: The user whose history is being invoked
MaximumHistory: The maximum history entries
Function: A Prog to call with the results of this request

Boolean gptrequest(Text Thread, Text Message, Character User, Number MaximumHistory, Text Function)
Contexts: computer function, computer program, standard futureprog
This function will schedule a call to GPT including a thread history, and call the specified prog with the outcome. Returns true if successfully queued.
Thread: The GPTThread to Call
Message: The message to send to GPT
User: The user whose history is being invoked
MaximumHistory: The maximum history entries
Function: A Prog to call with the results of this request

← Back to FutureProg functions