dream

Форк
0
323 строки · 14.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
            "source": {
30
                "component": "components/ORrfDhL6aqYS.yml",
31
                "service": "services/agent_services/service_configs/dream_persona_openai_prompted"
32
            }
33
        },
34
        "timeout_service": {
35
            "connector": {
36
                "protocol": "python",
37
                "class_name": "PredefinedTextConnector",
38
                "response_text": "Sorry, I need to think more on that. Let's talk about something else.",
39
                "annotations": {
40
                    "sentseg": {
41
                        "punct_sent": "Sorry, I need to think more on that. Let's talk about something else.",
42
                        "segments": [
43
                            "Sorry, I need to think more on that.",
44
                            "Let's talk about something else."
45
                        ]
46
                    }
47
                }
48
            },
49
            "state_manager_method": "add_bot_utterance_last_chance",
50
            "tags": [
51
                "timeout"
52
            ],
53
            "source": {
54
                "component": "components/sRlBA8KUwLyO.yml",
55
                "service": "services/agent_services/service_configs/dream_persona_openai_prompted"
56
            }
57
        },
58
        "response_annotator_selectors": {
59
            "connector": {
60
                "protocol": "python",
61
                "class_name": "skill_selectors.post_annotator_selector.connector:PostAnnotatorSelectorConnector",
62
                "annotator_names": [
63
                    "sentseg"
64
                ]
65
            },
66
            "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
67
            "tags": [
68
                "selector"
69
            ],
70
            "is_enabled": true,
71
            "source": {
72
                "component": "components/LXrJDIf43gwNmPMNXG5Eg.yml",
73
                "service": "services/response_annotator_selectors/service_configs/agent"
74
            }
75
        },
76
        "response_annotators": {
77
            "sentseg": {
78
                "connector": {
79
                    "protocol": "http",
80
                    "timeout": 1.5,
81
                    "url": "http://sentseg:8011/sentseg"
82
                },
83
                "dialog_formatter": "state_formatters.dp_formatters:last_bot_utt_dialog",
84
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
85
                "previous_services": [
86
                    "response_annotator_selectors"
87
                ],
88
                "state_manager_method": "add_annotation_prev_bot_utt",
89
                "is_enabled": true,
90
                "source": {
91
                    "component": "components/1Q9QXih1U2zhCpVm9zxdsA.yml",
92
                    "service": "annotators/SentSeg/service_configs/sentseg"
93
                }
94
            }
95
        },
96
        "annotators": {
97
            "sentseg": {
98
                "connector": {
99
                    "protocol": "http",
100
                    "timeout": 1.5,
101
                    "url": "http://sentseg:8011/sentseg"
102
                },
103
                "dialog_formatter": "state_formatters.dp_formatters:preproc_last_human_utt_dialog",
104
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
105
                "previous_services": [],
106
                "state_manager_method": "add_annotation",
107
                "is_enabled": true,
108
                "source": {
109
                    "component": "components/gM4fEjvVqLlSRRRkQfds2g.yml",
110
                    "service": "annotators/SentSeg/service_configs/sentseg"
111
                }
112
            },
113
            "prompt_goals_collector": {
114
                "connector": {
115
                    "protocol": "http",
116
                    "timeout": 2.0,
117
                    "url": "http://prompt-selector:8135/collect_goals"
118
                },
119
                "dialog_formatter": "state_formatters.dp_formatters:prompts_goals_collector_formatter",
120
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
121
                "previous_services": [],
122
                "state_manager_method": "update_attributes",
123
                "is_enabled": true,
124
                "source": {
125
                    "component": "components/tK0hTk4TyMj7.yml",
126
                    "service": "annotators/prompt_selector/service_configs/dream_persona_openai_prompted"
127
                }
128
            },
129
            "prompt_selector": {
130
                "connector": {
131
                    "protocol": "http",
132
                    "timeout": 2.0,
133
                    "url": "http://prompt-selector:8135/respond"
134
                },
135
                "dialog_formatter": "state_formatters.dp_formatters:context_formatter_dialog",
136
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
137
                "previous_services": [
138
                    "annotators.prompt_goals_collector"
139
                ],
140
                "state_manager_method": "add_annotation",
141
                "is_enabled": true,
142
                "source": {
143
                    "component": "components/tK0hTk4TyMj7.yml",
144
                    "service": "annotators/prompt_selector/service_configs/dream_persona_openai_prompted"
145
                }
146
            }
147
        },
148
        "skill_selectors": {
149
            "description_based_skill_selector": {
150
                "connector": {
151
                    "protocol": "python",
152
                    "class_name": "skill_selectors.description_based_skill_selector.connector:DescriptionBasedSkillSelectorConnector"
153
                },
154
                "dialog_formatter": "state_formatters.dp_formatters:base_skill_selector_formatter_dialog",
155
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
156
                "previous_services": [
157
                    "annotators"
158
                ],
159
                "tags": [
160
                    "selector"
161
                ],
162
                "is_enabled": true,
163
                "source": {
164
                    "component": "components/dfsw4bji8bgjq2.yml",
165
                    "service": "skill_selectors/description_based_skill_selector/service_configs/agent"
166
                }
167
            }
168
        },
