FutureProg functions
gptrequest
Overload 1
gptrequest overload 1
Boolean gptrequest(Number Thread, Text Message, Character User, Number MaximumHistory, Text Function)
Available in
- 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.
| Parameter | Type | Description |
|---|---|---|
Thread |
Number |
The GPTThread to Call |
Message |
Text |
The message to send to GPT |
User |
Character |
The user whose history is being invoked |
MaximumHistory |
Number |
The maximum history entries |
Function |
Text |
A Prog to call with the results of this request |
Overload 2
gptrequest overload 2
Boolean gptrequest(Text Thread, Text Message, Character User, Number MaximumHistory, Text Function)
Available in
- 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.
| Parameter | Type | Description |
|---|---|---|
Thread |
Text |
The GPTThread to Call |
Message |
Text |
The message to send to GPT |
User |
Character |
The user whose history is being invoked |
MaximumHistory |
Number |
The maximum history entries |
Function |
Text |
A Prog to call with the results of this request |