From 901bc120d5c55c0a8135a5f0d9d42ab6f6861407 Mon Sep 17 00:00:00 2001 From: rafilgalimzanov Date: Sun, 7 Apr 2024 16:36:42 +0300 Subject: [PATCH] rename guide assistant bot --- .../docker-compose.override.yml | 12 ++++++------ .../pipeline_conf.json | 8 ++++---- components/zn6w6g1x7m46.yml | 8 ++++---- .../service_configs/u9hzp77mjk7t/environment.yml | 2 +- .../service_configs/u9hzp77mjk7t/service.yml | 2 +- .../environment.yml | 2 +- .../service.yml | 2 +- 7 files changed, 18 insertions(+), 18 deletions(-) rename assistant_dists/{aiijpie08dix => guide_ru_assistant}/docker-compose.override.yml (93%) rename assistant_dists/{aiijpie08dix => guide_ru_assistant}/pipeline_conf.json (98%) rename skills/dff_template_prompted_skill/service_configs/{dff_o780f9k8cdh0_prompted_skill => dff_guide_prompted_skill}/environment.yml (86%) rename skills/dff_template_prompted_skill/service_configs/{dff_o780f9k8cdh0_prompted_skill => dff_guide_prompted_skill}/service.yml (92%) diff --git a/assistant_dists/aiijpie08dix/docker-compose.override.yml b/assistant_dists/guide_ru_assistant/docker-compose.override.yml similarity index 93% rename from assistant_dists/aiijpie08dix/docker-compose.override.yml rename to assistant_dists/guide_ru_assistant/docker-compose.override.yml index bd96c2bf0..b95ffaf10 100644 --- a/assistant_dists/aiijpie08dix/docker-compose.override.yml +++ b/assistant_dists/guide_ru_assistant/docker-compose.override.yml @@ -2,7 +2,7 @@ services: agent: build: args: - WAIT_HOSTS: prompt-selector-ru:8135, dialogrpt-ru:8122, dff-o780f9k8cdh0-prompted-skill:8199, + WAIT_HOSTS: prompt-selector-ru:8135, dialogrpt-ru:8122, dff-guide-prompted-skill:8199, ranking-based-response-selector-ru:8002 WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} HIGH_PRIORITY_INTENTS: 1 @@ -10,9 +10,9 @@ services: ALWAYS_TURN_ON_ALL_SKILLS: 0 LANGUAGE: RU FALLBACK_FILE: fallbacks_dream_ru.json - command: sh -c 'bin/wait && python -m deeppavlov_agent.run agent.pipeline_config=assistant_dists/aiijpie08dix/pipeline_conf.json' + command: sh -c 'bin/wait && python -m deeppavlov_agent.run agent.pipeline_config=assistant_dists/guide_ru_assistant/pipeline_conf.json' environment: - WAIT_HOSTS: prompt-selector-ru:8135, dialogrpt-ru:8122, dff-o780f9k8cdh0-prompted-skill:8199, + WAIT_HOSTS: prompt-selector-ru:8135, dialogrpt-ru:8122, dff-guide-prompted-skill:8199, ranking-based-response-selector-ru:8002 WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} HIGH_PRIORITY_INTENTS: 1 @@ -75,13 +75,13 @@ services: memory: 4G reservations: memory: 4G - dff-o780f9k8cdh0-prompted-skill: + dff-guide-prompted-skill: env_file: - .env build: args: SERVICE_PORT: 8199 - SERVICE_NAME: dff_o780f9k8cdh0_prompted_skill + SERVICE_NAME: dff_guide_prompted_skill PROMPT_FILE: common/prompts/o780f9k8cdh0.json GENERATIVE_SERVICE_URL: http://gigachat-api:8187/respond GENERATIVE_SERVICE_CONFIG: o780f9k8cdh0.json @@ -92,7 +92,7 @@ services: dockerfile: skills/dff_template_prompted_skill/Dockerfile environment: SERVICE_PORT: 8199 - SERVICE_NAME: dff_o780f9k8cdh0_prompted_skill + SERVICE_NAME: dff_guide_prompted_skill PROMPT_FILE: common/prompts/o780f9k8cdh0.json GENERATIVE_SERVICE_URL: http://gigachat-api:8187/respond GENERATIVE_SERVICE_CONFIG: o780f9k8cdh0.json diff --git a/assistant_dists/aiijpie08dix/pipeline_conf.json b/assistant_dists/guide_ru_assistant/pipeline_conf.json similarity index 98% rename from assistant_dists/aiijpie08dix/pipeline_conf.json rename to assistant_dists/guide_ru_assistant/pipeline_conf.json index 3d7347913..a6b7d5421 100644 --- a/assistant_dists/aiijpie08dix/pipeline_conf.json +++ b/assistant_dists/guide_ru_assistant/pipeline_conf.json @@ -174,16 +174,16 @@ "service": "skills/dummy_skill/service_configs/agent" } }, - "dff_o780f9k8cdh0_prompted_skill": { + "dff_guide_prompted_skill": { "group": "skills", "connector": { "protocol": "http", "timeout": 20.0, - "url": "http://dff-o780f9k8cdh0-prompted-skill:8199/respond" + "url": "http://dff-guide-prompted-skill:8199/respond" }, "dialog_formatter": { "name": "state_formatters.dp_formatters:dff_prompted_skill_formatter", - "skill_name": "dff_o780f9k8cdh0_prompted_skill" + "skill_name": "dff_guide_prompted_skill" }, "response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service", "previous_services": [ @@ -194,7 +194,7 @@ "is_enabled": true, "source": { "component": "components/zn6w6g1x7m46.yml", - "service": "skills/dff_template_prompted_skill/service_configs/dff_o780f9k8cdh0_prompted_skill" + "service": "skills/dff_template_prompted_skill/service_configs/dff_guide_prompted_skill" } } }, diff --git a/components/zn6w6g1x7m46.yml b/components/zn6w6g1x7m46.yml index 7612024c0..7d8075241 100644 --- a/components/zn6w6g1x7m46.yml +++ b/components/zn6w6g1x7m46.yml @@ -1,4 +1,4 @@ -name: dff_o780f9k8cdh0_prompted_skill +name: dff_guide_prompted_skill display_name: "\u0412\u0432\u043E\u0434\u043D\u0430\u044F \u0438\u043D\u0444\u043E\ \u0440\u043C\u0430\u0446\u0438\u044F \u043E \u043C\u0435\u0441\u0442\u0435 \u0440\ \u0430\u0431\u043E\u0442\u044B" @@ -17,14 +17,14 @@ group: skills connector: protocol: http timeout: 20.0 - url: http://dff-o780f9k8cdh0-prompted-skill:8199/respond + url: http://dff-guide-prompted-skill:8199/respond class_name: null response_text: null annotations: null annotator_names: null dialog_formatter: name: state_formatters.dp_formatters:dff_prompted_skill_formatter - skill_name: dff_o780f9k8cdh0_prompted_skill + skill_name: dff_guide_prompted_skill response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service previous_services: - skill_selectors @@ -32,5 +32,5 @@ required_previous_services: null state_manager_method: add_hypothesis tags: null endpoint: respond -service: skills/dff_template_prompted_skill/service_configs/dff_o780f9k8cdh0_prompted_skill +service: skills/dff_template_prompted_skill/service_configs/dff_guide_prompted_skill date_created: '2024-02-19T20:28:16' diff --git a/services/agent_services/service_configs/u9hzp77mjk7t/environment.yml b/services/agent_services/service_configs/u9hzp77mjk7t/environment.yml index 2dc4fe6dc..d6ec69538 100644 --- a/services/agent_services/service_configs/u9hzp77mjk7t/environment.yml +++ b/services/agent_services/service_configs/u9hzp77mjk7t/environment.yml @@ -1,4 +1,4 @@ -WAIT_HOSTS: prompt-selector-ru:8135, dialogrpt-ru:8122, dff-o780f9k8cdh0-prompted-skill:8199, +WAIT_HOSTS: prompt-selector-ru:8135, dialogrpt-ru:8122, dff-guide-prompted-skill:8199, ranking-based-response-selector-ru:8002 WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} HIGH_PRIORITY_INTENTS: 1 diff --git a/services/agent_services/service_configs/u9hzp77mjk7t/service.yml b/services/agent_services/service_configs/u9hzp77mjk7t/service.yml index a22c75ce7..561daffc2 100644 --- a/services/agent_services/service_configs/u9hzp77mjk7t/service.yml +++ b/services/agent_services/service_configs/u9hzp77mjk7t/service.yml @@ -7,7 +7,7 @@ compose: - .:/dp-agent env_file: null build: null - command: sh -c 'bin/wait && python -m deeppavlov_agent.run agent.pipeline_config=assistant_dists/aiijpie08dix/pipeline_conf.json' + command: sh -c 'bin/wait && python -m deeppavlov_agent.run agent.pipeline_config=assistant_dists/guide_ru_assistant/pipeline_conf.json' environment: null deploy: mode: null diff --git a/skills/dff_template_prompted_skill/service_configs/dff_o780f9k8cdh0_prompted_skill/environment.yml b/skills/dff_template_prompted_skill/service_configs/dff_guide_prompted_skill/environment.yml similarity index 86% rename from skills/dff_template_prompted_skill/service_configs/dff_o780f9k8cdh0_prompted_skill/environment.yml rename to skills/dff_template_prompted_skill/service_configs/dff_guide_prompted_skill/environment.yml index e1c8c4791..1709b8091 100644 --- a/skills/dff_template_prompted_skill/service_configs/dff_o780f9k8cdh0_prompted_skill/environment.yml +++ b/skills/dff_template_prompted_skill/service_configs/dff_guide_prompted_skill/environment.yml @@ -1,5 +1,5 @@ SERVICE_PORT: 8199 -SERVICE_NAME: dff_o780f9k8cdh0_prompted_skill +SERVICE_NAME: dff_guide_prompted_skill PROMPT_FILE: common/prompts/o780f9k8cdh0.json GENERATIVE_SERVICE_URL: http://gigachat-api:8187/respond GENERATIVE_SERVICE_CONFIG: o780f9k8cdh0.json diff --git a/skills/dff_template_prompted_skill/service_configs/dff_o780f9k8cdh0_prompted_skill/service.yml b/skills/dff_template_prompted_skill/service_configs/dff_guide_prompted_skill/service.yml similarity index 92% rename from skills/dff_template_prompted_skill/service_configs/dff_o780f9k8cdh0_prompted_skill/service.yml rename to skills/dff_template_prompted_skill/service_configs/dff_guide_prompted_skill/service.yml index 9776ace5d..504f9165f 100644 --- a/skills/dff_template_prompted_skill/service_configs/dff_o780f9k8cdh0_prompted_skill/service.yml +++ b/skills/dff_template_prompted_skill/service_configs/dff_guide_prompted_skill/service.yml @@ -1,4 +1,4 @@ -name: dff_o780f9k8cdh0_prompted_skill +name: dff_guide_prompted_skill endpoints: - respond compose: