Skip to content

Commit

Permalink
rename guide assistant bot
Browse files Browse the repository at this point in the history
  • Loading branch information
RafilGalimzyanov committed Apr 7, 2024
1 parent c80cae9 commit 901bc12
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ 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
RESTRICTION_FOR_SENSITIVE_CASE: 1
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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand All @@ -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"
}
}
},
Expand Down
8 changes: 4 additions & 4 deletions components/zn6w6g1x7m46.yml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -17,20 +17,20 @@ 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
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'
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: dff_o780f9k8cdh0_prompted_skill
name: dff_guide_prompted_skill
endpoints:
- respond
compose:
Expand Down

0 comments on commit 901bc12

Please sign in to comment.