|
<< Click to Display Table of Contents >> Navigation: 3. Script Language > AI - Artificial Intelligence Commands > AIK. - Claude from Anthropic > AIK. - Completion Endpoint > AIK. - Completion Endpoint |
MiniRobotLanguage (MRL)
AIK.Set Comp Endpoint
Set the Endpoint for the Anthropic Completion API
Intention
The AIK.Set Comp Endpoint command configures the endpoint used for interacting with the Anthropic Completion API.
This command is only for special usage.
Use this command to direct your completion requests to the desired API endpoint accurately.
It offers flexibility to adapt to different API environments with ease.
Omitting the parameter or leaving it blank sets the endpoint to Anthropic's default, ensuring a reliable fallback.
Syntax
AIK.Set Comp Endpoint|P1
Parameter Explanation
P1 - (optional) URL of the Endpoint to use. If you leave P1 empty or omit P1, then the default URL is set, that is: "https://api.anthropic.com/v1/complete"
Example
'***********************************
' AIK.-Sample
'***********************************
' Use local Proxy
$$END=127.0.0.1:5678
AIK.Set Comp Endpoint|$$END
' Reset Endpoint to default
AIK.Set Comp Endpoint
Remarks
-
Limitations:
-
See also:
•