forked from deeppavlov/DeepPavlov
-
Notifications
You must be signed in to change notification settings - Fork 0
/
server_config.json
55 lines (55 loc) · 1.6 KB
/
server_config.json
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
{
"common_defaults": {
"host": "0.0.0.0",
"port": 5000,
"model_args_names": [],
"https": false,
"https_cert_path": "",
"https_key_path": "",
"socket_type": "TCP",
"unix_socket_file": "/tmp/deeppavlov_socket.s",
"socket_launch_message": "launching socket server at"
},
"telegram": {
"token": "",
"conversation_lifetime": 3600,
"start_message": "Welcome to DeepPavlov inference bot!",
"help_message": "Welcome to DeepPavlov inference bot!",
"next_argument_message": "Please enter an argument '{}'",
"unsupported_message": "Unsupported message received."
},
"agent-rabbit": {
"service_name": "",
"agent_namespace": "deeppavlov_agent",
"batch_size": 1,
"utterance_lifetime_sec": 120,
"rabbit_host": "0.0.0.0",
"rabbit_port": 5672,
"rabbit_login": "guest",
"rabbit_password": "guest",
"rabbit_virtualhost": "/"
},
"deprecated": {
"AlexaBot": {
"amazon_cert_lifetime_secs": 3600,
"request_timestamp_tolerance_secs": 150,
"refresh_valid_certs_period_secs": 120,
"intent_name": "AskDeepPavlov",
"slot_name": "raw_input"
},
"MSBot": {
"auth_polling_interval": 3500,
"auth_url": "https://login.microsoftonline.com/botframework.com/oauth2/v2.0/token",
"auth_headers": {
"Host": "login.microsoftonline.com",
"Content-Type": "application/x-www-form-urlencoded"
},
"auth_payload": {
"grant_type": "client_credentials",
"scope": "https://api.botframework.com/.default",
"client_id": "",
"client_secret": ""
}
}
}
}