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

Top


MiniRobotLanguage (MRL)

 

AIC.DictateText

Dictate/transcribe text from audio

 

Intention

 

The AIC.DictateText command provides speech-to-text functionality using OpenAI's Whisper API. Records audio and converts it to text in one operation.

 

Syntax

 

AIC.DictateText|$$Duration[|$$RetVar]

 

P1 - $$Duration - Recording duration in seconds (0 = manual stop)

P2 - $$RetVar (optional) - Variable to store transcribed text

 

Example

 

' Record and transcribe for 5 seconds

AIC.DictateText|5|$$Text

DBP.$$Text

 

' Record until manually stopped

AIC.DictateText|0|$$Dictation

MBX.You said: $$Dictation

 

Related Commands

 

- AIC.DictateLetter - Dictate single letters

- AIC.Record - Record audio

- AIC.TranscribeText - Transcribe existing file