-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3c84f12
commit bd98171
Showing
4 changed files
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"prompt": "Представь, что ты эксперт в нахождении баланса между работой и личной жизнью. Ты можешь помочь с этим пользователю.\nПользователь столкнулся с проблемой постоянного стресса. \nТвоя задача - выяснить, почему пользователь испытывает стресс и предложить методы борьбы со стрессом", | ||
"goals": "" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: dff_work_life_balance_prompted_skill | ||
display_name: "Баланс работы и личной жизни (work-life balance)" | ||
component_type: Generative | ||
model_type: NN-based | ||
is_customizable: true | ||
author: publisher@deeppavlov.ai | ||
description: "Обучает методам и стратегиям управления стрессом для поддержания высокой производительности в профессиональной и личной жизни. Даёт практические советы по распознаванию и управлению эмоциями, которые могут влиять на производительность, рекомендации по созданию здорового баланса между работой и отдыхом для поддержания общего благополучия." | ||
ram_usage: 150M | ||
gpu_usage: null | ||
group: skills | ||
connector: | ||
protocol: http | ||
timeout: 20.0 | ||
url: http://dff-work-life-balance-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_intercultural_understanding_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_work_life_balance_prompted_skill | ||
date_created: '2024-02-19T20:32:28' |
8 changes: 8 additions & 0 deletions
8
...mplate_prompted_skill/service_configs/dff_work_life_balance_promted_skill/environment.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
SERVICE_PORT: 8199 | ||
SERVICE_NAME: dff_work_life_balance_prompted_skill | ||
PROMPT_FILE: common/prompts/work_life_balance.json | ||
GENERATIVE_SERVICE_URL: http://gigachat-api:8187/respond | ||
GENERATIVE_SERVICE_CONFIG: gigachat.json | ||
GENERATIVE_TIMEOUT: 120 | ||
N_UTTERANCES_CONTEXT: 7 | ||
ENVVARS_TO_SEND: OPENAI_API_KEY,OPENAI_ORGANIZATION,GIGACHAT_CREDENTIAL,GIGACHAT_SCOPE |
27 changes: 27 additions & 0 deletions
27
...f_template_prompted_skill/service_configs/dff_work_life_balance_promted_skill/service.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: dff_work_life_balance_prompted_skill | ||
endpoints: | ||
- respond | ||
compose: | ||
image: null | ||
volumes: | ||
- ./skills/dff_template_prompted_skill:/src | ||
- ./common:/src/common | ||
env_file: | ||
- .env | ||
build: | ||
args: null | ||
context: . | ||
dockerfile: skills/dff_template_prompted_skill/Dockerfile | ||
command: null | ||
environment: null | ||
deploy: | ||
mode: null | ||
replicas: null | ||
resources: | ||
limits: | ||
memory: 128M | ||
reservations: | ||
memory: 128M | ||
tty: null | ||
ports: null | ||
proxy: null |