dream
234 строки · 10.1 Кб
1{
2"services": {
3"last_chance_service": {
4"connector": {
5"protocol": "python",
6"class_name": "PredefinedTextConnector",
7"response_text": "Sorry, something went wrong inside. Please tell me, what did you say.",
8"annotations": {
9"sentseg": {
10"punct_sent": "Sorry, something went wrong inside. Please tell me, what did you say.",
11"segments": [
12"Sorry, something went wrong inside.",
13"Please tell me, what did you say."
14]
15}
16}
17},
18"state_manager_method": "add_bot_utterance_last_chance",
19"tags": [
20"last_chance"
21],
22"source": {
23"component": "components/TvtHFEgVjuut.yml",
24"service": "services/agent_services/service_configs/dream_multilingual"
25}
26},
27"timeout_service": {
28"connector": {
29"protocol": "python",
30"class_name": "PredefinedTextConnector",
31"response_text": "Sorry, I need to think more on that. Let's talk about something else.",
32"annotations": {
33"sentseg": {
34"punct_sent": "Sorry, I need to think more on that. Let's talk about something else.",
35"segments": [
36"Sorry, I need to think more on that.",
37"Let's talk about something else."
38]
39}
40}
41},
42"state_manager_method": "add_bot_utterance_last_chance",
43"tags": [
44"timeout"
45],
46"source": {
47"component": "components/HvYsrVCd5c52.yml",
48"service": "services/agent_services/service_configs/dream_multilingual"
49}
50},
51"annotators": {
52"toxic_classification": {
53"connector": {
54"protocol": "http",
55"timeout": 2.0,
56"url": "http://toxic-classification-multilingual:8013/respond"
57},
58"dialog_formatter": "state_formatters.dp_formatters:preproc_last_human_utt_dialog",
59"response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
60"previous_services": [],
61"state_manager_method": "add_annotation",
62"is_enabled": true,
63"source": {
64"component": "components/XE0P0D9hrEvJAu4a8QRw.yml",
65"service": "annotators/MultilingualToxicClassification/service_configs/toxic-classification-multilingual"
66}
67},
68"sentiment_classification": {
69"connector": {
70"protocol": "http",
71"timeout": 2.0,
72"url": "http://sentiment-classification-multilingual:8024/respond"
73},
74"dialog_formatter": "state_formatters.dp_formatters:preproc_last_human_utt_dialog",
75"response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
76"state_manager_method": "add_annotation",
77"is_enabled": true,
78"source": {
79"component": "components/ci8xMlIVkTwcjOOQ5ztZ2g.yml",
80"service": "annotators/MultilingualSentimentClassification/service_configs/sentiment-classification-multilingual"
81}
82}
83},
84"candidate_annotators": {
85"sentence_ranker": {
86"connector": {
87"protocol": "http",
88"timeout": 1.0,
89"url": "http://sentence-ranker-multilingual:8128/respond"
90},
91"dialog_formatter": "state_formatters.dp_formatters:sentence_ranker_formatter",
92"response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
93"previous_services": [
94"skills"
95],
96"state_manager_method": "add_hypothesis_annotation_batch",
97"is_enabled": true,
98"source": {
99"component": "components/HFemvyS0tyqChUVAuCZt7g.yml",
100"service": "services/sentence_ranker/service_configs/sentence-ranker-multilingual"
101}
102},
103"toxic_classification": {
104"connector": {
105"protocol": "http",
106"timeout": 2.0,
107"url": "http://toxic-classification-multilingual:8013/respond_batch"
108},
109"dialog_formatter": "state_formatters.dp_formatters:hypotheses_list",
110"response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
111"previous_services": [
112"skills"
113],
114"state_manager_method": "add_hypothesis_annotation_batch",
115"is_enabled": true,
116"source": {
117"component": "components/XE0P0D9hrEvJAu4a8QRw.yml",
118"service": "annotators/MultilingualToxicClassification/service_configs/toxic-classification-multilingual"
119}
120},
121"sentiment_classification": {
122"connector": {
123"protocol": "http",
124"timeout": 2.0,
125"url": "http://sentiment-classification-multilingual:8024/respond_batch"
126},
127"dialog_formatter": "state_formatters.dp_formatters:hypotheses_list",
128"response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
129"previous_services": [
130"skills"
131],
132"state_manager_method": "add_hypothesis_annotation_batch",
133"is_enabled": true,
134"source": {
135"component": "components/ci8xMlIVkTwcjOOQ5ztZ2g.yml",
136"service": "annotators/MultilingualSentimentClassification/service_configs/sentiment-classification-multilingual"
137}
138}
139},
140"skill_selectors": {
141"rule_based_selector": {
142"connector": {
143"protocol": "python",
144"class_name": "skill_selectors.rule_based_selector.connector:RuleBasedSkillSelectorConnector"
145},
146"dialog_formatter": "state_formatters.dp_formatters:base_skill_selector_formatter_dialog",
147"response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
148"previous_services": [
149"annotators"
150],
151"tags": [
152"selector"
153],
154"is_enabled": true,
155"source": {
156"component": "components/xSwFvtAUdvtQosvzpb7oMg.yml",
157"service": "skill_selectors/rule_based_selector/service_configs/agent"
158}
159}
160},
161"skills": {
162"gpt2_generator": {
163"connector": {
164"protocol": "http",
165"timeout": 5.0,
166"url": "http://gpt2-multilingual:8132/respond"
167},
168"dialog_formatter": "state_formatters.dp_formatters:last_utt_and_history_dialog",
169"response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service",
170"previous_services": [
171"skill_selectors"
172],
173"state_manager_method": "add_hypothesis",
174"is_enabled": true,
175"source": {
176"component": "components/XgWzjx4qHTsfx1ijyDcsw.yml",
177"service": "services/gpt2_generator/service_configs/gpt2-multilingual"
178}
179}
180},
181"response_selectors": {
182"response_selector": {
183"connector": {
184"protocol": "http",
185"timeout": 1.0,
186"url": "http://convers-evaluation-selector:8009/respond"
187},
188"dialog_formatter": "state_formatters.dp_formatters:full_history_dialog",
189"response_formatter": "state_formatters.dp_formatters:base_response_selector_formatter_service",
190"previous_services": [
191"candidate_annotators"
192],
193"tags": [
194"selector"
195],
196"state_manager_method": "add_bot_utterance",
197"is_enabled": true,
198"source": {
199"component": "components/ly2AVNtIcJpTWz1qJ1mvKQ.yml",
200"service": "response_selectors/convers_evaluation_based_selector/service_configs/convers-evaluation-selector"
201}
202}
203},
204"response_annotator_selectors": {
205"connector": {
206"protocol": "python",
207"class_name": "skill_selectors.post_annotator_selector.connector:PostAnnotatorSelectorConnector",
208"annotator_names": [
209"sentseg"
210]
211},
212"response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
213"tags": [
214"selector"
215],
216"is_enabled": true,
217"source": {
218"component": "components/LXrJDIf43gwNmPMNXG5Eg.yml",
219"service": "services/response_annotator_selectors/service_configs/agent"
220}
221},
222"response_annotators": {}
223},
224"metadata": {
225"display_name": "Dream Multilingual",
226"author": "DeepPavlov",
227"description": "Multilingual version of DeepPavlov Dream Socialbot.",
228"version": "0.1.0",
229"date_created": "2022-12-12T12:12:00",
230"ram_usage": "50 GB",
231"gpu_usage": "50 GB",
232"disk_usage": "50 GB"
233}
234}