dream

Форк
0
/
pipeline_conf.json 
412 строк · 17.8 Кб
1
{
2
    "connectors": {
3
        "sentseg": {
4
            "protocol": "http",
5
            "timeout": 1.5,
6
            "url": "http://sentseg:8011/sentseg"
7
        },
8
        "ner": {
9
            "protocol": "http",
10
            "timeout": 1.5,
11
            "url": "http://ner:8021/ner"
12
        }
13
    },
14
    "services": {
15
        "last_chance_service": {
16
            "connector": {
17
                "protocol": "python",
18
                "class_name": "PredefinedTextConnector",
19
                "response_text": "Sorry, something went wrong inside. Please tell me, what did you say.",
20
                "annotations": {
21
                    "sentseg": {
22
                        "punct_sent": "Sorry, something went wrong inside. Please tell me, what did you say.",
23
                        "segments": [
24
                            "Sorry, something went wrong inside.",
25
                            "Please tell me, what did you say."
26
                        ]
27
                    }
28
                }
29
            },
30
            "state_manager_method": "add_bot_utterance_last_chance",
31
            "tags": [
32
                "last_chance"
33
            ],
34
            "is_enabled": true,
35
            "source": {
36
                "component": "components/sbDcAqiNqxFz.yml",
37
                "service": "services/agent_services/service_configs/dream"
38
            }
39
        },
40
        "timeout_service": {
41
            "connector": {
42
                "protocol": "python",
43
                "class_name": "PredefinedTextConnector",
44
                "response_text": "Sorry, I need to think more on that. Let's talk about something else.",
45
                "annotations": {
46
                    "sentseg": {
47
                        "punct_sent": "Sorry, I need to think more on that. Let's talk about something else.",
48
                        "segments": [
49
                            "Sorry, I need to think more on that.",
50
                            "Let's talk about something else."
51
                        ]
52
                    }
53
                }
54
            },
55
            "state_manager_method": "add_bot_utterance_last_chance",
56
            "tags": [
57
                "timeout"
58
            ],
59
            "is_enabled": true,
60
            "source": {
61
                "component": "components/rFC0YJOoDFvS.yml",
62
                "service": "services/agent_services/service_configs/dream"
63
            }
64
        },
65
        "annotators": {
66
            "robot_notifications": {
67
                "connector": {
68
                    "protocol": "http",
69
                    "timeout": 1.0,
70
                    "url": "http://robot-notifications:8036/check"
71
                },
72
                "dialog_formatter": "state_formatters.dp_formatters:utt_non_punct_dialog",
73
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
74
                "previous_services": [],
75
                "state_manager_method": "update_attributes",
76
                "is_enabled": true,
77
                "source": {
78
                    "component": "components/dfmgnoie4wrn34r98.yml",
79
                    "service": "services/robot_notifications/service_configs/robot-notifications"
80
                }
81
            },
82
            "sentseg": {
83
                "connector": {
84
                    "protocol": "http",
85
                    "timeout": 1.5,
86
                    "url": "http://sentseg:8011/sentseg"
87
                },
88
                "dialog_formatter": "state_formatters.dp_formatters:preproc_last_human_utt_dialog",
89
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
90
                "previous_services": [],
91
                "state_manager_method": "add_annotation",
92
                "is_enabled": true,
93
                "source": {
94
                    "component": "components/gM4fEjvVqLlSRRRkQfds2g.yml",
95
                    "service": "annotators/SentSeg/service_configs/sentseg"
96
                }
97
            },
98
            "badlisted_words": {
99
                "connector": {
100
                    "protocol": "http",
101
                    "timeout": 1.0,
102
                    "url": "http://badlisted-words:8018/badlisted_words"
103
                },
104
                "dialog_formatter": "state_formatters.dp_formatters:preproc_last_human_utt_dialog",
105
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
106
                "previous_services": [],
107
                "state_manager_method": "add_annotation",
108
                "is_enabled": true,
109
                "source": {
110
                    "component": "components/gySZ51dyqYi9TOFr6zY5kA.yml",
111
                    "service": "annotators/BadlistedWordsDetector/service_configs/badlisted-words"
112
                }
113
            },
114
            "intent_catcher": {
115
                "connector": {
116
                    "protocol": "http",
117
                    "timeout": 1.0,
118
                    "url": "http://intent-catcher-commands:8014/detect"
119
                },
120
                "dialog_formatter": "state_formatters.dp_formatters:last_utt_sentseg_segments_dialog",
121
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
122
                "previous_services": [
123
                    "annotators.sentseg"
124
                ],
125
                "state_manager_method": "add_annotation",
126
                "is_enabled": true,
127
                "source": {
128
                    "component": "components/1IjC3r9b1VJ082ceINXzHQ.yml",
129
                    "service": "annotators/IntentCatcherTransformers/service_configs/intent-catcher"
130
                }
131
            },
132
            "ner": {
133
                "connector": {
134
                    "protocol": "http",
135
                    "timeout": 1.5,
136
                    "url": "http://ner:8021/ner"
137
                },
138
                "dialog_formatter": "state_formatters.dp_formatters:ner_formatter_dialog",
139
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
140
                "previous_services": [
141
                    "annotators.sentseg"
142
                ],
143
                "state_manager_method": "add_annotation",
144
                "is_enabled": true,
145
                "source": {
146
                    "component": "components/3RDNPBdybjBlSQZqcc7nGQ.yml",
147
                    "service": "annotators/NER_deeppavlov/service_configs/ner"
148
                }
149
            },
150
            "entity_detection": {
151
                "connector": {
152
                    "protocol": "http",
153
                    "timeout": 1.0,
154
                    "url": "http://entity-detection:8103/respond"
155
                },
156
                "dialog_formatter": "state_formatters.dp_formatters:entity_detection_formatter_dialog",
157
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
158
                "previous_services": [
159
                    "annotators.sentseg"
160
                ],
161
                "state_manager_method": "add_annotation",
162
                "is_enabled": true,
163
                "source": {
164
                    "component": "components/05PqJXVd7gV7DqslN5z3A.yml",
165
                    "service": "annotators/entity_detection/service_configs/entity-detection"
166
                }
167
            }
168
        },
169
        "response_annotators": {
170
            "ner": {
171
                "connector": {
172
                    "protocol": "http",
173
                    "timeout": 1.5,
174
                    "url": "http://ner:8021/ner"
175
                },
176
                "dialog_formatter": "state_formatters.dp_formatters:ner_formatter_last_bot_dialog",
177
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
178
                "previous_services": [
179
                    "response_annotator_selectors",
180
                    "response_annotators.sentseg"
181
                ],
182
                "state_manager_method": "add_annotation_prev_bot_utt",
183
                "is_enabled": true,
184
                "source": {
185
                    "component": "components/3RDNPBdybjBlSQZqcc7nGQ.yml",
186
                    "service": "annotators/NER_deeppavlov/service_configs/ner"
187
                }
188
            }
189
        },
190
        "response_annotator_selectors": {
191
            "connector": {
192
                "protocol": "python",
193
                "class_name": "skill_selectors.post_annotator_selector.connector:PostAnnotatorSelectorConnector",
194
                "annotator_names": [
195
                    "sentseg",
196
                    "ner"
197
                ]
198
            },
199
            "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
200
            "tags": [
201
                "selector"
202
            ],
203
            "is_enabled": true,
204
            "source": {
205
                "component": "components/LXrJDIf43gwNmPMNXG5Eg.yml",
206
                "service": "services/response_annotator_selectors/service_configs/agent"
207
            }
208
        },
209
        "candidate_annotators": {
210
            "badlisted_words": {
211
                "connector": {
212
                    "protocol": "http",
213
                    "timeout": 1.0,
214
                    "url": "http://badlisted-words:8018/badlisted_words_batch"
215
                },
216
                "dialog_formatter": "state_formatters.dp_formatters:hypotheses_list",
217
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
218
                "previous_services": [
219
                    "skills"
220
                ],
221
                "state_manager_method": "add_hypothesis_annotation_batch",
222
                "is_enabled": true,
223
                "source": {
224
                    "component": "components/gySZ51dyqYi9TOFr6zY5kA.yml",
225
                    "service": "annotators/BadlistedWordsDetector/service_configs/badlisted-words"
226
                }
227
            },
228
            "sentence_ranker": {
229
                "connector": {
230
                    "protocol": "http",
231
                    "timeout": 1.0,
232
                    "url": "http://sentence-ranker:8128/respond"
233
                },
234
                "dialog_formatter": "state_formatters.dp_formatters:sentence_ranker_formatter",
235
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
236
                "previous_services": [
237
                    "skills"
238
                ],
239
                "state_manager_method": "add_hypothesis_annotation_batch",
240
                "is_enabled": true,
241
                "source": {
242
                    "component": "components/XGwmAHtAOu0NDqqG3QCJw.yml",
243
                    "service": "services/sentence_ranker/service_configs/sentence-ranker"
244
                }
245
            }
246
        },
247
        "skill_selectors": {
248
            "rule_based_selector": {
249
                "connector": {
250
                    "protocol": "python",
251
                    "class_name": "skill_selectors.rule_based_selector.connector:RuleBasedSkillSelectorConnector"
252
                },
253
                "dialog_formatter": "state_formatters.dp_formatters:base_skill_selector_formatter_dialog",
254
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
255
                "previous_services": [
256
                    "annotators"
257
                ],
258
                "tags": [
259
                    "selector"
260
                ],
261
                "is_enabled": true,
262
                "source": {
263
                    "component": "components/xSwFvtAUdvtQosvzpb7oMg.yml",
264
                    "service": "skill_selectors/rule_based_selector/service_configs/agent"
265
                }
266
            }
267
        },
268
        "skills": {
269
            "dff_program_y_skill": {
270
                "connector": {
271
                    "protocol": "http",
272
                    "timeout": 2.0,
273
                    "url": "http://dff-program-y-skill:8008/respond"
274
                },
275
                "dialog_formatter": "state_formatters.dp_formatters:dff_program_y_skill_formatter",
276
                "response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service",
277
                "previous_services": [
278
                    "skill_selectors"
279
                ],
280
                "state_manager_method": "add_hypothesis",
281
                "is_enabled": true,
282
                "source": {
283
                    "component": "components/ckUclxqUplyzwmnYyixEw.yml",
284
                    "service": "skills/dff_program_y_skill/service_configs/dff-program-y-skill"
285
                }
286
            },
287
            "dff_intent_responder_skill": {
288
                "connector": {
289
                    "protocol": "http",
290
                    "timeout": 2.0,
291
                    "url": "http://dff-intent-responder-skill:8012/respond"
292
                },
293
                "dialog_formatter": "state_formatters.dp_formatters:dff_intent_responder_skill_formatter",
294
                "response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service",
295
                "previous_services": [
296
                    "skill_selectors"
297
                ],
298
                "state_manager_method": "add_hypothesis",
299
                "is_enabled": true,
300
                "source": {
301
                    "component": "components/CmQGq1Xn5YOaMwNIb4bEpA.yml",
302
                    "service": "skills/dff_intent_responder_skill/service_configs/dff-intent-responder-skill"
303
                }
304
            },
305
            "dff_command_selector_skill": {
306
                "connector": {
307
                    "protocol": "http",
308
                    "timeout": 2.0,
309
                    "url": "http://dff-command-selector-skill:8148/respond"
310
                },
311
                "dialog_formatter": "state_formatters.dp_formatters:dff_command_selector_skill_formatter",
312
                "response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service",
313
                "previous_services": [
314
                    "skill_selectors"
315
                ],
316
                "state_manager_method": "add_hypothesis",
317
                "is_enabled": true,
318
                "source": {
319
                    "component": "components/jskfdgh384gtnfdsrkfg78.yml",
320
                    "service": "skills/dff_command_selector_skill/service_configs/dff-command-selector-skill"
321
                }
322
            },
323
            "dummy_skill": {
324
                "connector": {
325
                    "protocol": "python",
326
                    "class_name": "skills.dummy_skill.connector:DummySkillConnector"
327
                },
328
                "dialog_formatter": "state_formatters.dp_formatters:utt_sentrewrite_modified_last_dialog",
329
                "response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service",
330
                "previous_services": [
331
                    "skill_selectors"
332
                ],
333
                "state_manager_method": "add_hypothesis",
334
                "is_enabled": true,
335
                "source": {
336
                    "component": "components/uYkoK0vRp4bbIg9akI1yw.yml",
337
                    "service": "skills/dummy_skill/service_configs/agent"
338
                }
339
            },
340
            "dialogpt": {
341
                "connector": {
342
                    "protocol": "http",
343
                    "timeout": 3.0,
344
                    "url": "http://dialogpt:8125/respond"
345
                },
346
                "dialog_formatter": "state_formatters.dp_formatters:last_utt_and_history_dialog",
347
                "response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service",
348
                "previous_services": [
349
                    "skill_selectors"
350
                ],
351
                "state_manager_method": "add_hypothesis",
352
                "is_enabled": true,
353
                "source": {
354
                    "component": "components/7Dxjy1ZpQEAoPcEeABGBLg.yml",
355
                    "service": "services/dialogpt/service_configs/dialogpt"
356
                }
357
            }
358
        },
359
        "response_selectors": {
360
            "response_selector": {
361
                "connector": {
362
                    "protocol": "http",
363
                    "timeout": 1.0,
364
                    "url": "http://ranking-based-response-selector:8002/respond"
365
                },
366
                "dialog_formatter": "state_formatters.dp_formatters:cropped_dialog",
367
                "response_formatter": "state_formatters.dp_formatters:base_response_selector_formatter_service",
368
                "previous_services": [
369
                    "candidate_annotators"
370
                ],
371
                "tags": [
372
                    "selector"
373
                ],
374
                "state_manager_method": "add_bot_utterance",
375
                "is_enabled": true,
376
                "source": {
377
                    "component": "components/YJzc7NwGrLmKp6gfZJh7X1.yml",
378
                    "service": "response_selectors/ranking_based_response_selector/service_configs/ranking-based-response-selector"
379
                }
380
            }
381
        },
382
        "actors": {
383
            "robot_command_sender": {
384
                "connector": {
385
                    "protocol": "http",
386
                    "timeout": 1.0,
387
                    "url": "http://robot-command-sender:8035/send"
388
                },
389
                "dialog_formatter": "state_formatters.dp_formatters:last_human_bot_annotated_utterance",
390
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
391
                "previous_services": [
392
                    "response_selectors"
393
                ],
394
                "state_manager_method": "update_attributes",
395
                "source": {
396
                    "component": "components/iigrietu2934i2nh34e0.yml",
397
                    "service": "services/robot_command_sender/service_configs/robot-command-sender"
398
                }
399
            }
400
        }
401
    },
402
    "metadata": {
403
        "display_name": "Dream Embodied",
404
        "author": "DeepPavlov",
405
        "description": "Embodied AI version of DeepPavlov Dream Socialbot that allows user to control remote clients using natural language through dp-agents.",
406
        "version": "0.1.0",
407
        "date_created": "2022-12-12T12:12:00",
408
        "ram_usage": "50 GB",
409
        "gpu_usage": "50 GB",
410
        "disk_usage": "50 GB"
411
    }
412
}

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.