Skip to content

Commit

Permalink
rename text writer assistant bot
Browse files Browse the repository at this point in the history
  • Loading branch information
RafilGalimzyanov committed Apr 7, 2024
1 parent 901bc12 commit 3120576
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-vs8v91cf94yl-prompted-skill:8199,
WAIT_HOSTS: prompt-selector-ru:8135, dialogrpt-ru:8122, dff-text-writer-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/09hodp48a721/pipeline_conf.json'
command: sh -c 'bin/wait && python -m deeppavlov_agent.run agent.pipeline_config=assistant_dists/copywriter_ru_assistant/pipeline_conf.json'
environment:
WAIT_HOSTS: prompt-selector-ru:8135, dialogrpt-ru:8122, dff-vs8v91cf94yl-prompted-skill:8199,
WAIT_HOSTS: prompt-selector-ru:8135, dialogrpt-ru:8122, dff-text-writer-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-vs8v91cf94yl-prompted-skill:
dff-text-writer-prompted-skill:
env_file:
- .env
build:
args:
SERVICE_PORT: 8199
SERVICE_NAME: dff_vs8v91cf94yl_prompted_skill
SERVICE_NAME: dff_text_writer_prompted_skill
PROMPT_FILE: common/prompts/vs8v91cf94yl.json
GENERATIVE_SERVICE_URL: http://gigachat-api:8187/respond
GENERATIVE_SERVICE_CONFIG: vs8v91cf94yl.json
Expand All @@ -92,7 +92,7 @@ services:
dockerfile: skills/dff_template_prompted_skill/Dockerfile
environment:
SERVICE_PORT: 8199
SERVICE_NAME: dff_vs8v91cf94yl_prompted_skill
SERVICE_NAME: dff_text_writer_prompted_skill
PROMPT_FILE: common/prompts/vs8v91cf94yl.json
GENERATIVE_SERVICE_URL: http://gigachat-api:8187/respond
GENERATIVE_SERVICE_CONFIG: vs8v91cf94yl.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_vs8v91cf94yl_prompted_skill": {
"dff_text_writer_prompted_skill": {
"group": "skills",
"connector": {
"protocol": "http",
"timeout": 20.0,
"url": "http://dff-vs8v91cf94yl-prompted-skill:8199/respond"
"url": "http://dff-text-writer-prompted-skill:8199/respond"
},
"dialog_formatter": {
"name": "state_formatters.dp_formatters:dff_prompted_skill_formatter",
"skill_name": "dff_vs8v91cf94yl_prompted_skill"
"skill_name": "dff_text_writer_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/jfy1q3fizvne.yml",
"service": "skills/dff_template_prompted_skill/service_configs/dff_vs8v91cf94yl_prompted_skill"
"service": "skills/dff_template_prompted_skill/service_configs/dff_text_writer_prompted_skill"
}
}
},
Expand Down
8 changes: 4 additions & 4 deletions components/jfy1q3fizvne.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: dff_vs8v91cf94yl_prompted_skill
name: dff_text_writer_prompted_skill
display_name: "\u041D\u0430\u043F\u0438\u0441\u0430\u043D\u0438\u0435 \u0442\u0435\
\u043A\u0441\u0442\u043E\u0432"
component_type: Generative
Expand All @@ -18,20 +18,20 @@ group: skills
connector:
protocol: http
timeout: 20.0
url: http://dff-vs8v91cf94yl-prompted-skill:8199/respond
url: http://dff-text-writer-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_vs8v91cf94yl_prompted_skill
skill_name: dff_text_writer_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_vs8v91cf94yl_prompted_skill
service: skills/dff_template_prompted_skill/service_configs/dff_text_writer_prompted_skill
date_created: '2024-02-19T20:29:45'
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
WAIT_HOSTS: prompt-selector-ru:8135, dialogrpt-ru:8122, dff-vs8v91cf94yl-prompted-skill:8199,
WAIT_HOSTS: prompt-selector-ru:8135, dialogrpt-ru:8122, dff-text-writer-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/09hodp48a721/pipeline_conf.json'
command: sh -c 'bin/wait && python -m deeppavlov_agent.run agent.pipeline_config=assistant_dists/copywriter_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_vs8v91cf94yl_prompted_skill
SERVICE_NAME: dff_text_writer_prompted_skill
PROMPT_FILE: common/prompts/vs8v91cf94yl.json
GENERATIVE_SERVICE_URL: http://gigachat-api:8187/respond
GENERATIVE_SERVICE_CONFIG: vs8v91cf94yl.json
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: dff_vs8v91cf94yl_prompted_skill
name: dff_text_writer_prompted_skill
endpoints:
- respond
compose:
Expand Down

0 comments on commit 3120576

Please sign in to comment.