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

Top


MiniRobotLanguage (MRL)

 

AIC.SetModelEdit

Set the edit model for AI completions

 

Intention

 

The AIC.SetModelEdit command configures which OpenAI model to use for edit/completion operations (like code completion, text editing).

 

Syntax

 

AIC.SetModelEdit|$$ModelName

 

Parameters

 

P1 - $$ModelName - The model name to use for edits (e.g., "code-davinci-edit-001", "text-davinci-edit-001")

 

Example

 

' Set the edit model for code completions

AIC.SetModelEdit|code-davinci-edit-001

 

' Now perform an edit operation

AIC.Edit|Fix the bugs in this code|$$FixedCode

 

Related Commands

 

- AIC.SetModelChat - Set chat model
- AIC.SetTemp - Set temperature