<< Click to Display Table of Contents >> Navigation: 3. Script Language > AI - Artificial Intelligence Commands > AIC. - Artificial Intelligence Command > AI - Set Parameters > Set Endpoints > AIC. - Artificial Intelligence Command |
MiniRobotLanguage (MRL)
AIC.Set Chat Endpoint
Set the http: - Endpoint for the Open AIC.Ask Chat Command
Intention
Using this command you can alter the Endpoint" of the AIC.Ask Chat and the AIC.Ask Chat Array Commands.
The default endpoint is:
https://api.openai.com/v1/chat/completions
If you want to use another endpoint, maybe because Open AI did changes, you can set the alternative endpoint using this command.
This Command will change the Endpoint only for the Commands: AIC.Ask Chat and the AIC.Ask Chat Array
Syntax
AIC.Set Chat Endpoint[|P1]
Parameter Explanation
P1 - (optional) URL of the Endpoint to use.
Example
-
Remarks
-
Limitations:
Setting an unreachable Endpoint may lead to undefined results, the Script may even end without an error-message.
See also:
•