Array -Commands

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > Arrays and Data-Structures > Array -Commands > !String-Arrays >

Array -Commands

ARR.Send to AI

Previous Top Next


MiniRobotLanguage (MRL)

 

ARR.Send to AI

Send complete Array to AI-Engine.

 

clip0700

 

Intention

 

The ARR.Send to AI Command is designed to send a string array to the AI Engine.

This is particularly useful for chat-based interfaces like OpenAI's,

where the conversation history can be maintained in an array for contextual understanding.

 

 

 

Syntax

 

ARR.Send to AI|P1[|P2]

ARR.Sea|P1[|P2]

 

 

Parameter Explanation

 

•P1 - Array Number: Specifies the array number, which can range from 0 to 32. This array should contain text-only elements.

•P2 - Output Variable (Optional): Specifies the variable that will receive the result of the sending operation. If omitted, the result is placed on the Top Of Stack (TOS).

 

 

Speed in Ticks:

 

-

 

Example

 

'***********************************

' ARR.-Sample for sending a string array to AI Engine

'***********************************

ARR.Send to AI|5|$$RES

' Sends Array 5 to the AI Engine and stores the result in $$RES

 

 

 

 

Remarks

 This Command is for special use.

 

 

Limitations:

 

-

 

 

See also:

 

•     VAB. - Variable Binary

•     VAC. - Variable reCt

•     VAN. - Variable Numeric

•     VAO. - Variable Once

•     VAP. - Variable Point

•     VAR. - Variable Set Value/Clear

•     VAS. - Variable with String

•     VAV. - Variables with Variables

•     VBA. - Variable Binary Append

•     CAL. - mathematical CALculation

•     2.1 : - Definiton-Command

 

See also:

•ARR_---3D---Arrays

•ARR_---4D---Arrays

•SDO.Arr----Sample-Script

•SDO.Arr----Small-Introduction-To-A

•Append Array

•Clm Array

•Clr Array

•Dim Array

•Get Array

•Get FP Array

•Get INT Array

•Pack-Array-to-File

•Pack-Array-to-FileDelimiter

•Pack-Array-to-Var

•Pack-Array-to-Var

•Send to AI

•Set Array

•Set FP Array

•Set INT Array

•Unpack-Array-from-File

•Unpack-Array-from-File_Delimiter

•Unpack-Array-from-Var

•Unpack-Array-from-Var_Delimiiter