Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/exhibition public assistants #606

Merged
merged 31 commits into from Apr 8, 2024
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
9c2751e
add project manager bot
RafilGalimzyanov Feb 20, 2024
215c47f
add marketing assistant bot
RafilGalimzyanov Feb 20, 2024
926c312
add guide bot
RafilGalimzyanov Feb 21, 2024
afbcaf7
add copywriter bot
RafilGalimzyanov Feb 21, 2024
b646a46
add organizer bot
RafilGalimzyanov Feb 21, 2024
2043458
add business bot
RafilGalimzyanov Feb 21, 2024
c66083c
fix business bot
RafilGalimzyanov Feb 21, 2024
ce32130
add healthy lifestyle bot
RafilGalimzyanov Feb 21, 2024
3c84f12
add intercultural_understanding skill
RafilGalimzyanov Feb 25, 2024
bd98171
add work_life_balance skill
RafilGalimzyanov Feb 26, 2024
cdf8831
add time_manager skill
RafilGalimzyanov Feb 26, 2024
27a7496
add text_editing skill
RafilGalimzyanov Feb 26, 2024
c131ba1
add text_summarization skill
RafilGalimzyanov Feb 26, 2024
7fb8d3b
add paraphrasing_text skill
RafilGalimzyanov Feb 26, 2024
7b18630
add create_definitions skill
RafilGalimzyanov Feb 26, 2024
23ec4e2
add text_checking skill
RafilGalimzyanov Feb 26, 2024
7c02363
add letter_writing skill
RafilGalimzyanov Feb 26, 2024
06d0210
add business correspondence assistant
RafilGalimzyanov Feb 27, 2024
194f7ae
fix business correspondence assistant
RafilGalimzyanov Feb 27, 2024
2c778b4
fix dream persona assistants
RafilGalimzyanov Mar 5, 2024
a36e97c
fix copywriter assistant
RafilGalimzyanov Mar 11, 2024
0194044
fix text editting skill
RafilGalimzyanov Mar 11, 2024
64410b0
rename
RafilGalimzyanov Apr 7, 2024
c80cae9
rename marketing assistant bot
RafilGalimzyanov Apr 7, 2024
901bc12
rename guide assistant bot
RafilGalimzyanov Apr 7, 2024
3120576
rename text writer assistant bot
RafilGalimzyanov Apr 7, 2024
95f3f98
rename organizer assistant bot
RafilGalimzyanov Apr 7, 2024
fe9e770
rename business assistant bot
RafilGalimzyanov Apr 7, 2024
113a755
rename healthy lifestyle assistant bot
RafilGalimzyanov Apr 7, 2024
ba6faea
rename business correspondence assistant bot
RafilGalimzyanov Apr 7, 2024
81e8267
removed unnecessary skills
RafilGalimzyanov Apr 7, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -0,0 +1,5 @@
SERVICE_PORT: 8135
SERVICE_NAME: prompt_selector
N_SENTENCES_TO_RETURN: 3
PROMPTS_TO_CONSIDER: vs8v91cf94yl
FLASK_APP: server
@@ -0,0 +1,28 @@
name: 12za251492yy
endpoints:
- respond
compose:
image: null
volumes:
- ./annotators/prompt_selector:/src
- ./common:/src/common
env_file:
- .env
build:
args: null
context: .
dockerfile: annotators/prompt_selector/Dockerfile
command: flask run -h 0.0.0.0 -p 8135
environment: null
deploy:
mode: null
replicas: null
resources:
limits:
memory: 100M
reservations:
memory: 100M
tty: null
ports:
- 8135:8135
proxy: null
@@ -0,0 +1,5 @@
SERVICE_PORT: 8135
SERVICE_NAME: prompt_selector
N_SENTENCES_TO_RETURN: 3
PROMPTS_TO_CONSIDER: s9qkdg4i9g01
FLASK_APP: server
@@ -0,0 +1,28 @@
name: 56nyak2w8mxz
endpoints:
- respond
compose:
image: null
volumes:
- ./annotators/prompt_selector:/src
- ./common:/src/common
env_file:
- .env
build:
args: null
context: .
dockerfile: annotators/prompt_selector/Dockerfile
command: flask run -h 0.0.0.0 -p 8135
environment: null
deploy:
mode: null
replicas: null
resources:
limits:
memory: 100M
reservations:
memory: 100M
tty: null
ports:
- 8135:8135
proxy: null
@@ -0,0 +1,5 @@
SERVICE_PORT: 8135
SERVICE_NAME: prompt_selector
N_SENTENCES_TO_RETURN: 3
PROMPTS_TO_CONSIDER: xxl6lh5ldvjr
FLASK_APP: server
@@ -0,0 +1,28 @@
name: 7pld0ozk24ob
endpoints:
- respond
compose:
image: null
volumes:
- ./annotators/prompt_selector:/src
- ./common:/src/common
env_file:
- .env
build:
args: null
context: .
dockerfile: annotators/prompt_selector/Dockerfile
command: flask run -h 0.0.0.0 -p 8135
environment: null
deploy:
mode: null
replicas: null
resources:
limits:
memory: 100M
reservations:
memory: 100M
tty: null
ports:
- 8135:8135
proxy: null
@@ -0,0 +1,5 @@
SERVICE_PORT: 8135
SERVICE_NAME: prompt_selector
N_SENTENCES_TO_RETURN: 3
PROMPTS_TO_CONSIDER: o780f9k8cdh0
FLASK_APP: server
@@ -0,0 +1,28 @@
name: bemf7bqsuhxu
endpoints:
- respond
compose:
image: null
volumes:
- ./annotators/prompt_selector:/src
- ./common:/src/common
env_file:
- .env
build:
args: null
context: .
dockerfile: annotators/prompt_selector/Dockerfile
command: flask run -h 0.0.0.0 -p 8135
environment: null
deploy:
mode: null
replicas: null
resources:
limits:
memory: 100M
reservations:
memory: 100M
tty: null
ports:
- 8135:8135
proxy: null
@@ -0,0 +1,5 @@
SERVICE_PORT: 8135
SERVICE_NAME: prompt_selector
N_SENTENCES_TO_RETURN: 3
PROMPTS_TO_CONSIDER: bzr9nesjzyup
FLASK_APP: server
@@ -0,0 +1,28 @@
name: gc3e60h0n71f
endpoints:
- respond
compose:
image: null
volumes:
- ./annotators/prompt_selector:/src
- ./common:/src/common
env_file:
- .env
build:
args: null
context: .
dockerfile: annotators/prompt_selector/Dockerfile
command: flask run -h 0.0.0.0 -p 8135
environment: null
deploy:
mode: null
replicas: null
resources:
limits:
memory: 100M
reservations:
memory: 100M
tty: null
ports:
- 8135:8135
proxy: null
@@ -0,0 +1,5 @@
SERVICE_PORT: 8135
SERVICE_NAME: prompt_selector
N_SENTENCES_TO_RETURN: 3
PROMPTS_TO_CONSIDER: adzau1psfzgf
FLASK_APP: server
@@ -0,0 +1,28 @@
name: ntmeqsyzal9m
endpoints:
- respond
compose:
image: null
volumes:
- ./annotators/prompt_selector:/src
- ./common:/src/common
env_file:
- .env
build:
args: null
context: .
dockerfile: annotators/prompt_selector/Dockerfile
command: flask run -h 0.0.0.0 -p 8135
environment: null
deploy:
mode: null
replicas: null
resources:
limits:
memory: 100M
reservations:
memory: 100M
tty: null
ports:
- 8135:8135
proxy: null
@@ -0,0 +1,5 @@
SERVICE_PORT: 8135
SERVICE_NAME: prompt_selector
N_SENTENCES_TO_RETURN: 3
PROMPTS_TO_CONSIDER: jtjcrpd68is1
FLASK_APP: server
@@ -0,0 +1,28 @@
name: rhbr0olehvpe
endpoints:
- respond
compose:
image: null
volumes:
- ./annotators/prompt_selector:/src
- ./common:/src/common
env_file:
- .env
build:
args: null
context: .
dockerfile: annotators/prompt_selector/Dockerfile
command: flask run -h 0.0.0.0 -p 8135
environment: null
deploy:
mode: null
replicas: null
resources:
limits:
memory: 100M
reservations:
memory: 100M
tty: null
ports:
- 8135:8135
proxy: null
139 changes: 139 additions & 0 deletions assistant_dists/09hodp48a721/docker-compose.override.yml
@@ -0,0 +1,139 @@
services:
agent:
build:
args:
WAIT_HOSTS: prompt-selector-ru:8135, dialogrpt-ru:8122, dff-vs8v91cf94yl-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'
environment:
WAIT_HOSTS: prompt-selector-ru:8135, dialogrpt-ru:8122, dff-vs8v91cf94yl-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
deploy:
resources:
limits:
memory: 200M
reservations:
memory: 200M
prompt-selector-ru:
env_file:
- .env
build:
args:
SERVICE_PORT: 8135
SERVICE_NAME: prompt_selector
N_SENTENCES_TO_RETURN: 3
PROMPTS_TO_CONSIDER: vs8v91cf94yl
FLASK_APP: server
context: .
dockerfile: annotators/prompt_selector/Dockerfile
command: flask run -h 0.0.0.0 -p 8135
environment:
SERVICE_PORT: 8135
SERVICE_NAME: prompt_selector
N_SENTENCES_TO_RETURN: 3
PROMPTS_TO_CONSIDER: vs8v91cf94yl
FLASK_APP: server
deploy:
resources:
limits:
memory: 100M
reservations:
memory: 100M
dialogrpt-ru:
env_file:
- .env_ru
build:
args:
SERVICE_PORT: 8122
PRETRAINED_MODEL_FNAME: dialogrpt_ru_ckpt_v0.pth
TOKENIZER_NAME_OR_PATH: DeepPavlov/rudialogpt3_medium_based_on_gpt2_v2
CUDA_VISIBLE_DEVICES: '0'
FLASK_APP: server
context: services/dialogrpt_ru
command: flask run -h 0.0.0.0 -p 8122
environment:
SERVICE_PORT: 8122
PRETRAINED_MODEL_FNAME: dialogrpt_ru_ckpt_v0.pth
TOKENIZER_NAME_OR_PATH: DeepPavlov/rudialogpt3_medium_based_on_gpt2_v2
CUDA_VISIBLE_DEVICES: '0'
FLASK_APP: server
deploy:
resources:
limits:
memory: 4G
reservations:
memory: 4G
dff-vs8v91cf94yl-prompted-skill:
env_file:
- .env
build:
args:
SERVICE_PORT: 8199
SERVICE_NAME: dff_vs8v91cf94yl_prompted_skill
PROMPT_FILE: common/prompts/vs8v91cf94yl.json
GENERATIVE_SERVICE_URL: http://gigachat-api:8187/respond
GENERATIVE_SERVICE_CONFIG: vs8v91cf94yl.json
GENERATIVE_TIMEOUT: 120
N_UTTERANCES_CONTEXT: 7
ENVVARS_TO_SEND: OPENAI_API_KEY,OPENAI_ORGANIZATION,GIGACHAT_CREDENTIAL,GIGACHAT_SCOPE
context: .
dockerfile: skills/dff_template_prompted_skill/Dockerfile
environment:
SERVICE_PORT: 8199
SERVICE_NAME: dff_vs8v91cf94yl_prompted_skill
PROMPT_FILE: common/prompts/vs8v91cf94yl.json
GENERATIVE_SERVICE_URL: http://gigachat-api:8187/respond
GENERATIVE_SERVICE_CONFIG: vs8v91cf94yl.json
GENERATIVE_TIMEOUT: 120
N_UTTERANCES_CONTEXT: 7
ENVVARS_TO_SEND: OPENAI_API_KEY,OPENAI_ORGANIZATION,GIGACHAT_CREDENTIAL,GIGACHAT_SCOPE
deploy:
resources:
limits:
memory: 128M
reservations:
memory: 128M
ranking-based-response-selector-ru:
env_file:
- .env
build:
args:
SERVICE_PORT: 8002
SERVICE_NAME: response_selector
SENTENCE_RANKER_ANNOTATION_NAME: dialogrpt
SENTENCE_RANKER_SERVICE_URL: http://dialogrpt-ru:8122/rank_sentences
SENTENCE_RANKER_TIMEOUT: 3
N_UTTERANCES_CONTEXT: 5
FILTER_TOXIC_OR_BADLISTED: 1
FLASK_APP: server
context: .
dockerfile: response_selectors/ranking_based_response_selector/Dockerfile
command: flask run -h 0.0.0.0 -p 8002
environment:
SERVICE_PORT: 8002
SERVICE_NAME: response_selector
SENTENCE_RANKER_ANNOTATION_NAME: dialogrpt
SENTENCE_RANKER_SERVICE_URL: http://dialogrpt-ru:8122/rank_sentences
SENTENCE_RANKER_TIMEOUT: 3
N_UTTERANCES_CONTEXT: 5
FILTER_TOXIC_OR_BADLISTED: 1
FLASK_APP: server
deploy:
resources:
limits:
memory: 100M
reservations:
memory: 100M
version: '3.7'