Skip to content

Commit

Permalink
rename business assistant bot
Browse files Browse the repository at this point in the history
  • Loading branch information
RafilGalimzyanov committed Apr 7, 2024
1 parent 95f3f98 commit fe9e770
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-s9qkdg4i9g01-prompted-skill:8199,
WAIT_HOSTS: prompt-selector-ru:8135, dialogrpt-ru:8122, dff-marketing-strategy-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/sp6b9r1rt7e0/pipeline_conf.json'
command: sh -c 'bin/wait && python -m deeppavlov_agent.run agent.pipeline_config=assistant_dists/business_ru_assistant/pipeline_conf.json'
environment:
WAIT_HOSTS: prompt-selector-ru:8135, dialogrpt-ru:8122, dff-s9qkdg4i9g01-prompted-skill:8199,
WAIT_HOSTS: prompt-selector-ru:8135, dialogrpt-ru:8122, dff-marketing-strategy-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-s9qkdg4i9g01-prompted-skill:
dff-marketing-strategy-prompted-skill:
env_file:
- .env
build:
args:
SERVICE_PORT: 8199
SERVICE_NAME: dff_s9qkdg4i9g01_prompted_skill
SERVICE_NAME: dff_marketing_strategy_prompted_skill
PROMPT_FILE: common/prompts/s9qkdg4i9g01.json
GENERATIVE_SERVICE_URL: http://gigachat-api:8187/respond
GENERATIVE_SERVICE_CONFIG: s9qkdg4i9g01.json
Expand All @@ -92,7 +92,7 @@ services:
dockerfile: skills/dff_template_prompted_skill/Dockerfile
environment:
SERVICE_PORT: 8199
SERVICE_NAME: dff_s9qkdg4i9g01_prompted_skill
SERVICE_NAME: dff_marketing_strategy_prompted_skill
PROMPT_FILE: common/prompts/s9qkdg4i9g01.json
GENERATIVE_SERVICE_URL: http://gigachat-api:8187/respond
GENERATIVE_SERVICE_CONFIG: s9qkdg4i9g01.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_s9qkdg4i9g01_prompted_skill": {
"dff_marketing_strategy_prompted_skill": {
"group": "skills",
"connector": {
"protocol": "http",
"timeout": 20.0,
"url": "http://dff-s9qkdg4i9g01-prompted-skill:8199/respond"
"url": "http://dff-marketing-strategy-prompted-skill:8199/respond"
},
"dialog_formatter": {
"name": "state_formatters.dp_formatters:dff_prompted_skill_formatter",
"skill_name": "dff_s9qkdg4i9g01_prompted_skill"
"skill_name": "dff_marketing_strategy_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/zzyuo01gl8hc.yml",
"service": "skills/dff_template_prompted_skill/service_configs/dff_s9qkdg4i9g01_prompted_skill"
"service": "skills/dff_template_prompted_skill/service_configs/dff_marketing_strategy_prompted_skill"
}
}
},
Expand Down
8 changes: 4 additions & 4 deletions components/zzyuo01gl8hc.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: dff_s9qkdg4i9g01_prompted_skill
name: dff_marketing_strategy_prompted_skill
display_name: "\u0420\u0430\u0437\u0440\u0430\u0431\u043E\u0442\u043A\u0430 \u043C\
\u0430\u0440\u043A\u0435\u0442\u0438\u043D\u0433\u043E\u0432\u043E\u0439 \u0441\u0442\
\u0440\u0430\u0442\u0435\u0433\u0438\u0438"
Expand All @@ -17,20 +17,20 @@ group: skills
connector:
protocol: http
timeout: 20.0
url: http://dff-s9qkdg4i9g01-prompted-skill:8199/respond
url: http://dff-marketing-strategy-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_s9qkdg4i9g01_prompted_skill
skill_name: dff_marketing_strategy_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_s9qkdg4i9g01_prompted_skill
service: skills/dff_template_prompted_skill/service_configs/dff_marketing_strategy_prompted_skill
date_created: '2024-02-19T20:31:40'
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
WAIT_HOSTS: prompt-selector-ru:8135, dialogrpt-ru:8122, dff-s9qkdg4i9g01-prompted-skill:8199,
WAIT_HOSTS: prompt-selector-ru:8135, dialogrpt-ru:8122, dff-marketing-strategy-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/sp6b9r1rt7e0/pipeline_conf.json'
command: sh -c 'bin/wait && python -m deeppavlov_agent.run agent.pipeline_config=assistant_dists/business_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_s9qkdg4i9g01_prompted_skill
SERVICE_NAME: dff_marketing_strategy_prompted_skill
PROMPT_FILE: common/prompts/s9qkdg4i9g01.json
GENERATIVE_SERVICE_URL: http://gigachat-api:8187/respond
GENERATIVE_SERVICE_CONFIG: s9qkdg4i9g01.json
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: dff_s9qkdg4i9g01_prompted_skill
name: dff_marketing_strategy_prompted_skill
endpoints:
- respond
compose:
Expand Down

0 comments on commit fe9e770

Please sign in to comment.