169
        "skills": {
170
            "dff_dream_persona_prompted_skill": {
171
                "connector": {
172
                    "protocol": "http",
173
                    "timeout": 120.0,
174
                    "url": "http://dff-dream-persona-chatgpt-prompted-skill:8137/respond"
175
                },
176
                "dialog_formatter": {
177
                    "name": "state_formatters.dp_formatters:dff_prompted_skill_formatter",
178
                    "skill_name": "dff_dream_persona_prompted_skill"
179
                },
180
                "response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service",
181
                "previous_services": [
182
                    "skill_selectors"
183
                ],
184
                "state_manager_method": "add_hypothesis",
185
                "is_enabled": true,
186
                "source": {
187
                    "component": "components/W6hdAGshQyMwdQukRXXuKA.yml",
188
                    "service": "skills/dff_template_prompted_skill/service_configs/dff-dream-persona-chatgpt-prompted-skill"
189
                }
190
            },
191
            "dff_google_api_skill": {
192
                "connector": {
193
                    "protocol": "http",
194
                    "timeout": 120.0,
195
                    "url": "http://dff-google-api-skill:8162/respond"
196
                },
197
                "dialog_formatter": {
198
                    "name": "state_formatters.dp_formatters:dff_prompted_skill_formatter",
199
                    "skill_name": "dff_google_api_skill"
200
                },
201
                "response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service",
202
                "previous_services": [
203
                    "skill_selectors"
204
                ],
205
                "state_manager_method": "add_hypothesis",
206
                "is_enabled": true,
207
                "source": {
208
                    "component": "components/VJ7c3sLqEi.yml",
209
                    "service": "skills/dff_google_api_skill/service_configs/dff-google-api-skill"
210
                }
211
            },
212
            "dummy_skill": {
213
                "connector": {
214
                    "protocol": "python",
215
                    "class_name": "skills.dummy_skill.connector:DummySkillConnector"
216
                },
217
                "dialog_formatter": "state_formatters.dp_formatters:utt_sentrewrite_modified_last_dialog",
218
                "response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service",
219
                "previous_services": [
220
                    "skill_selectors"
221
                ],
222
                "state_manager_method": "add_hypothesis",
223
                "is_enabled": true,
224
                "source": {
225
                    "component": "components/uYkoK0vRp4bbIg9akI1yw.yml",
226
                    "service": "skills/dummy_skill/service_configs/agent"
227
                }
228
            },
229
            "dff_dream_faq_prompted_skill": {
230
                "connector": {
231
                    "protocol": "http",
232
                    "timeout": 120.0,
233
                    "url": "http://dff-dream-faq-prompted-skill:8170/respond"
234
                },
235
                "dialog_formatter": {
236
                    "name": "state_formatters.dp_formatters:dff_prompted_skill_formatter",
237
                    "skill_name": "dff_dream_faq_prompted_skill"
238
                },
239
                "response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service",
240
                "previous_services": [
241
                    "skill_selectors"
242
                ],
243
                "state_manager_method": "add_hypothesis",
244
                "is_enabled": true,
245
                "source": {
246
                    "component": "components/jFmKPqMJh0.yml",
247
                    "service": "skills/dff_template_prompted_skill/service_configs/dff-dream-faq-prompted-skill"
248
                }
249
            }
250
        },
251
        "candidate_annotators": {
252
            "combined_classification": {
253
                "connector": {
254
                    "protocol": "http",
255
                    "timeout": 2.0,
256
                    "url": "http://combined-classification:8087/batch_model"
257
                },
258
                "dialog_formatter": "state_formatters.dp_formatters:hypothesis_histories_list",
259
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
260
                "previous_services": [
261
                    "skills"
262
                ],
263
                "state_manager_method": "add_hypothesis_annotation_batch",
264
                "is_enabled": true,
265
                "source": {
266
                    "component": "components/PbLNvh4hrvs47rPaf2bfYQ.yml",
267
                    "service": "annotators/combined_classification/service_configs/combined-classification"
268
                }
269
            },
270
            "sentence_ranker": {
271
                "connector": {
272
                    "protocol": "http",
273
                    "timeout": 1.0,
274
                    "url": "http://sentence-ranker:8128/respond"
275
                },
276
                "dialog_formatter": "state_formatters.dp_formatters:sentence_ranker_formatter",
277
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
278
                "previous_services": [
279
                    "skills"
280
                ],
281
                "state_manager_method": "add_hypothesis_annotation_batch",
282
                "is_enabled": true,
283
                "source": {
284
                    "component": "components/XGwmAHtAOu0NDqqG3QCJw.yml",
285
                    "service": "services/sentence_ranker/service_configs/sentence-ranker"
286
                }
287
            }
288
        },
289
        "response_selectors": {
290
            "response_selector": {
291
                "connector": {
292
                    "protocol": "http",
293
                    "timeout": 120.0,
294
                    "url": "http://llm-based-response-selector:8003/respond"
295
                },
296
                "dialog_formatter": "state_formatters.dp_formatters:cropped_dialog",
297
                "response_formatter": "state_formatters.dp_formatters:base_response_selector_formatter_service",
298
                "previous_services": [
299
                    "candidate_annotators"
300
                ],
301
                "tags": [
302
                    "selector"
303
                ],
304
                "state_manager_method": "add_bot_utterance",
305
                "is_enabled": true,
306
                "source": {
307
                    "component": "components/YJzc7NwGrLmKp6gfZJh7X1.yml",
308
                    "service": "response_selectors/llm_based_response_selector/service_configs/llm-based-response-selector"
309
                }
310
            }
311
        }
312
    },
313
    "metadata": {
314
        "display_name": "ChatGPT-based Prompted Dream",
315
        "author": "DeepPavlov",
316
        "description": "This is a simple dialog system that can chat with you on any topic. It has a pre-defined 'personality' and uses OpenAI ChatGPT model to generate responses.",
317
        "version": "0.0.1",
318
        "date_created": "2023-01-10T02:00:00",
319
        "ram_usage": "4 GB",
320
        "gpu_usage": "3 GB",
321
        "disk_usage": "10 GB"
322
    }
323
}

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

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

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

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