AIC. - Artificial Intelligence Command

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > AI - Artificial Intelligence Commands > AIC. - Artificial Intelligence Command >

AIC. - Artificial Intelligence Command

AIC.SetModelComp

Top


MiniRobotLanguage (MRL)

 

AIC.SetModelComp

Set completion model

 

Intention

 

The AIC.SetModelComp command sets the AI model to use for completion API calls (legacy endpoint). Use models like text-davinci-003, text-curie-001, etc. For GPT-3.5/4, use AIC.SetModel instead.

 

Syntax

 

AIC.SetModelComp|$$Model

 

P1 - $$Model - Completion model name (text-davinci-003, text-curie-001, etc.)

 

Example

 

' Set completion model

AIC.SetModelComp|text-davinci-003

AIC.AskCompletion|Complete this sentence|$$Result

 

' Use faster, cheaper model

AIC.SetModelComp|text-curie-001

 

Related Commands

 

- AIC.SetModel - Set chat model (GPT-3.5/4)

- AIC.AskCompletion - Send completion request