AIO Commands

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > AI - Artificial Intelligence Commands > AIO. - OpenRouter AI >

AIO Commands

AIO.SetModel

Previous Top Next


MiniRobotLanguage (MRL)

 

AIO.SetModel

 

Description

Sets the AI model to use for subsequent AIO operations.

 

Syntax

AIO.SetModel|$$MODEL_ID

 

Parameters

$$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.

 

Popular Models

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

 

Example

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

 

See Also

AIO.Init

AIO.Query

AIO.GetModel

AIO.ListModels

 

Remarks

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.