dream
247 строк · 10.4 Кб
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/5J6lKI1JAjI9.yml",
31"service": "services/agent_services/service_configs/universal_prompted_assistant"
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/6UmSIUrka1Tl.yml",
55"service": "services/agent_services/service_configs/universal_prompted_assistant"
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},
114"skill_selectors": {
115"rule_based_selector": {
116"connector": {
117"protocol": "python",
118"class_name": "skill_selectors.rule_based_selector.connector:RuleBasedSkillSelectorConnector"
119},
120"dialog_formatter": "state_formatters.dp_formatters:base_skill_selector_formatter_dialog",
121"response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
122"previous_services": [
123"annotators"
124],
125"tags": [
126"selector"
127],
128"is_enabled": true,
129"source": {
130"component": "components/xSwFvtAUdvtQosvzpb7oMg.yml",
131"service": "skill_selectors/rule_based_selector/service_configs/agent"
132}
133}
134},
135"skills": {
136"dff_universal_prompted_skill": {
137"connector": {
138"protocol": "http",
139"timeout": 120.0,
140"url": "http://dff-universal-prompted-skill:8147/respond"
141},
142"dialog_formatter": {
143"name": "state_formatters.dp_formatters:dff_prompted_skill_formatter",
144"skill_name": "dff_universal_prompted_skill"
145},
146"response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service",
147"previous_services": [
148"skill_selectors"
149],
150"state_manager_method": "add_hypothesis",
151"is_enabled": true,
152"source": {
153"component": "components/HCDk0BKtebIrwROLGStKQ.yml",
154"service": "skills/dff_universal_prompted_skill/service_configs/dff-universal-prompted-skill"
155}
156},
157"dummy_skill": {
158"connector": {
159"protocol": "python",
160"class_name": "skills.dummy_skill.connector:DummySkillConnector"
161},
162"dialog_formatter": "state_formatters.dp_formatters:utt_sentrewrite_modified_last_dialog",
163"response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service",
164"previous_services": [
165"skill_selectors"
166],
167"state_manager_method": "add_hypothesis",
168"is_enabled": true,
169"source": {
170"component": "components/uYkoK0vRp4bbIg9akI1yw.yml",
171"service": "skills/dummy_skill/service_configs/agent"
172}
173}
174},
175"candidate_annotators": {
176"combined_classification": {
177"connector": {
178"protocol": "http",
179"timeout": 2.0,
180"url": "http://combined-classification:8087/batch_model"
181},
182"dialog_formatter": "state_formatters.dp_formatters:hypothesis_histories_list",
183"response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
184"previous_services": [
185"skills"
186],
187"state_manager_method": "add_hypothesis_annotation_batch",
188"is_enabled": true,
189"source": {
190"component": "components/PbLNvh4hrvs47rPaf2bfYQ.yml",
191"service": "annotators/combined_classification/service_configs/combined-classification"
192}
193},
194"sentence_ranker": {
195"connector": {
196"protocol": "http",
197"timeout": 1.0,
198"url": "http://sentence-ranker:8128/respond"
199},
200"dialog_formatter": "state_formatters.dp_formatters:sentence_ranker_formatter",
201"response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
202"previous_services": [
203"skills"
204],
205"state_manager_method": "add_hypothesis_annotation_batch",
206"is_enabled": true,
207"source": {
208"component": "components/XGwmAHtAOu0NDqqG3QCJw.yml",
209"service": "services/sentence_ranker/service_configs/sentence-ranker"
210}
211}
212},
213"response_selectors": {
214"response_selector": {
215"connector": {
216"protocol": "http",
217"timeout": 1.0,
218"url": "http://ranking-based-response-selector:8002/respond"
219},
220"dialog_formatter": "state_formatters.dp_formatters:cropped_dialog",
221"response_formatter": "state_formatters.dp_formatters:base_response_selector_formatter_service",
222"previous_services": [
223"candidate_annotators"
224],
225"tags": [
226"selector"
227],
228"state_manager_method": "add_bot_utterance",
229"is_enabled": true,
230"source": {
231"component": "components/YJzc7NwGrLmKp6gfZJh7X1.yml",
232"service": "response_selectors/ranking_based_response_selector/service_configs/ranking-based-response-selector"
233}
234}
235}
236},
237"metadata": {
238"display_name": "Universal Prompted Assistant",
239"author": "Hanson Foods",
240"description": "Discover the secret to healthy eating with our AI assistant! Find nutritious food options for you and your loved ones with ease. Say goodbye to mealtime stress and hello to delici...",
241"version": "0.0.1",
242"date_created": "2023-01-10T02:00:00",
243"ram_usage": "100 GB",
244"gpu_usage": "60 GB",
245"disk_usage": "50 GB"
246}
247}