This repository has been archived by the owner on Sep 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathtalk.full.example.yaml
72 lines (68 loc) · 3.61 KB
/
talk.full.example.yaml
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
server:
# Optional. Use port 8000 if not specified.
port: 8000
# Optional. Send a request to each server to check their accessibility status on startup. This should utilize minimal or no quota.
check-health-on-startup: true
# Optional. Enable auth only if there is at least one password
passwords:
- "pass1"
- "my-pass"
- "password"
# When utilising TLS, server.port will be ignored, 80 and 443 will be used. Request to HTTP(80) will be redirected to HTTPS(443)
# By default, CertMagic stores assets on the local file system in $HOME/.local/share/certmagic (and honors $XDG_DATA_HOME if set). CertMagic will create the directory if it does not exist. If writes are denied, things will not be happy, so make sure CertMagic can write to it!
# How to persist cache of certs? Example: docker run -v /opt/certmagic:/home/appuser/.local/share/certmagic
tls:
auto:
email: "[email protected]"
domains:
- "a.example.com"
- "b.example.com"
speech-to-text:
whisper: open-ai-01
# must enable Resource Manager API, see https://console.cloud.google.com/apis/api/cloudresourcemanager.googleapis.com ,
# We only use Resource Manager API to query your project names. Without project names, we're unable to list your recognizers.
# must enable Speech-to-Text API, see https://console.cloud.google.com/apis/api/speech.googleapis.com
google: google-01
llm:
chat-gpt: open-ai-02
gemini: gemini-01
text-to-speech:
elevenlabs: elevenlabs-01
# must enable Text-to-Speech API, see https://console.cloud.google.com/apis/api/texttospeech.googleapis.com
google: google-02
# provide your confidential information below.
creds:
open-ai-01: "sk-2dwY1IAeEysbnDNuAKJDXofX1IAeEysbnDNuAKJDXofXF5"
open-ai-02: "sk-5jhJGy48GBj49gj45hUg4j0J4548GB58H4994jlax3Ki3H"
elevenlabs-01: "711sfpb9kk15sds8m4czuk5rozvp43a4"
gemini-01: "AIjh8hfY-sadf8hDFGYSxxMO_bdf4Gsdfi1A"
# create a service account at https://console.cloud.google.com/iam-admin/serviceaccounts/create
# and download the json file follow this tutorial: https://cloud.google.com/iam/docs/keys-list-get#get-key
google-01: |
{
"type": "service_account",
"project_id": "extreme-voice-356782",
"private_key_id": "8adsf7634894j57h6uoi45h6id86g9fg8df09g",
"private_key": "-----BEGIN PRIVATE KEY-----\xxxxxxxxxxxxxxxx=\n-----END PRIVATE KEY-----\n",
"client_email": "[email protected]",
"client_id": "64565467568678798789789768",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://oauth2.googleapis.com/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/speech-and-text-3463456357dfgm.gserviceaccount.com",
"universe_domain": "googleapis.com"
}
google-02: |
{
"type": "service_account",
"project_id": "extreme-voice-356782",
"private_key_id": "8adsf7634894j57h6uoi45h6id86g9fg8df09g",
"private_key": "-----BEGIN PRIVATE KEY-----\xxxxxxxxxxxxxxxx=\n-----END PRIVATE KEY-----\n",
"client_email": "[email protected]",
"client_id": "64565467568678798789789768",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://oauth2.googleapis.com/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/speech-and-text-3463456357dfgm.gserviceaccount.com",
"universe_domain": "googleapis.com"
}