<< Click to Display Table of Contents >> Navigation: 3. Script Language > AI - Artificial Intelligence Commands > AIC. - Artificial Intelligence Command > ! Open AI - Whisper > Open AI - Whisper Commands |
MiniRobotLanguage (MRL)
AIC.Set Whisper Default / AIC.swd
Resets or sets default parameters for the speech-to-text process.
Intention
The AIC.Set Whisper Default command is designed to initialize or reset important parameters.
This ensures that any content in the internal registers does not negatively influence the outcome of the speech-to-text process.
By setting these parameters to their default values, the system can achieve optimal performance and accuracy.
In detail the command will do this:
•Clear or set the PosPrompt Register
•Clear or set the Language Register
•Clear or set the Temperature Register
•Set the Output Format to "text"
•Set the Model to the default Model
Especially the PosPrompt and the Temperature Register are used for other A.I.-Models also therefore it makes sense to
apply this command before using Whisper.
If you have Specific Words/Acronyms, the Setting P1 to a Prompt, can correct specific words or acronyms that the model often misrecognizes.
For instance, if you use this as P1: "The transcript is about OpenAI which makes technology like DALL·E, GPT-3, and ChatGPT..."
this will improve the transcription of words like DALL·E and GPT-3.
You can use a prompt to enhance the quality of the transcripts generated by the Whisper API. The model will attempt to match the style of the prompt, making it more likely to use capitalization and punctuation if the prompt does. However, the current prompting system is more limited than other language models and only provides limited control over the generated audio. Here are some ways prompting can assist:
•Specific Words/Acronyms: Prompts can correct specific words or acronyms that the model often misrecognizes. For instance, the prompt "The transcript is about OpenAI which makes technology like DALL·E, GPT-3, and ChatGPT..." can improve the transcription of words like DALL·E and GPT-3.
•Preserving Context: To maintain the context of a segmented file, prompt the model with the transcript of the preceding segment. This makes the transcript more accurate, as the model will use the relevant information from the previous audio.
•Punctuation: The model might sometimes skip punctuation. This can be rectified by using a prompt that includes punctuation, e.g., "Hello, welcome to my lecture."
•Filler Words: The model may omit common filler words. To retain these in your transcript, use a prompt containing them, e.g., "Umm, let me think like, hmm... Okay, here's what I'm, like, thinking."
•Writing Styles: Some languages, like Chinese, have different writing styles (simplified or traditional). Use a prompt in your preferred style to guide the model.
Syntax
AIC.Set Whisper Default[|P1][|P2][|P3]
AIC.Swd[|P1][|P2][|P3]
Parameter Explanation
•P1 - Optional. Positive Prompt Text. If omitted, the default value is an empty string ("").
•P2 - Optional. The Language (see below). If omitted, the default value is an empty string ("").
•P3 - Optional. A float parameter representing the Temperature. It should be a value between 0.1 and 1. If omitted, the default value is 0.
Here is a List of supported languages at current date.
Number |
Language |
0 |
Afrikaans |
1 |
Arabic |
2 |
Armenian |
3 |
Azerbaijani |
4 |
Belarusian |
5 |
Bosnian |
6 |
Bulgarian |
7 |
Catalan |
8 |
Chinese |
9 |
Croatian |
10 |
Czech |
11 |
Danish |
12 |
Dutch |
13 |
English |
14 |
Estonian |
15 |
Finnish |
16 |
French |
17 |
Galician |
18 |
German |
19 |
Greek |
20 |
Hebrew |
21 |
Hindi |
22 |
Hungarian |
23 |
Icelandic |
24 |
Indonesian |
25 |
Italian |
26 |
Japanese |
27 |
Kannada |
28 |
Kazakh |
29 |
Korean |
30 |
Latvian |
31 |
Lithuanian |
32 |
Macedonian |
33 |
Malay |
34 |
Marathi |
35 |
Maori |
36 |
Nepali |
37 |
Norwegian |
38 |
Persian |
39 |
Polish |
40 |
Portuguese |
41 |
Romanian |
42 |
Russian |
43 |
Serbian |
44 |
Slovak |
45 |
Slovenian |
46 |
Spanish |
47 |
Swahili |
48 |
Swedish |
49 |
Tagalog |
50 |
Tamil |
51 |
Thai |
52 |
Turkish |
53 |
Ukrainian |
54 |
Urdu |
55 |
Vietnamese |
56 |
Welsh |
Example
'***********************************
' AIC.-Sample
'***********************************
' Most often you can just use the command "plain" without parameters
AIC.Set Whisper Default
' Using Parameters could look like this, and will help the AI to transcribe things properly.
$$PRO=ZyntriQix, Digique Plus, CynapseFive, VortiQore V8, EchoNix Array,
$$PRO+OrbitalLink Seven, DigiFractal Matrix, PULSE, RAPT, B.R.I.C.K., Q.U.A.R.T.Z., F.L.I.N.T.
AIC.Set Whisper Default|$$PRO
AIC.Set Whisper Default|$$PRO|German
Remarks
-
Limitations:
-
See also:
•