|
<< Click to Display Table of Contents >> Navigation: 3. Script Language > AI - Artificial Intelligence Commands > AIK. - Claude from Anthropic > AIK. - Message Endpoint > AIK. - Message Endpoint |
MiniRobotLanguage (MRL)
AIK.Set Mes Endpoint
Set the Endpoint for the Anthropic Message API
Intention
The AIK.Set Mes Endpoint command configures the endpoint used for interacting with the Anthropic Messages 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 Mes 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/messages"
Example
'***********************************
' AIK.-Sample
'***********************************
' Use local Proxy
$$END=127.0.0.1:5678
AIK.Set Mes Endpoint|$$END
' Reset Endpoint to default
AIK.Set Mes Endpoint
Remarks
-
Limitations:
-
See also:
•