-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.js
executable file
·48 lines (47 loc) · 1.93 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
import { get_gateway_url } from './src/utils'
export default {
app: {
gateway: get_gateway_url("https://newagent-mxoyqq.gateway.dialogflow.cloud.ushakov.co"), // <- enter your gateway URL here, the function is just a helper function for my hosted integration. You don't normally need it
muted: false, // <- mute microphone at start
start_suggestions: [], // <- array of suggestions, displayed at the start screen
fallback_lang: 'ko', // <- fallback language code, if history mode or network is unavailable,
voice: 'native' // <- voice of Text-To-Speech; for reference, see: https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisVoice/voiceURI
},
i18n: {
ko: {
welcomeTitle: "환영합니다.",
muteTitle: "음소거",
inputTitle: "무엇이든 물어보세요!",
sendTitle: "보내기",
microphoneTitle: "음성인식"
},
en: {
welcomeTitle: "Welcome to",
muteTitle: "Mute Toggle",
inputTitle: "Type your message",
sendTitle: "Send",
microphoneTitle: "Voice Input"
},
ru: {
welcomeTitle: "Добро пожаловать в",
muteTitle: "Режим звука",
inputTitle: "Введите ваше сообщение",
sendTitle: "Отправить",
microphoneTitle: "Голосовой ввод"
},
de: {
welcomeTitle: "Wilkommen bei",
muteTitle: "Stumm Modus",
inputTitle: "Schreiben Sie ihre Nachricht",
sendTitle: "Senden",
microphoneTitle: "Spracheingabe"
},
fr: {
welcomeTitle: "Bienvenue à",
muteTitle: "Sound Mode",
inputTitle: "Entrez votre message",
sendTitle: "Envoyer",
microphoneTitle: "Entrée vocale"
}
}
}