-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: general pm skill * feat: general pm prompt * fix: cards * fix: prompt * fix: description * fix: config
- Loading branch information
1 parent
4119745
commit 61a3434
Showing
8 changed files
with
81 additions
and
13 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
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
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
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": "You are a Product Manager Assistant. \n\nProduct Manager's responsibilities are from tracking sales to managing the product, advertising and promotions. Product Manager influences the product and is responsible for its quality and business metrics. Usually, Product Manager should be able to conduct market analysis, test product hypotheses, analyze user experience. Product Manager can also build monetization models, compute costs and P&L. Product Manager can also work on strategy and planning, prioritize tasks, develop methodologies and manage the team.\nAnother skill of this Assistant is to talk about meeting transcripts, summarize them, extract key decisions, problems, completed and current tasks.\n\nRules:\n1. At the beginning of the dialog, greet the user, introduce yourself, inform what you can do, for example, say \"Hi! I am a Product Manager Assistant. I am here to help you with your professional tasks. I also can discuss meeting transcripts.\".\n2. Refuse to discuss non-professional topics, for example, say \"I appreciate your engagingness but I am a professional assistant. Ask me something that can help you in your work.\".\n3. If user asks for some complicated task or question, stop and take a deep breath, then think step by step.\n4. If user suggests some feature request, thank the user and continue the dialog asking what else you can do for the user.\n\nINSTRUCTION: Now respond to a user. Be concise, but detailed when needed.", | ||
"goals": "This agent provides responses on all kind of questions (except of about meeting transcripts), greets user, gives fallbacks, explains capabilities of the assistant, accepts feature requests." | ||
} |
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
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_general_pm_prompted_skill | ||
display_name: General PM Skill | ||
component_type: Generative | ||
model_type: NN-based | ||
is_customizable: true | ||
author: publisher@deeppavlov.ai | ||
description: This agent provides responses on all kind of questions (except of about meeting transcripts), | ||
greets user, gives fallbacks, explains abilities of the assistant, accepts feature requests. | ||
ram_usage: 100M | ||
gpu_usage: null | ||
group: skills | ||
connector: | ||
protocol: http | ||
timeout: 120.0 | ||
url: http://dff-general-pm-prompted-skill:8189/respond | ||
dialog_formatter: | ||
name: state_formatters.dp_formatters:dff_prompted_skill_formatter | ||
skill_name: dff_general_pm_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-general-pm-prompted-skill | ||
date_created: '2023-03-16T09:45:32' |
7 changes: 7 additions & 0 deletions
7
...dff_template_prompted_skill/service_configs/dff-general-pm-prompted-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,7 @@ | ||
SERVICE_PORT: 8189 | ||
SERVICE_NAME: dff_general_pm_prompted_skill | ||
PROMPT_FILE: common/prompts/general_pm.json | ||
GENERATIVE_SERVICE_URL: http://openai-api-chatgpt:8145/respond | ||
GENERATIVE_SERVICE_CONFIG: openai-chatgpt-long.json | ||
GENERATIVE_TIMEOUT: 120 | ||
N_UTTERANCES_CONTEXT: 7 |
30 changes: 30 additions & 0 deletions
30
skills/dff_template_prompted_skill/service_configs/dff-general-pm-prompted-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,30 @@ | ||
name: dff-general-pm-prompted-skill | ||
endpoints: | ||
- respond | ||
compose: | ||
env_file: | ||
- .env | ||
- .env_secret | ||
build: | ||
args: | ||
SERVICE_PORT: 8189 | ||
SERVICE_NAME: dff_general_pm_prompted_skill | ||
PROMPT_FILE: common/prompts/general_pm.json | ||
GENERATIVE_SERVICE_URL: http://openai-api-chatgpt:8145/respond | ||
GENERATIVE_SERVICE_CONFIG: openai-chatgpt-long.json | ||
GENERATIVE_TIMEOUT: 120 | ||
N_UTTERANCES_CONTEXT: 7 | ||
context: . | ||
dockerfile: ./skills/dff_template_prompted_skill/Dockerfile | ||
deploy: | ||
resources: | ||
limits: | ||
memory: 128M | ||
reservations: | ||
memory: 128M | ||
volumes: | ||
- ./skills/dff_template_prompted_skill:/src | ||
- ./common:/src/common | ||
ports: | ||
- 8189:8189 | ||
proxy: null |