-
Notifications
You must be signed in to change notification settings - Fork 4
/
config.sample.js
28 lines (27 loc) · 1.05 KB
/
config.sample.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
// Create a copy of this file and name it config.js
module.exports = {
model: 'openai', // replicate, ollama, openai, gemini
socketServerPort: 11434, // Port for the socket server
tts: 'piper', // say, coqui, piper, elevenlabs, elevenlabsSync, playht
showSubtitles: false, // show subtitles of what is being said
ollamaModel: 'llama2:70b', // model to use with ollama provider (only used if model is ollama)
openAImodel: 'gpt-4-turbo', // replace with fine-tuned model (only used if model is openai)
replicateApiToken: 'your-replicate-api-token-here',
openAIApiToken: 'your-openai-api-token-here',
geminiApiToken: 'your-gemini-api-token-here',
elevenLabs: {
apiKey: 'your-eleven-labs-api-key-here',
voiceId: 'your-eleven-labs-voice-id-here',
model: 'eleven_turbo_v2',
outputFormat: 'pcm_16000',
sampleRate: 16000,
voiceSettings: {
stability: 0.2, // default is 50
similarity_boost: 0.8, // default is 80,
},
},
playHT: {
secret: 'your-playht-secret-here',
userId: 'your-playht-user-id-here',
},
};