-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.json.example
More file actions
111 lines (111 loc) · 3.78 KB
/
config.json.example
File metadata and controls
111 lines (111 loc) · 3.78 KB
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"resellers": [
{
"reseller_id": "23281",
"authentication": {
"scheme": "reseller-level",
"client_id": "EXAMPLE_CLIENT_ID",
"client_secret": "EXAMPLE_CLIENT_SECRET",
"username": "example@domain.com",
"password": "EXAMPLE_PASSWORD"
},
"customer_domains": [
{
"domain_id": "example.23281.service",
"openai_api_key": "YOUR_OPENAI_API_KEY",
"worker_concurrency": {
"cdr_fetcher": 1,
"recording_query": 2,
"recording_handler": 1,
"transcription": 1,
"summa": 1
},
"cdr_fetcher": {
"polling_interval": "5m",
"min_lookback": "1h",
"initial_lookback": "2h"
},
"recording_query": {
"enabled": true,
"retry_intervals": [3, 5, 7, 10],
"polling_interval": "2m"
},
"recording_handler": {
"enabled": true,
"storage": [
{
"type": "aws_s3",
"enabled": true,
"credentials": {
"access_key": "YOUR_AWS_ACCESS_KEY",
"secret_key": "YOUR_AWS_SECRET_KEY"
},
"bucket": "your-bucket-name",
"retry_intervals": [3, 5, 7, 10]
},
{
"type": "backblaze_b2",
"enabled": false,
"credentials": {
"account_id": "YOUR_B2_ACCOUNT_ID",
"application_key": "YOUR_B2_APPLICATION_KEY"
},
"bucket_id": "YOUR_B2_BUCKET_ID",
"retry_intervals": [3, 5, 7, 10]
},
{
"type": "ftp",
"enabled": false,
"host": "ftp.example.com",
"port": 21,
"username": "ftpuser",
"password": "ftppass",
"path": "/recordings",
"retry_intervals": [3, 5, 7, 10]
},
{
"type": "ftps",
"enabled": false,
"host": "ftps.example.com",
"port": 21,
"username": "ftpsuser",
"password": "ftpspass",
"path": "/recordings",
"retry_intervals": [3, 5, 7, 10]
},
{
"type": "sftp",
"enabled": false,
"host": "sftp.example.com",
"port": 22,
"username": "sftpuser",
"password": "sftppass",
"private_key_path": "/path/to/private_key",
"path": "/recordings",
"retry_intervals": [3, 5, 7, 10]
}
],
"clear_raw_cdr_after_upload": true
},
"transcription": {
"enabled": true,
"retry_intervals": [3, 5, 7, 10],
"polling_interval": "5s",
"clear_transcript_after_upload": true,
"api_url": "http://your.transcription.service/transcribe"
},
"call_summary": {
"enabled": true,
"retry_intervals": [3, 5, 7, 10],
"polling_interval": "15s",
"clear_summary_after_upload": false,
"llm_prompt": "You are a utility AI that summarizes call conversations. Provide a detailed summary of this call conversation. Include key points discussed, any decisions made, and action items if any. Do not ask for more information or apologize if there is not enough information - simply say that the transcript is insufficient for a summary.",
"model": "gpt-4-turbo",
"temperature": 0.7,
"max_tokens": 16384
}
}
]
}
]
}