|
<< Click to Display Table of Contents >> Navigation: 3. Script Language > AI - Artificial Intelligence Commands > AIC. - Artificial Intelligence Command > AIC. - Artificial Intelligence Command |
AIC.SetApiVersion |
Top |
MiniRobotLanguage (MRL)
AIC.SetApiVersion
Set the API version for OpenAI requests
Intention
The AIC.SetApiVersion command specifies which version of the OpenAI API to use. Useful when specific API features or behavior are required.
Syntax
AIC.SetApiVersion|$$Version
Parameters
P1 - $$Version - API version string (e.g., "2023-12-01-preview", "2024-02-15-preview")
Example
' Use specific API version
AIC.SetApiVersion|2024-02-15-preview
AIC.Ask|What's new?|$$Response
Related Commands
- AIC.SetKey - Set API key
- AIC.SetModelChat - Set model