get_visual_input
Fillers that will be played while the AI Agent is running the get_visual_input
function. This function is enabled to be ran when the enable_vision
property is set to true
in the ai.params
method.
Name | Type | Default | Description |
---|---|---|---|
get_visual_input Optional | object | - | An object containing language-specific filler phrases. |
Language-Specific Fillers
Language Code | Type | Description |
---|---|---|
[key: string] | string[] | An array of filler phrases that will be played during visual input processing. The key is a valid language code and the value is an array of filler phrases that are selected from randomly. |
Supported Language Codes
The get_visual_input
function accepts an object with the key being one of the supported language codes and the value being an array of filler phrases.
The following is the list of supported language codes:
Code | Description |
---|---|
default | Default language set by the user in the ai.languages property |
bg | Bulgarian |
ca | Catalan |
cs | Czech |
da | Danish |
da-DK | Danish (Denmark) |
de | German |
de-CH | German (Switzerland) |
el | Greek |
en | English |
en-AU | English (Australia) |
en-GB | English (United Kingdom) |
en-IN | English (India) |
en-NZ | English (New Zealand) |
en-US | English (United States) |
es | Spanish |
es-419 | Spanish (Latin America) |
et | Estonian |
fi | Finnish |
fr | French |
fr-CA | French (Canada) |
hi | Hindi |
hu | Hungarian |
id | Indonesian |
it | Italian |
ja | Japanese |
ko | Korean |
ko-KR | Korean (South Korea) |
lt | Lithuanian |
lv | Latvian |
ms | Malay |
multi | Multilingual (Spanish + English) |
nl | Dutch |
nl-BE | Flemish (Belgian Dutch) |
no | Norwegian |
pl | Polish |
pt | Portuguese |
pt-BR | Portuguese (Brazil) |
pt-PT | Portuguese (Portugal) |
ro | Romanian |
ru | Russian |
sk | Slovak |
sv | Swedish |
sv-SE | Swedish (Sweden) |
th | Thai |
th-TH | Thai (Thailand) |
tr | Turkish |
uk | Ukrainian |
vi | Vietnamese |
zh | Chinese (Simplified) |
zh-CN | Chinese (Simplified, China) |
zh-Hans | Chinese (Simplified Han) |
zh-Hant | Chinese (Traditional Han) |
zh-HK | Chinese (Traditional, Hong Kong) |
zh-TW | Chinese (Traditional, Taiwan) |
Example
- YAML
- JSON
get_visual_input:
en-US:
- 'Analyzing visual input, please wait.'
- 'I am scanning my surroundings for data, this won''t take long.'
- Please wait briefly while I process the data in front of me.
- 'I am currently digitizing the data so I can proceed, please hold on.'
es-ES:
- 'Analizando entrada visual, por favor espera.'
- 'Estoy escaneando mi entorno para obtener datos, esto no tardará mucho.'
- Por favor espera un momento mientras proceso los datos frente a mí.
- Actualmente estoy digitalizando los datos para poder proceder, por favor espera.
{
"get_visual_input": {
"en-US": [
"Analyzing visual input, please wait.",
"I am scanning my surroundings for data, this won't take long.",
"Please wait briefly while I process the data in front of me.",
"I am currently digitizing the data so I can proceed, please hold on."
],
"es-ES": [
"Analizando entrada visual, por favor espera.",
"Estoy escaneando mi entorno para obtener datos, esto no tardará mucho.",
"Por favor espera un momento mientras proceso los datos frente a mí.",
"Actualmente estoy digitalizando los datos para poder proceder, por favor espera."
]
}
}