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

Top


MiniRobotLanguage (MRL)

 

AIC.AskCompletionUnicode

Completion API with Unicode support

 

Intention

 

The AIC.AskCompletionUnicode command uses the OpenAI Completion API with full Unicode support. Use this for legacy completion models when working with international characters.

 

Syntax

 

AIC.AskCompletionUnicode|$$Prompt[|$$RetVar]

 

P1 - $$Prompt - The prompt text for completion

P2 - $$RetVar (optional) - Variable to store the Unicode response

 

Example

 

' Completion with Unicode output

AIC.SetModelComp|text-davinci-003

AIC.AskCompletionUnicode|Write a greeting in Japanese:|$$Result

DBP.$$Result

 

' Complete text with special characters

AIC.AskCompletionUnicode|Complete: © 2024 |$$Year

 

Related Commands

 

- AIC.AskCompletion - Standard completion

- AIC.AskUnicode - Unicode chat