Skip to content

Commit

Permalink
Fix: component cards (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
smilni authored Aug 25, 2023
1 parent 3aea5af commit 162e960
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
WAIT_HOSTS: "sentseg:8011, ranking-based-response-selector:8002, combined-classification:8087,
sentence-ranker:8128, prompt-selector:8135, openai-api-chatgpt:8145,
dff-roles-prompted-skill:8185"
WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-1000}
HIGH_PRIORITY_INTENTS: 1
RESTRICTION_FOR_SENSITIVE_CASE: 1
ALWAYS_TURN_ON_ALL_SKILLS: 0
LANGUAGE: EN
FALLBACK_FILE: fallbacks_dream_en.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: agent
endpoints:
- respond
compose:
command: sh -c 'bin/wait && python -m deeppavlov_agent.run agent.pipeline_config=assistant_dists/management_assistant/pipeline_conf.json'
environment:
WAIT_HOSTS: "sentseg:8011, ranking-based-response-selector:8002, combined-classification:8087,
sentence-ranker:8128, prompt-selector:8135, openai-api-chatgpt:8145,
dff-roles-prompted-skill:8185"
WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-1000}
HIGH_PRIORITY_INTENTS: 1
RESTRICTION_FOR_SENSITIVE_CASE: 1
ALWAYS_TURN_ON_ALL_SKILLS: 0
LANGUAGE: EN
FALLBACK_FILE: fallbacks_dream_en.json
volumes:
- .:/dp-agent
ports:
- 4242:4242
proxy: null
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
SERVICE_PORT: 8185
SERVICE_NAME: dff_roles_prompted_skill
PROMPT_FILE: common/prompts/roles.json
GENERATIVE_SERVICE_URL: http://openai-api-chatgpt:8145/respond
GENERATIVE_SERVICE_CONFIG: openai-chatgpt.json
GENERATIVE_TIMEOUT: 120
N_UTTERANCES_CONTEXT: 7
ENVVARS_TO_SEND: OPENAI_API_KEY,OPENAI_ORGANIZATION
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: dff-roles-prompted-skill
endpoints:
- respond
compose:
env_file:
- .env
- .env_secret
build:
args:
SERVICE_PORT: 8185
SERVICE_NAME: dff_roles_prompted_skill
PROMPT_FILE: common/prompts/roles.json
GENERATIVE_SERVICE_URL: http://openai-api-chatgpt:8145/respond
GENERATIVE_SERVICE_CONFIG: openai-chatgpt.json
GENERATIVE_TIMEOUT: 120
N_UTTERANCES_CONTEXT: 7
ENVVARS_TO_SEND: OPENAI_API_KEY,OPENAI_ORGANIZATION
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:
- 8185:8185
proxy: null

0 comments on commit 162e960

Please sign in to comment.