|
<< Click to Display Table of Contents >> Navigation: 3. Script Language > AI - Artificial Intelligence Commands > AIO. - OpenRouter AI > AIO Commands |
MiniRobotLanguage (MRL)
AIO.SetModel
Sets the AI model to use for subsequent AIO operations.
AIO.SetModel|$$MODEL_ID
$$MODEL_ID (Required)
Model ID with provider prefix. The format is "provider/model-name" where provider is the AI service provider and model-name identifies the specific model.
The following models are commonly used with AIO.SetModel:
openai/gpt-4o - OpenAI GPT-4o - Advanced multimodal model
openai/gpt-4o-mini - OpenAI GPT-4o Mini - Cost-effective version
anthropic/claude-3.5-sonnet - Anthropic Claude 3.5 Sonnet - Strong reasoning capabilities
google/gemini-1.5-pro - Google Gemini 1.5 Pro - Large context window
meta-llama/llama-3.1-70b - Meta Llama 3.1 70B - Open source model
Set the AI model to OpenAI GPT-4o:
AIO.SetModel|openai/gpt-4o
Set the AI model to Anthropic Claude 3.5 Sonnet:
AIO.SetModel|anthropic/claude-3.5-sonnet
The model must be available through your configured AI provider. Use AIO.ListModels to see available models for your account.
Changing the model affects all subsequent AIO.Query calls until another AIO.SetModel command is issued.