dream
349 строк · 15.0 Кб
1{
2"connectors": {
3"sentseg": {
4"protocol": "http",
5"timeout": 1.5,
6"url": "http://sentseg:8011/sentseg"
7}
8},
9"services": {
10"last_chance_service": {
11"connector": {
12"protocol": "python",
13"class_name": "PredefinedTextConnector",
14"response_text": "Sorry, something went wrong inside. Please tell me, what did you say.",
15"annotations": {
16"sentseg": {
17"punct_sent": "Sorry, something went wrong inside. Please tell me, what did you say.",
18"segments": [
19"Sorry, something went wrong inside.",
20"Please tell me, what did you say."
21]
22}
23}
24},
25"state_manager_method": "add_bot_utterance_last_chance",
26"tags": [
27"last_chance"
28],
29"is_enabled": true,
30"source": {
31"component": "components/dBe4eyhkP0Dj.yml",
32"service": "services/agent_services/service_configs/dream_multimodal"
33}
34},
35"timeout_service": {
36"connector": {
37"protocol": "python",
38"class_name": "PredefinedTextConnector",
39"response_text": "Sorry, I need to think more on that. Let's talk about something else.",
40"annotations": {
41"sentseg": {
42"punct_sent": "Sorry, I need to think more on that. Let's talk about something else.",
43"segments": [
44"Sorry, I need to think more on that.",
45"Let's talk about something else."
46]
47}
48}
49},
50"state_manager_method": "add_bot_utterance_last_chance",
51"tags": [
52"timeout"
53],
54"is_enabled": true,
55"source": {
56"component": "components/w5FfsS2I9Zpz.yml",
57"service": "services/agent_services/service_configs/dream_multimodal"
58}
59},
60"annotators": {
61"sentseg": {
62"connector": {
63"protocol": "http",
64"timeout": 1.5,
65"url": "http://sentseg:8011/sentseg"
66},
67"dialog_formatter": "state_formatters.dp_formatters:preproc_last_human_utt_dialog",
68"response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
69"previous_services": [],
70"state_manager_method": "add_annotation",
71"is_enabled": true,
72"source": {
73"component": "components/gM4fEjvVqLlSRRRkQfds2g.yml",
74"service": "annotators/SentSeg/service_configs/sentseg"
75}
76},
77"badlisted_words": {
78"connector": {
79"protocol": "http",
80"timeout": 1.0,
81"url": "http://badlisted-words:8018/badlisted_words"
82},
83"dialog_formatter": "state_formatters.dp_formatters:preproc_last_human_utt_dialog",
84"response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
85"previous_services": [],
86"state_manager_method": "add_annotation",
87"is_enabled": true,
88"source": {
89"component": "components/gySZ51dyqYi9TOFr6zY5kA.yml",
90"service": "annotators/BadlistedWordsDetector/service_configs/badlisted-words"
91}
92},
93"intent_catcher": {
94"connector": {
95"protocol": "http",
96"timeout": 1.0,
97"url": "http://intent-catcher:8014/detect"
98},
99"dialog_formatter": "state_formatters.dp_formatters:last_utt_sentseg_segments_dialog",
100"response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
101"previous_services": [
102"annotators.sentseg"
103],
104"state_manager_method": "add_annotation",
105"is_enabled": true,
106"source": {
107"component": "components/1IjC3r9b1VJ082ceINXzHQ.yml",
108"service": "annotators/IntentCatcherTransformers/service_configs/intent-catcher"
109}
110},
111"fromage": {
112"connector": {
113"protocol": "http",
114"timeout": 90.0,
115"url": "http://fromage:8069/respond"
116},
117"dialog_formatter": "state_formatters.dp_formatters:fromage_formatter",
118"response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
119"state_manager_method": "add_annotation",
120"is_enabled": true,
121"source": {
122"component": "components/8iHHdjsnfhewkl.yml",
123"service": "services/fromage/service_configs/fromage"
124}
125}
126},
127"response_annotators": {
128"sentseg": {
129"connector": {
130"protocol": "http",
131"timeout": 1.5,
132"url": "http://sentseg:8011/sentseg"
133},
134"dialog_formatter": "state_formatters.dp_formatters:last_bot_utt_dialog",
135"response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
136"previous_services": [
137"response_annotator_selectors"
138],
139"state_manager_method": "add_annotation_prev_bot_utt",
140"is_enabled": true,
141"source": {
142"component": "components/1Q9QXih1U2zhCpVm9zxdsA.yml",
143"service": "annotators/SentSeg/service_configs/sentseg"
144}
145}
146},
147"response_annotator_selectors": {
148"connector": {
149"protocol": "python",
150"class_name": "skill_selectors.post_annotator_selector.connector:PostAnnotatorSelectorConnector",
151"annotator_names": [
152"sentseg"
153]
154},
155"response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
156"tags": [
157"selector"
158],
159"is_enabled": true,
160"source": {
161"component": "components/LXrJDIf43gwNmPMNXG5Eg.yml",
162"service": "services/response_annotator_selectors/service_configs/agent"
163}
164},
165"candidate_annotators": {
166"badlisted_words": {
167"connector": {
168"protocol": "http",
169"timeout": 1.0,
170"url": "http://badlisted-words:8018/badlisted_words_batch"
171},
172"dialog_formatter": "state_formatters.dp_formatters:hypotheses_list",
173"response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
174"previous_services": [
175"skills"
176],
177"state_manager_method": "add_hypothesis_annotation_batch",
178"is_enabled": true,
179"source": {
180"component": "components/gySZ51dyqYi9TOFr6zY5kA.yml",
181"service": "annotators/BadlistedWordsDetector/service_configs/badlisted-words"
182}
183},
184"sentence_ranker": {
185"connector": {
186"protocol": "http",
187"timeout": 1.0,
188"url": "http://sentence-ranker:8128/respond"
189},
190"dialog_formatter": "state_formatters.dp_formatters:sentence_ranker_formatter",
191"response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
192"previous_services": [
193"skills"
194],
195"state_manager_method": "add_hypothesis_annotation_batch",
196"is_enabled": true,
197"source": {
198"component": "components/XGwmAHtAOu0NDqqG3QCJw.yml",
199"service": "services/sentence_ranker/service_configs/sentence-ranker"
200}
201}
202},
203"skill_selectors": {
204"rule_based_selector": {
205"connector": {
206"protocol": "python",
207"class_name": "skill_selectors.rule_based_selector.connector:RuleBasedSkillSelectorConnector"
208},
209"dialog_formatter": "state_formatters.dp_formatters:base_skill_selector_formatter_dialog",
210"response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
211"previous_services": [
212"annotators"
213],
214"tags": [
215"selector"
216],
217"is_enabled": true,
218"source": {
219"component": "components/xSwFvtAUdvtQosvzpb7oMg.yml",
220"service": "skill_selectors/rule_based_selector/service_configs/agent"
221}
222}
223},
224"skills": {
225"dff_program_y_skill": {
226"connector": {
227"protocol": "http",
228"timeout": 2.0,
229"url": "http://dff-program-y-skill:8008/respond"
230},
231"dialog_formatter": "state_formatters.dp_formatters:dff_program_y_skill_formatter",
232"response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service",
233"previous_services": [
234"skill_selectors"
235],
236"state_manager_method": "add_hypothesis",
237"is_enabled": true,
238"source": {
239"component": "components/ckUclxqUplyzwmnYyixEw.yml",
240"service": "skills/dff_program_y_skill/service_configs/dff-program-y-skill"
241}
242},
243"dff_intent_responder_skill": {
244"connector": {
245"protocol": "http",
246"timeout": 2.0,
247"url": "http://dff-intent-responder-skill:8012/respond"
248},
249"dialog_formatter": "state_formatters.dp_formatters:dff_intent_responder_skill_formatter",
250"response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service",
251"previous_services": [
252"skill_selectors"
253],
254"state_manager_method": "add_hypothesis",
255"is_enabled": true,
256"source": {
257"component": "components/CmQGq1Xn5YOaMwNIb4bEpA.yml",
258"service": "skills/dff_intent_responder_skill/service_configs/dff-intent-responder-skill"
259}
260},
261"dummy_skill": {
262"connector": {
263"protocol": "python",
264"class_name": "skills.dummy_skill.connector:DummySkillConnector"
265},
266"dialog_formatter": "state_formatters.dp_formatters:utt_sentrewrite_modified_last_dialog",
267"response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service",
268"previous_services": [
269"skill_selectors"
270],
271"state_manager_method": "add_hypothesis",
272"is_enabled": true,
273"source": {
274"component": "components/uYkoK0vRp4bbIg9akI1yw.yml",
275"service": "skills/dummy_skill/service_configs/agent"
276}
277},
278"dialogpt": {
279"connector": {
280"protocol": "http",
281"timeout": 3.0,
282"url": "http://dialogpt:8125/respond"
283},
284"dialog_formatter": "state_formatters.dp_formatters:last_utt_and_history_dialog",
285"response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service",
286"previous_services": [
287"skill_selectors"
288],
289"state_manager_method": "add_hypothesis",
290"is_enabled": true,
291"source": {
292"component": "components/7Dxjy1ZpQEAoPcEeABGBLg.yml",
293"service": "services/dialogpt/service_configs/dialogpt"
294}
295},
296"dff_fromage_image_skill": {
297"connector": {
298"protocol": "http",
299"timeout": 2.0,
300"url": "http://dff-fromage-image-skill:8070/respond"
301},
302"dialog_formatter": "state_formatters.dp_formatters:dff_fromage_image_skill_formatter",
303"response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service",
304"previous_services": [
305"skill_selectors"
306],
307"state_manager_method": "add_hypothesis",
308"is_enabled": true,
309"source": {
310"component": "components/8jfFjmYnbdeH.yml",
311"service": "services/dff_fromage_image_skill/service_configs/dff-fromage-image-skill"
312}
313}
314},
315"response_selectors": {
316"response_selector": {
317"connector": {
318"protocol": "http",
319"timeout": 1.0,
320"url": "http://ranking-based-response-selector:8002/respond"
321},
322"dialog_formatter": "state_formatters.dp_formatters:cropped_dialog",
323"response_formatter": "state_formatters.dp_formatters:base_response_selector_formatter_service",
324"previous_services": [
325"candidate_annotators"
326],
327"tags": [
328"selector"
329],
330"state_manager_method": "add_bot_utterance",
331"is_enabled": true,
332"source": {
333"component": "components/YJzc7NwGrLmKp6gfZJh7X1.yml",
334"service": "response_selectors/ranking_based_response_selector/service_configs/ranking-based-response-selector"
335}
336}
337}
338},
339"metadata": {
340"display_name": "Dream Multimodal",
341"author": "DeepPavlov",
342"description": "Multimodal version of DeepPavlov Dream Socialbot.",
343"version": "0.1.0",
344"date_created": "2022-12-12T12:12:00",
345"ram_usage": "50 GB",
346"gpu_usage": "50 GB",
347"disk_usage": "50 GB"
348}
349}