dream

Форк
0
/
pipeline_conf.json 
209 строк · 9.3 Кб
1
{
2
    "connectors": {},
3
    "services": {
4
        "last_chance_service": {
5
            "connector": {
6
                "protocol": "python",
7
                "class_name": "PredefinedTextConnector",
8
                "response_text": "Sorry, something went wrong inside. Please tell me, what did you say."
9
            },
10
            "state_manager_method": "add_bot_utterance_last_chance",
11
            "tags": [
12
                "last_chance"
13
            ],
14
            "is_enabled": true,
15
            "source": {
16
                "component": "components/CJSHsz2Ac5ul.yml",
17
                "service": "services/agent_services/service_configs/deepy_adv"
18
            }
19
        },
20
        "timeout_service": {
21
            "connector": {
22
                "protocol": "python",
23
                "class_name": "PredefinedTextConnector",
24
                "response_text": "Sorry, I need to think more on that. Let's talk about something else."
25
            },
26
            "state_manager_method": "add_bot_utterance_last_chance",
27
            "tags": [
28
                "timeout"
29
            ],
30
            "is_enabled": true,
31
            "source": {
32
                "component": "components/zM6WUEh2x3PC.yml",
33
                "service": "services/agent_services/service_configs/deepy_adv"
34
            }
35
        },
36
        "annotators": {
37
            "spelling_preprocessing": {
38
                "connector": {
39
                    "protocol": "http",
40
                    "timeout": 1.0,
41
                    "url": "http://spelling-preprocessing:8074/respond"
42
                },
43
                "dialog_formatter": "state_formatters.dp_formatters:last_utt_dialog",
44
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
45
                "previous_services": [],
46
                "state_manager_method": "add_annotation_and_reset_human_attributes_for_first_turn",
47
                "is_enabled": true,
48
                "source": {
49
                    "component": "components/pGxj32ic41pvquRXUdqc7A.yml",
50
                    "service": "annotators/spelling_preprocessing/service_configs/spelling-preprocessing"
51
                }
52
            },
53
            "entity_linking": {
54
                "connector": {
55
                    "protocol": "http",
56
                    "url": "http://entity-linking-deepy:8075/model"
57
                },
58
                "dialog_formatter": "state_formatters.dp_formatters:last_utt_dialog",
59
                "response_formatter": "state_formatters.dp_formatters:entity_linking_formatter",
60
                "state_manager_method": "add_annotation",
61
                "is_enabled": true,
62
                "source": {
63
                    "component": "components/1hNMgFlLT00Lc1s41yqbxA.yml",
64
                    "service": "annotators/entity_linking_deepy/service_configs/entity-linking-deepy"
65
                }
66
            },
67
            "sentseg": {
68
                "connector": {
69
                    "protocol": "http",
70
                    "timeout": 1.5,
71
                    "url": "http://sentseg:8011/sentseg"
72
                },
73
                "dialog_formatter": "state_formatters.dp_formatters:last_utt_dialog",
74
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
75
                "state_manager_method": "add_annotation",
76
                "is_enabled": true,
77
                "source": {
78
                    "component": "components/gM4fEjvVqLlSRRRkQfds2g.yml",
79
                    "service": "annotators/SentSeg/service_configs/sentseg"
80
                }
81
            },
82
            "intent_catcher": {
83
                "connector": {
84
                    "protocol": "http",
85
                    "timeout": 1.0,
86
                    "url": "http://intent-catcher:8014/detect"
87
                },
88
                "dialog_formatter": "state_formatters.dp_formatters:last_utt_sentseg_segments_dialog",
89
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
90
                "previous_services": [
91
                    "annotators.spelling_preprocessing",
92
                    "annotators.sentseg"
93
                ],
94
                "state_manager_method": "add_annotation",
95
                "is_enabled": true,
96
                "source": {
97
                    "component": "components/1IjC3r9b1VJ082ceINXzHQ.yml",
98
                    "service": "annotators/IntentCatcherTransformers/service_configs/intent-catcher"
99
                }
100
            }
101
        },
102
        "response_annotator_selectors": {
103
            "connector": {
104
                "protocol": "python",
105
                "class_name": "skill_selectors.post_annotator_selector.connector:PostAnnotatorSelectorConnector",
106
                "annotator_names": [
107
                    "sentseg"
108
                ]
109
            },
110
            "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
111
            "tags": [
112
                "selector"
113
            ],
114
            "is_enabled": true,
115
            "source": {
116
                "component": "components/LXrJDIf43gwNmPMNXG5Eg.yml",
117
                "service": "services/response_annotator_selectors/service_configs/agent"
118
            }
119
        },
120
        "response_annotators": {
121
            "emotion_classification": {
122
                "connector": {
123
                    "protocol": "python",
124
                    "url": "http://emotion-classification-deepy:8015/model",
125
                    "class_name": "assistant_dists.deepy_adv.connectors:BatchConnector"
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/7dhiDqHqK6TYOAJAKK7grg.yml",
136
                    "service": "annotators/emotion_classification_deepy/service_configs/emotion-classification-deepy"
137
                }
138
            }
139
        },
140
        "skill_selectors": {},
141
        "skills": {
142
            "harvesters_maintenance_gobot_skill": {
143
                "connector": {
144
                    "protocol": "http",
145
                    "url": "http://harvesters-maintenance-gobot-skill:3882/respond"
146
                },
147
                "dialog_formatter": "state_formatters.dp_formatters:full_dialog",
148
                "response_formatter": "state_formatters.dp_formatters:base_skill_formatter",
149
                "previous_services": [
150
                    "annotators"
151
                ],
152
                "state_manager_method": "add_hypothesis",
153
                "is_enabled": true,
154
                "source": {
155
                    "component": "components/LUSJ19c38uOLAVZWYs5U8g.yml",
156
                    "service": "skills/harvesters_maintenance_gobot_skill_deepy/service_configs/harvesters-maintenance-gobot-skill"
157
                }
158
            },
159
            "dff_program_y_skill": {
160
                "connector": {
161
                    "protocol": "http",
162
                    "timeout": 2.0,
163
                    "url": "http://dff-program-y-skill:8008/respond"
164
                },
165
                "dialog_formatter": "state_formatters.dp_formatters:dff_program_y_skill_formatter",
166
                "response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service",
167
                "previous_services": [
168
                    "annotators"
169
                ],
170
                "state_manager_method": "add_hypothesis",
171
                "is_enabled": true,
172
                "source": {
173
                    "component": "components/ckUclxqUplyzwmnYyixEw.yml",
174
                    "service": "skills/dff_program_y_skill/service_configs/dff-program-y-skill"
175
                }
176
            }
177
        },
178
        "candidate_annotators": {},
179
        "response_selectors": {
180
            "response_selector": {
181
                "connector": {
182
                    "protocol": "http",
183
                    "url": "http://confidence-based-response-selector:8005/respond"
184
                },
185
                "dialog_formatter": "state_formatters.dp_formatters:full_dialog",
186
                "response_formatter": "state_formatters.dp_formatters:base_response_selector_formatter_service",
187
                "previous_services": [
188
                    "response_annotators"
189
                ],
190
                "state_manager_method": "add_bot_utterance",
191
                "is_enabled": true,
192
                "source": {
193
                    "component": "components/KX4drAocVa5APcivWHeBNQ.yml",
194
                    "service": "response_selectors/confidence_based_response_selector/service_configs/confidence-based-response-selector"
195
                }
196
            }
197
        }
198
    },
199
    "metadata": {
200
        "display_name": "Deepy Advanced",
201
        "author": "DeepPavlov",
202
        "description": "Advanced version of Lunar assistant. Deepy Advanced contains Spelling Preprocessing, Sentence Segmentation, Entity Linking and Intent Catcher annotators, Harvesters Maintenance GoBot Skill for goal-oriented responses, and AIML-based open-domain Program-y Skill based on Dialog Flow Framework.",
203
        "version": "0.1.0",
204
        "date_created": "2021-12-12T12:12:00",
205
        "ram_usage": "50 GB",
206
        "gpu_usage": "50 GB",
207
        "disk_usage": "50 GB"
208
    }
209
}

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

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

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

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