Skip to content

Commit

Permalink
fix duplicate endpoints, missing keys (#371)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtalimanchuk authored Apr 3, 2023
1 parent 5796045 commit bc5cf70
Show file tree
Hide file tree
Showing 12 changed files with 35 additions and 48 deletions.
2 changes: 0 additions & 2 deletions annotators/SentSeg/component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ sentseg:
gpu_usage: null
port: 8011
endpoints:
- group: annotators
endpoint: sentseg
- group: annotators
endpoint: sentseg
- group: response_annotators
Expand Down
2 changes: 0 additions & 2 deletions annotators/combined_classification/component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ combined-classification:
endpoint: model
- group: candidate_annotators
endpoint: batch_model
- group: candidate_annotators
endpoint: batch_model
build_args:
CONFIG: combined_classifier.json
SERVICE_PORT: 8087
Expand Down
4 changes: 0 additions & 4 deletions annotators/kbqa/component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ kbqa:
gpu_usage: 1.4G
port: 8072
endpoints:
- group: annotators
endpoint: model
- group: services
endpoint: model
- group: annotators
endpoint: model
- group: services
Expand Down
12 changes: 0 additions & 12 deletions annotators/prompt_selector/component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,6 @@ prompt-selector:
gpu_usage: null
port: 8135
endpoints:
- group: annotators
endpoint: respond
- group: annotators
endpoint: respond
- group: annotators
endpoint: respond
- group: annotators
endpoint: respond
- group: annotators
endpoint: respond
- group: annotators
endpoint: respond
- group: annotators
endpoint: respond
build_args:
Expand Down
3 changes: 3 additions & 0 deletions services/last_chance_service/component.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
agent:
name: last_chance_service
display_name: Last Chance Service
component_type: null
model_type: null
container_name: agent
is_customizable: false
author: DeepPavlov
Expand All @@ -11,4 +13,5 @@ agent:
endpoints:
- group: last_chance_service
endpoint: respond
build_args: null
date_created: '2023-03-04T19:27:44'
3 changes: 3 additions & 0 deletions services/response_annotator_selectors/component.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
agent:
name: response_annotator_selectors
display_name: Response Annotator Selectors
component_type: null
model_type: null
container_name: agent
is_customizable: false
author: DeepPavlov
Expand All @@ -11,4 +13,5 @@ agent:
endpoints:
- group: response_annotator_selectors
endpoint: respond
build_args: null
date_created: '2023-03-04T19:27:44'
3 changes: 3 additions & 0 deletions services/timeout_service/component.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
agent:
name: timeout_service
display_name: Timeout Service
component_type: null
model_type: null
container_name: agent
is_customizable: false
author: DeepPavlov
Expand All @@ -11,4 +13,5 @@ agent:
endpoints:
- group: timeout_service
endpoint: respond
build_args: null
date_created: '2023-03-04T19:27:44'
5 changes: 2 additions & 3 deletions services/transformers_lm/component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ transformers-lm-bloomz7b:
author: DeepPavlov
description: generative service based on Transformers generative model, the model
is set in docker compose argument `PRETRAINED_MODEL_NAME_OR_PATH` (in particular,
in this service, [BLOOMZ-7b1 model](https://huggingface.co/bigscience/bloomz-7b1) is
used.
in this service, [BLOOMZ-7b1 model](https://huggingface.co/bigscience/bloomz-7b1)
is used.
ram_usage: 2.5G
gpu_usage: 29G
port: 8146
Expand All @@ -46,4 +46,3 @@ transformers-lm-bloomz7b:
PRETRAINED_MODEL_NAME_OR_PATH: bigscience/bloomz-7b1
HALF_PRECISION: 0
date_created: '2023-03-16T09:45:32'

2 changes: 0 additions & 2 deletions skill_selectors/rule_based_selector/component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ agent:
gpu_usage: null
port: 4242
endpoints:
- group: skill_selectors
endpoint: respond
- group: skill_selectors
endpoint: respond
build_args:
Expand Down
40 changes: 22 additions & 18 deletions skills/dff_template_prompted_skill/component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ dff-ai-faq-prompted-skill:
model_type: NN-based
is_customizable: true
author: DeepPavlov
description: This skill is part of the AI FAQ Assistant pipeline. It provides answers generated
by the language model based on the dialog context and the given prompt to answer the user's
questions about some simple concepts in the modern world of AI.
description: This skill is part of the AI FAQ Assistant pipeline. It provides answers
generated by the language model based on the dialog context and the given prompt
to answer the user's questions about some simple concepts in the modern world
of AI.
ram_usage: 150M
gpu_usage: null
port: 8143
Expand All @@ -32,9 +33,10 @@ dff-da-costa-clothes-prompted-skill:
model_type: NN-based
is_customizable: true
author: DeepPavlov
description: This skill is part of the da Costa Clothes Assistant pipeline. It provides
answers generated by the language model based on the dialog context and the given prompt to
suggest items from the clothing store's assortment to the user based on their preferences and budget.
description: This skill is part of the da Costa Clothes Assistant pipeline. It provides
answers generated by the language model based on the dialog context and the given
prompt to suggest items from the clothing store's assortment to the user based
on their preferences and budget.
ram_usage: 150M
gpu_usage: null
port: 8144
Expand Down Expand Up @@ -109,9 +111,10 @@ dff-empathetic-marketing-prompted-skill:
model_type: NN-based
is_customizable: true
author: DeepPavlov
description: This skill is part of the Empathetic Marketing pipeline. It provides
answers generated by the language model based on the dialog context and the given prompt
to assist marketing specialists in preparing materials and developing strategies for future campaigns.
description: This skill is part of the Empathetic Marketing pipeline. It provides
answers generated by the language model based on the dialog context and the given
prompt to assist marketing specialists in preparing materials and developing strategies
for future campaigns.
ram_usage: 150M
gpu_usage: null
port: 8138
Expand All @@ -135,9 +138,9 @@ dff-fairytale-prompted-skill:
model_type: NN-based
is_customizable: true
author: DeepPavlov
description: This skill is part of the Fairytale Assistant pipeline. It generates
short fairytales using a language model based on the dialog context and the given prompt
to tell the user a story about the given characters and topic.
description: This skill is part of the Fairytale Assistant pipeline. It generates
short fairytales using a language model based on the dialog context and the given
prompt to tell the user a story about the given characters and topic.
ram_usage: 100M
gpu_usage: null
port: 8139
Expand All @@ -162,8 +165,8 @@ dff-nutrition-prompted-skill:
model_type: NN-based
is_customizable: true
author: DeepPavlov
description: This skill is part of the Nutrition Assistant pipeline. It provides
answers generated by the language model based on the dialog context and the given
description: This skill is part of the Nutrition Assistant pipeline. It provides
answers generated by the language model based on the dialog context and the given
prompt and gives the user advice on healthy eating.
ram_usage: 100M
gpu_usage: null
Expand All @@ -188,9 +191,10 @@ dff-rhodes-coaching-prompted-skill:
model_type: NN-based
is_customizable: true
author: DeepPavlov
description: This skill is part of the Rhodes Coaching Assistant pipeline. It provides
answers generated by the language model based on the dialog context and the given prompt
to assists the user in setting their goals and developing step-by-step plans to achieve them.
description: This skill is part of the Rhodes Coaching Assistant pipeline. It provides
answers generated by the language model based on the dialog context and the given
prompt to assists the user in setting their goals and developing step-by-step
plans to achieve them.
ram_usage: 150M
gpu_usage: null
port: 8142
Expand Down Expand Up @@ -230,4 +234,4 @@ dff-deepy-prompted-skill:
GENERATIVE_TIMEOUT: 7
N_UTTERANCES_CONTEXT: 3
ENVVARS_TO_SEND: OPENAI_API_KEY,OPENAI_ORGANIZATION
date_created: '2023-03-16T09:45:32'
date_created: '2023-03-16T09:45:32'
5 changes: 2 additions & 3 deletions skills/dff_universal_prompted_skill/component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ dff-universal-prompted-skill:
model_type: NN-based
is_customizable: true
author: DeepPavlov
description: Universal prompt-based skill which accepts a prompt,
a language modelling service (among the considered) to generate a response.
description: Universal prompt-based skill which accepts a prompt, a language modelling
service (among the considered) to generate a response.
ram_usage: 150M
gpu_usage: null
port: 8147
Expand All @@ -20,4 +20,3 @@ dff-universal-prompted-skill:
GENERATIVE_TIMEOUT: 5
N_UTTERANCES_CONTEXT: 3
date_created: '2023-03-16T09:45:32'

2 changes: 0 additions & 2 deletions skills/dummy_skill/component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ agent:
gpu_usage: null
port: 4242
endpoints:
- group: skills
endpoint: respond
- group: skills
endpoint: respond
build_args:
Expand Down

0 comments on commit bc5cf70

Please sign in to comment.