dream
223 строки · 10.1 Кб
1{
2"services": {
3"last_chance_service": {
4"connector": {
5"protocol": "python",
6"class_name": "PredefinedTextConnector",
7"response_text": "Извини, что-то пошло не так в моем мозгу. Пожалуйста, повтори предыдущую реплику.",
8"annotations": {
9"sentseg": {
10"punct_sent": "Извини, что-то пошло не так в моем мозгу. Пожалуйста, повтори предыдущую реплику.",
11"segments": [
12"Извини, что-то пошло не так в моем мозгу.",
13"Пожалуйста, повтори предыдущую реплику."
14]
15}
16}
17},
18"state_manager_method": "add_bot_utterance_last_chance",
19"tags": [
20"last_chance"
21],
22"is_enabled": true,
23"source": {
24"component": "components/H1bbLiJ4B8Fg77NPDgGjA.yml",
25"service": "services/agent_services/service_configs/dream_persona_rullama_prompted"
26}
27},
28"timeout_service": {
29"connector": {
30"protocol": "python",
31"class_name": "PredefinedTextConnector",
32"response_text": "Извини, что-то пошло не так в моем мозгу. Пожалуйста, повтори предыдущую реплику.",
33"annotations": {
34"sentseg": {
35"punct_sent": "Извини, что-то пошло не так в моем мозгу. Пожалуйста, повтори предыдущую реплику.",
36"segments": [
37"Извини, что-то пошло не так в моем мозгу.",
38"Пожалуйста, повтори предыдущую реплику."
39]
40}
41}
42},
43"state_manager_method": "add_bot_utterance_last_chance",
44"tags": [
45"timeout"
46],
47"is_enabled": true,
48"source": {
49"component": "components/nbRgFzod7Qx6M7GL6oiPg.yml",
50"service": "services/agent_services/service_configs/dream_persona_rullama_prompted"
51}
52},
53"annotators": {
54"prompt_goals_collector": {
55"connector": {
56"protocol": "http",
57"timeout": 2.0,
58"url": "http://prompt-selector-ru:8135/collect_goals"
59},
60"dialog_formatter": "state_formatters.dp_formatters:prompts_goals_collector_formatter",
61"response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
62"previous_services": [],
63"state_manager_method": "update_attributes",
64"is_enabled": true,
65"source": {
66"component": "components/k3j2h498hvflekdfdfbfgh34r.yml",
67"service": "annotators/prompt_selector/service_configs/prompt-selector-ru"
68}
69},
70"prompt_selector": {
71"connector": {
72"protocol": "http",
73"timeout": 2.0,
74"url": "http://prompt-selector-ru:8135/respond"
75},
76"dialog_formatter": "state_formatters.dp_formatters:context_formatter_dialog",
77"response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
78"previous_services": [
79"annotators.prompt_goals_collector"
80],
81"state_manager_method": "add_annotation",
82"is_enabled": true,
83"source": {
84"component": "components/5jR1Tq88W5OckWnTV8VIYL.yml",
85"service": "annotators/prompt_selector/service_configs/prompt-selector-ru"
86}
87}
88},
89"candidate_annotators": {
90"dialogrpt": {
91"connector": {
92"protocol": "http",
93"timeout": 1.0,
94"url": "http://dialogrpt-ru:8122/respond"
95},
96"dialog_formatter": "state_formatters.dp_formatters:hypotheses_with_context_list",
97"response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
98"previous_services": [
99"skills"
100],
101"state_manager_method": "add_hypothesis_annotation_batch",
102"is_enabled": true,
103"source": {
104"component": "components/DUW2u7FwPMyhBOWrK1HTg.yml",
105"service": "services/dialogrpt_ru/service_configs/dialogrpt-ru"
106}
107}
108},
109"response_annotators": {},
110"response_annotator_selectors": {
111"connector": {
112"protocol": "python",
113"class_name": "skill_selectors.post_annotator_selector.connector:PostAnnotatorSelectorConnector",
114"annotator_names": [
115"sentseg"
116]
117},
118"response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
119"tags": [
120"selector"
121],
122"is_enabled": true,
123"source": {
124"component": "components/LXrJDIf43gwNmPMNXG5Eg.yml",
125"service": "services/response_annotator_selectors/service_configs/agent"
126}
127},
128"skill_selectors": {
129"description_based_skill_selector": {
130"connector": {
131"protocol": "python",
132"class_name": "skill_selectors.description_based_skill_selector.connector:DescriptionBasedSkillSelectorConnector"
133},
134"dialog_formatter": "state_formatters.dp_formatters:base_skill_selector_formatter_dialog",
135"response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
136"previous_services": [
137"annotators"
138],
139"tags": [
140"selector"
141],
142"is_enabled": true,
143"source": {
144"component": "components/dfsw4bji8bgjq2.yml",
145"service": "skill_selectors/description_based_skill_selector/service_configs/agent"
146}
147}
148},
149"skills": {
150"dff_dream_persona_ru_prompted_skill": {
151"connector": {
152"protocol": "http",
153"timeout": 120.0,
154"url": "http://dff-dream-persona-llama7bru-prompted-skill:8151/respond"
155},
156"dialog_formatter": {
157"name": "state_formatters.dp_formatters:dff_prompted_skill_formatter",
158"skill_name": "dff_dream_persona_ru_prompted_skill"
159},
160"response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service",
161"previous_services": [
162"skill_selectors"
163],
164"state_manager_method": "add_hypothesis",
165"is_enabled": true,
166"source": {
167"component": "components/iGAodokVchB6IJ7Jlggdkw.yml",
168"service": "skills/dff_template_prompted_skill/service_configs/dff-dream-persona-llama7bru-prompted-skill"
169}
170},
171"dummy_skill": {
172"connector": {
173"protocol": "python",
174"class_name": "skills.dummy_skill.connector:DummySkillConnector"
175},
176"dialog_formatter": "state_formatters.dp_formatters:utt_sentrewrite_modified_last_dialog",
177"response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service",
178"previous_services": [
179"skill_selectors"
180],
181"state_manager_method": "add_hypothesis",
182"is_enabled": true,
183"source": {
184"component": "components/uYkoK0vRp4bbIg9akI1yw.yml",
185"service": "skills/dummy_skill/service_configs/agent"
186}
187}
188},
189"response_selectors": {
190"response_selector": {
191"connector": {
192"protocol": "http",
193"timeout": 1.0,
194"url": "http://ranking-based-response-selector-ru:8002/respond"
195},
196"dialog_formatter": "state_formatters.dp_formatters:cropped_dialog",
197"response_formatter": "state_formatters.dp_formatters:base_response_selector_formatter_service",
198"previous_services": [
199"candidate_annotators"
200],
201"tags": [
202"selector"
203],
204"state_manager_method": "add_bot_utterance",
205"is_enabled": true,
206"source": {
207"component": "components/hE12LfxAkX3K9gU0nU4yE2.yml",
208"service": "response_selectors/ranking_based_response_selector/service_configs/ranking-based-response-selector-ru"
209}
210}
211}
212},
213"metadata": {
214"display_name": "Russian Dream Persona-based Chatbot",
215"author": "DeepPavlov",
216"description": "Russian Dream Persona-based Chatbot that utilizes Russian LLaMA 7B by Ilya Gusev to generate responses based on the text of personality description.",
217"version": "0.0.1",
218"date_created": "2023-01-10T02:00:00",
219"ram_usage": "50 GB",
220"gpu_usage": "30 GB",
221"disk_usage": "50 GB"
222}
223}