From 4e55ae24cdf42f957bef3466fee43ab4f38f75a6 Mon Sep 17 00:00:00 2001 From: Maxim Talimanchuk Date: Sun, 30 Apr 2023 15:37:29 +0300 Subject: [PATCH] Add compose definitions to component cards (#384) * Fix requirements.txt (#84) * fix itsdangerous requirements * pin itsdangerous requirements for all flask==1.1.1 servers * add compose definitions to component cards * add host, port, endpoint to pipeline cards * fix authors, add missing pipelines, add template * add prompt-selector template, fix templates * fix template keys * remove unused comet-atomic component * rework service, component cards * move build args and env vars to environment.yml file * fix empty proxy values * fix pipeline confs * fix component connector.annotations * fix wait hosts in response_annotator_selectors service * fix wait hosts in other services, environments * fix response selectors, pipelines * fix ports in response selector * fix generative components * fix: remove spelling and badlists from dream_persona_prompted * fix: ignore all env_secret * fix: new formatters for dff * fix: universal dist does not utilize env_secret * fix: multiskill components and timeouts * fix: remove template_template distribution * fix: deeppavlov assistant * fix: formatters in components * fix: volumes for resp selectors * fix: correct filenames for multiskill * fix: rullama7bru distribution * fix pipelines after merge * fix sentseg annotator source in pipelines * fix agent services, components * fix: sentseg and prompt selector do not wait for spelling * fix: response_annotator_selectors card * fix: timeouts * fix: build args * create services, components for prompt selector * fix prompt selectors environment * fix: flask server * fix: path to prompt selector * fix: required groups * fix: required group skill_selectors * fix: required elements * fix: previous services * fix: correct link to sentseg components card * fix: correct link to sentseg components card * remove unused prompt selector component * remove old configs * fix: rename files without dashes --------- Co-authored-by: Andrii.Hura <54397922+AndriiHura@users.noreply.github.com> Co-authored-by: Dilyara Baymurzina --- .gitignore | 2 +- .../BadlistedWordsDetector/component.yml | 23 - .../BadlistedWordsDetector/pipeline.yml | 21 - .../badlisted-words/environment.yml | 3 + .../badlisted-words/service.yml | 38 ++ .../BadlistedWordsDetector_ru/component.yml | 23 - .../BadlistedWordsDetector_ru/pipeline.yml | 12 - .../badlisted-words-ru/environment.yml | 3 + .../badlisted-words-ru/service.yml | 28 ++ annotators/COMeT/component.yml | 50 --- annotators/COMeT/pipeline.yml | 13 - .../comet-conceptnet/environment.yml | 8 + .../comet-conceptnet/service.yml | 43 ++ .../ConversationEvaluator/component.yml | 23 - annotators/ConversationEvaluator/pipeline.yml | 11 - .../environment.yml | 4 + .../convers-evaluator-annotator/service.yml | 40 ++ .../IntentCatcherTransformers/component.yml | 44 -- .../IntentCatcherTransformers/pipeline.yml | 24 - .../intent-catcher-ru/environment.yml | 5 + .../intent-catcher-ru/service.yml | 32 ++ .../intent-catcher/environment.yml | 5 + .../intent-catcher/service.yml | 43 ++ .../component.yml | 22 - .../pipeline.yml | 19 - .../environment.yml | 5 + .../service.yml | 31 ++ .../component.yml | 23 - .../pipeline.yml | 19 - .../environment.yml | 5 + .../service.yml | 31 ++ annotators/NER_deeppavlov/component.yml | 50 --- annotators/NER_deeppavlov/pipeline.yml | 46 -- .../service_configs/ner-ru/environment.yml | 6 + .../service_configs/ner-ru/service.yml | 33 ++ .../service_configs/ner/environment.yml | 6 + .../service_configs/ner/service.yml | 43 ++ annotators/SentRewrite/component.yml | 22 - annotators/SentRewrite/pipeline.yml | 26 -- .../sentrewrite/environment.yml | 1 + .../service_configs/sentrewrite/service.yml | 32 ++ annotators/SentSeg/component.yml | 22 - annotators/SentSeg/pipeline.yml | 21 - .../service_configs/sentseg/environment.yml | 1 + .../service_configs/sentseg/service.yml | 32 ++ annotators/asr/component.yml | 20 - annotators/asr/pipeline.yml | 9 - .../asr/service_configs/asr/environment.yml | 1 + .../asr/service_configs/asr/service.yml | 34 ++ .../combined_classification/component.yml | 23 - .../combined_classification/pipeline.yml | 21 - .../combined-classification/environment.yml | 4 + .../combined-classification/service.yml | 41 ++ .../component.yml | 19 - .../emotion_classification_deepy/pipeline.yml | 11 - .../environment.yml | 0 .../emotion-classification-deepy/service.yml | 10 + annotators/entity_detection/component.yml | 26 -- annotators/entity_detection/pipeline.yml | 22 - .../entity-detection/environment.yml | 9 + .../entity-detection/service.yml | 47 ++ annotators/entity_detection_rus/component.yml | 24 - annotators/entity_detection_rus/pipeline.yml | 12 - .../entity-detection-ru/environment.yml | 5 + .../entity-detection-ru/service.yml | 32 ++ annotators/entity_linking/component.yml | 23 - annotators/entity_linking/pipeline.yml | 13 - .../entity-linking/environment.yml | 5 + .../entity-linking/service.yml | 40 ++ annotators/entity_linking_deepy/component.yml | 21 - annotators/entity_linking_deepy/pipeline.yml | 8 - .../entity-linking-deepy/environment.yml | 5 + .../entity-linking-deepy/service.yml | 20 + annotators/entity_linking_rus/component.yml | 24 - annotators/entity_linking_rus/pipeline.yml | 12 - .../entity-linking-ru/environment.yml | 6 + .../entity-linking-ru/service.yml | 30 ++ annotators/entity_storer/component.yml | 22 - annotators/entity_storer/pipeline.yml | 12 - .../entity-storer/environment.yml | 4 + .../service_configs/entity-storer/service.yml | 39 ++ annotators/fact_random/component.yml | 21 - annotators/fact_random/pipeline.yml | 13 - .../fact-random/environment.yml | 3 + .../service_configs/fact-random/service.yml | 38 ++ annotators/fact_retrieval/component.yml | 25 -- annotators/fact_retrieval/pipeline.yml | 13 - .../fact-retrieval/environment.yml | 10 + .../fact-retrieval/service.yml | 48 ++ annotators/fact_retrieval_rus/component.yml | 28 -- annotators/fact_retrieval_rus/pipeline.yml | 11 - .../fact-retrieval-ru/environment.yml | 7 + .../fact-retrieval-ru/service.yml | 33 ++ annotators/kbqa/component.yml | 24 - annotators/kbqa/pipeline.yml | 11 - .../kbqa/service_configs/kbqa/environment.yml | 7 + .../kbqa/service_configs/kbqa/service.yml | 44 ++ annotators/midas_classification/component.yml | 24 - annotators/midas_classification/pipeline.yml | 22 - .../midas-classification/environment.yml | 5 + .../midas-classification/service.yml | 42 ++ annotators/midas_predictor/component.yml | 19 - annotators/midas_predictor/pipeline.yml | 11 - .../midas-predictor/environment.yml | 3 + .../midas-predictor/service.yml | 36 ++ annotators/news_api/component.yml | 23 - annotators/news_api/pipeline.yml | 15 - .../news-api-annotator/environment.yml | 4 + .../news-api-annotator/service.yml | 39 ++ annotators/prompt_selector/component.yml | 22 - annotators/prompt_selector/pipeline.yml | 11 - .../ai_faq_assistant/environment.yml | 5 + .../ai_faq_assistant/service.yml | 30 ++ .../deeppavlov_assistant/environment.yml | 5 + .../deeppavlov_assistant/service.yml | 30 ++ .../deepy_assistant/environment.yml | 5 + .../deepy_assistant/service.yml | 30 ++ .../environment.yml | 5 + .../dream_persona_openai_prompted/service.yml | 30 ++ .../dream_persona_prompted/environment.yml | 5 + .../dream_persona_prompted/service.yml | 30 ++ .../fairytale_assistant/environment.yml | 5 + .../fairytale_assistant/service.yml | 30 ++ .../fashion_stylist_assistant/environment.yml | 5 + .../fashion_stylist_assistant/service.yml | 30 ++ .../life_coaching_assistant/environment.yml | 5 + .../life_coaching_assistant/service.yml | 30 ++ .../marketing_assistant/environment.yml | 5 + .../marketing_assistant/service.yml | 30 ++ .../multiskill_ai_assistant/environment.yml | 5 + .../multiskill_ai_assistant/service.yml | 30 ++ .../nutrition_assistant/environment.yml | 5 + .../nutrition_assistant/service.yml | 30 ++ .../prompt-selector-ru/environment.yml | 5 + .../prompt-selector-ru/service.yml | 30 ++ annotators/prompt_selector/template.yml | 13 + annotators/property_extraction/component.yml | 23 - .../property-extraction/environment.yml | 5 + .../property-extraction/service.yml | 40 ++ annotators/rake_keywords/component.yml | 19 - annotators/rake_keywords/pipeline.yml | 11 - .../rake-keywords/environment.yml | 3 + .../service_configs/rake-keywords/service.yml | 37 ++ .../relative_persona_extractor/component.yml | 21 - .../relative_persona_extractor/pipeline.yml | 11 - .../environment.yml | 4 + .../relative-persona-extractor/service.yml | 39 ++ annotators/sentseg_ru/component.yml | 23 - annotators/sentseg_ru/pipeline.yml | 21 - .../sentseg-ru/environment.yml | 3 + .../service_configs/sentseg-ru/service.yml | 28 ++ annotators/spacy_annotator/component.yml | 25 -- annotators/spacy_annotator/pipeline.yml | 19 - .../spacy-annotator-ru/environment.yml | 6 + .../spacy-annotator-ru/service.yml | 31 ++ annotators/spacy_nounphrases/component.yml | 23 - annotators/spacy_nounphrases/pipeline.yml | 31 -- .../spacy-nounphrases/environment.yml | 3 + .../spacy-nounphrases/service.yml | 39 ++ .../speech_function_classifier/component.yml | 24 - .../speech_function_classifier/pipeline.yml | 33 -- .../environment.yml | 3 + .../speech-function-classifier/service.yml | 40 ++ .../speech_function_predictor/component.yml | 22 - .../speech_function_predictor/pipeline.yml | 21 - .../speech-function-predictor/environment.yml | 2 + .../speech-function-predictor/service.yml | 37 ++ .../spelling_preprocessing/component.yml | 20 - .../spelling_preprocessing/pipeline.yml | 9 - .../spelling-preprocessing/environment.yml | 3 + .../spelling-preprocessing/service.yml | 36 ++ .../spelling_preprocessing_dp/component.yml | 23 - .../spelling_preprocessing_dp/pipeline.yml | 9 - .../spelling-preprocessing-ru/environment.yml | 6 + .../spelling-preprocessing-ru/service.yml | 31 ++ annotators/topic_recommendation/component.yml | 21 - annotators/topic_recommendation/pipeline.yml | 13 - .../topic-recommendation/environment.yml | 3 + .../topic-recommendation/service.yml | 36 ++ .../toxic_classification_ru/component.yml | 23 - .../toxic_classification_ru/pipeline.yml | 21 - .../toxic-classification-ru/environment.yml | 5 + .../toxic-classification-ru/service.yml | 31 ++ .../user_persona_extractor/component.yml | 20 - .../user_persona_extractor/pipeline.yml | 11 - .../user-persona-extractor/environment.yml | 3 + .../user-persona-extractor/service.yml | 38 ++ annotators/wiki_parser/component.yml | 57 --- annotators/wiki_parser/pipeline.yml | 22 - .../wiki-parser-ru/environment.yml | 12 + .../wiki-parser-ru/service.yml | 38 ++ .../wiki-parser/environment.yml | 11 + .../service_configs/wiki-parser/service.yml | 47 ++ .../ai_faq_assistant/pipeline_conf.json | 66 ++- .../deeppavlov_assistant/pipeline_conf.json | 57 ++- assistant_dists/deepy_adv/pipeline_conf.json | 71 +-- .../deepy_assistant/pipeline_conf.json | 59 ++- assistant_dists/deepy_base/pipeline_conf.json | 54 ++- assistant_dists/deepy_faq/pipeline_conf.json | 54 ++- .../deepy_gobot_base/pipeline_conf.json | 54 ++- assistant_dists/dream/pipeline_conf.json | 390 +++++++--------- .../dream_alexa/pipeline_conf.json | 375 +++++++--------- assistant_dists/dream_mini/pipeline_conf.json | 76 ++-- .../pipeline_conf.json | 86 ++-- .../dream_multilingual/pipeline_conf.json | 109 ++++- .../dream_multimodal/pipeline_conf.json | 86 ++-- .../pipeline_conf.json | 68 ++- .../dream_persona_prompted/README.md | 5 +- .../dream_persona_prompted/pipeline_conf.json | 178 ++++---- .../docker-compose.override.yml | 2 +- .../pipeline_conf.json | 63 ++- .../dream_russian/pipeline_conf.json | 151 +++---- assistant_dists/dream_sfc/pipeline_conf.json | 395 +++++++---------- .../fairytale_assistant/pipeline_conf.json | 66 ++- .../pipeline_conf.json | 66 ++- .../pipeline_conf.json | 68 ++- .../marketing_assistant/pipeline_conf.json | 66 ++- .../pipeline_conf.json | 163 +++++-- .../nutrition_assistant/pipeline_conf.json | 66 ++- .../template_template_prompted/README.md | 131 ------ .../template_template_prompted/cpu.yml | 8 - .../template_template_prompted/db_conf.json | 6 - .../template_template_prompted/dev.yml | 50 --- .../docker-compose.override.yml | 146 ------ .../pipeline_conf.json | 266 ----------- .../template_template_prompted/proxy.yml | 30 -- .../template_template_prompted/telegram.yml | 17 - .../pipeline_conf.json | 58 ++- components/-EvuPQO29N28izuWLBtxew.yml | 25 ++ components/-NxFeriz1ymjSuvPITEJOQ.yml | 26 ++ components/-VFltJVPpaCZ7Mquk2N7qg.yml | 25 ++ components/-qJPPqfjKviU_yvDTCn2Xw.yml | 25 ++ components/05PqJXVd-7gV7DqslN5z3A.yml | 24 + components/05PqJXVd7gV7DqslN5z3A.yml | 24 + components/0aGHC6rgSth_kFjoUgQEIw.yml | 28 ++ components/0aGHC6rgSthkFjoUgQEIw.yml | 28 ++ components/0sXrpFc5dMQSbhydkrrq7A.yml | 24 + components/1HucxpdVamyoS0GEl3l7A.yml | 25 ++ components/1HucxpdVamyoS_0GEl3l7A.yml | 25 ++ components/1IjC3r9b1VJ082ceINXzHQ.yml | 26 ++ components/1JUPwwo1SZzxuj4RXjI350.yml | 28 ++ components/1Q9QXih1U2zhCpVm9zxdsA.yml | 25 ++ components/1VPCe8n0dmU8o2hC0NeeWQ.yml | 25 ++ components/1hNMgFlLT00Lc1s41yqbxA.yml | 22 + components/1sMhc1QV81kG.yml | 32 ++ components/2Fck28us-cKzZBviQ8WZTg.yml | 24 + components/2Fck28uscKzZBviQ8WZTg.yml | 24 + components/2LVyFT6xI6CR.yml | 32 ++ components/2MB4WF8B3XFI.yml | 32 ++ components/2U9da1Fyq1KvANddliIN5g.yml | 23 + components/2bbCQcfY2YYjHtMCRFHImG.yml | 27 ++ components/2qgy_iVeuSZnotxkaBe3cw.yml | 27 ++ components/2qgyiVeuSZnotxkaBe3cw.yml | 27 ++ components/3DTP1sVd_mFIBYrC8OjRYA.yml | 24 + components/3DTP1sVdmFIBYrC8OjRYA.yml | 24 + components/3RDNPBdybjBlSQZqcc7nGQ.yml | 26 ++ components/3clxaNOTpI3oHR0fHRaCnQ.yml | 24 + components/3vsfbB89yVpQm5OVW0YcvQ.yml | 25 ++ components/43JRcG1T0urZ.yml | 32 ++ components/4SJxJlf3E8TTM94Uiqt5Xg.yml | 25 ++ components/4yA8wZWOEnafRfz6Po9nvA.yml | 25 ++ components/5CCnaSNbKTaB.yml | 32 ++ components/5J6lKI1JAjI9.yml | 32 ++ components/5Sr7pFn5Vaiu.yml | 24 + components/5jR1Tq88W5OckWnTV8VIYL.yml | 24 + components/5oDP3mLmiLaS.yml | 32 ++ components/6UmSIUrka1Tl.yml | 32 ++ components/6l-LhP7zuoiI0bxJEDLWUg.yml | 27 ++ components/6lLhP7zuoiI0bxJEDLWUg.yml | 27 ++ components/6vJmuO1GbwgIDIBc3hrwm0.yml | 27 ++ components/70NLr5qqOow5.yml | 32 ++ components/7Dxjy1ZpQEAoPcEeABGBLg.yml | 26 ++ components/7dhiDqHqK6TYOAJAKK7grg.yml | 24 + components/8amq2jANl7xb.yml | 32 ++ components/8qwxH2SZE4EhXS5JqqZPkm.yml | 27 ++ components/9XSWCH46buTl2i-sGsdefA.yml | 26 ++ components/9XSWCH46buTl2isGsdefA.yml | 26 ++ components/AkgtzbAdOaly7bBjaOQvg.yml | 25 ++ components/AkgtzbAd_Oaly7bBjaOQvg.yml | 25 ++ components/Aq8BKfuOs07Q.yml | 32 ++ components/BTkgJIpLE8yb.yml | 32 ++ components/CEnFhpgntTwT.yml | 32 ++ components/CGfUfSJOGK2diPRLlsXYFA.yml | 23 + components/CJSHsz2Ac5ul.yml | 32 ++ components/CmQGq1Xn5YOaMwNIb4bEpA.yml | 25 ++ components/DKpAPqrBbakAcoSbx6hibg.yml | 29 ++ components/DUW2u7FwPMyhBOWrK1HTg.yml | 25 ++ components/DUW2u7Fw_PMyhBOWrK1HTg.yml | 25 ++ components/DbHXjhwWHORIms84Z3WJbA.yml | 24 + components/DbSG2ONMnwu7.yml | 24 + components/ED4eLNB6JK3U8sUGHsQ.yml | 24 + components/ED_4-eLNB6-JK3U8sUGHsQ.yml | 24 + components/EvuPQO29N28izuWLBtxew.yml | 25 ++ components/FJ-pakzPR4IC8F1sos7FSg.yml | 25 ++ components/FJpakzPR4IC8F1sos7FSg.yml | 25 ++ components/FNmTZbz8EA6-Y80b5pXZzQ.yml | 25 ++ components/FNmTZbz8EA6Y80b5pXZzQ.yml | 25 ++ components/GUBU1VTsOaAmXsPId4c9tg.yml | 25 ++ components/GYa5X3Q4snG-IgQzAFc7Gg.yml | 25 ++ components/GYa5X3Q4snGIgQzAFc7Gg.yml | 25 ++ components/H-wvIQNi3pCqMifPclnOMg.yml | 28 ++ components/H1bbLiJ4B8F_g77NPDgGjA.yml | 31 ++ components/H1bbLiJ4B8Fg77NPDgGjA.yml | 31 ++ components/HCDk0BKtebIr-wROLGStKQ.yml | 27 ++ components/HCDk0BKtebIrwROLGStKQ.yml | 27 ++ components/HFemvyS0tyqChUVAuCZt7g.yml | 26 ++ components/HPjIdUO3Ux41.yml | 32 ++ components/HqbKuGPENqUm.yml | 24 + components/HvYsrVCd5c52.yml | 32 ++ components/HwvIQNi3pCqMifPclnOMg.yml | 28 ++ components/HxZ-wtabTqPYokTZ9yJ3MQ.yml | 24 + components/HxZwtabTqPYokTZ9yJ3MQ.yml | 24 + components/IiXGzRszejsDfy8VcgI9A.yml | 26 ++ components/IiXGzRszejsDfy8Vcg_I9A.yml | 26 ++ components/IvTBJz0AoCD98qMOkbXEkg.yml | 26 ++ components/IyLt06tlM1Ad13bQ2VQ9Vg.yml | 26 ++ components/J-lk28u7nVCSNqrT1YpLAQ.yml | 26 ++ components/JBT6ELvDDQed.yml | 32 ++ components/JC93rfUXvRXa.yml | 32 ++ components/JF1gG7lJb3qz.yml | 32 ++ components/JZQdT4V5UXtwWLC2CWeA.yml | 24 + components/JZQdT_4V5UXtwWL-C2CWeA.yml | 24 + components/Jlk28u7nVCSNqrT1YpLAQ.yml | 26 ++ components/JqdQTo5rdzNI.yml | 32 ++ components/KSNMJJOS15MN2lsyS8fjBg.yml | 27 ++ components/KX4drAocVa5APcivWHeBNQ.yml | 24 + components/LB9M2ATJRuRM.yml | 32 ++ components/LUSJ19c38uOLAVZWYs5U8g.yml | 23 + components/LUiKFsqPaNHJC9SW4Mw.yml | 24 + components/LXrJ-DIf43gwNmPMNXG5Eg.yml | 25 ++ components/LXrJDIf43gwNmPMNXG5Eg.yml | 25 ++ components/L_UiKFsqPa_NH_JC9SW4Mw.yml | 24 + components/M1sE6hOm20EGBWBdr0vIOw.yml | 26 ++ components/NX76VAAIuvSF.yml | 32 ++ components/Nw2-SnrS4DGoALg6Cu58Zw.yml | 24 + components/Nw2SnrS4DGoALg6Cu58Zw.yml | 24 + components/NxFeriz1ymjSuvPITEJOQ.yml | 26 ++ components/O4FVnkAwjay1mL1FbuRGWw.yml | 24 + components/OOF0PmuxswPuZintDoAlXw.yml | 23 + components/ORrfDhL6aqYS.yml | 32 ++ components/OUs0LlgMUuy6gKezntdDoA.yml | 26 ++ components/OfrBzuijoa0vKB-Q_wWRlw.yml | 29 ++ components/OfrBzuijoa0vKBQwWRlw.yml | 29 ++ components/OpwVmWKiYYsK.yml | 32 ++ components/P6oHJQFf89qG.yml | 24 + components/PbLNvh4hrvs47rPaf2bfYQ.yml | 25 ++ components/QqTMvljZNeJGkLykBRUAw.yml | 26 ++ components/RJuoKZw7krAuB-4LrP5-fQ.yml | 24 + components/RJuoKZw7krAuB4LrP5fQ.yml | 24 + components/RZzyxv06mT3Y.yml | 32 ++ components/RfSyL88o-5DJx15sUEvnZg.yml | 25 ++ components/RfSyL88o5DJx15sUEvnZg.yml | 25 ++ components/S0Nt2SuDQD1v.yml | 32 ++ components/SFiPofc4cGq6IRlit38e8A.yml | 25 ++ components/TUMYgqCicowHdORbycHBow.yml | 24 + components/Tlo3lSEJHo570onf-HN-8w.yml | 25 ++ components/Tlo3lSEJHo570onfHN8w.yml | 25 ++ components/TvtHFEgVjuut.yml | 32 ++ components/U7OP1e0Kcceld-KplIDMvg.yml | 25 ++ components/U7OP1e0KcceldKplIDMvg.yml | 25 ++ components/USXkrUZRNdXbwACjKhO6KQ.yml | 24 + components/V21kCVvTaCv8J0c4rDV4RA.yml | 25 ++ components/V2iGM38Tkgmf1OcURQnAg.yml | 24 + components/V2iGM_38Tkgmf1OcURQnAg.yml | 24 + components/VFdfQBQqBODF.yml | 24 + components/VFltJVPpaCZ7Mquk2N7qg.yml | 25 ++ components/VVQgKT69i36HzEqbJKoWqQ.yml | 24 + components/Vi0jGZfqNIU8.yml | 32 ++ components/VkkvnRwjgB5GwrH98k5EKA.yml | 25 ++ components/W6hdAGshQyMwdQukRXXuKA.yml | 27 ++ components/WU-5Uy2COnuEIRp9P7vymA.yml | 24 + components/WU5Uy2COnuEIRp9P7vymA.yml | 24 + components/WXoRDgXAlx8x17Z_lwO9jA.yml | 29 ++ components/WXoRDgXAlx8x17ZlwO9jA.yml | 29 ++ components/WhchMmh929YzMMs3MoxCfw.yml | 24 + components/Wps5FHxkwj3Z.yml | 24 + components/WuybEuX9oXVKeg7ttDF-Sg.yml | 25 ++ components/WuybEuX9oXVKeg7ttDFSg.yml | 25 ++ components/WzIX0HJ0Xyo4V8ItwL--ew.yml | 25 ++ components/WzIX0HJ0Xyo4V8ItwLew.yml | 25 ++ components/X-WQGXXbppnHZVm1h-yDIw.yml | 25 ++ components/XE0P0D9hrEvJAu4a8QRw.yml | 24 + components/XE0P0D9hrEvJAu__4a8QRw.yml | 24 + components/XGwmAHtAOu0NDqqG3Q-CJw.yml | 25 ++ components/XGwmAHtAOu0NDqqG3QCJw.yml | 25 ++ components/XWQGXXbppnHZVm1hyDIw.yml | 25 ++ components/XZhbQ6HldVwk.yml | 32 ++ components/XgWzjx4qHTsfx1ijyDc_sw.yml | 25 ++ components/XgWzjx4qHTsfx1ijyDcsw.yml | 25 ++ components/XnOc0ygtsgoaEdDdzSJQ.yml | 25 ++ components/Xn_Oc0ygts_goaEdDdzSJQ.yml | 25 ++ components/YJzc7NwGrLmKp6gfZJh7X1.yml | 25 ++ components/YJzc7NwGrLmKp6gfZJh7Xg.yml | 25 ++ components/Zs3hq7LIexcITcvlU39Cjw.yml | 26 ++ components/_QqTMvljZNeJGkLykBRUAw.yml | 26 ++ components/_n1HuqlV7EoNrWXcv8WaIQ.yml | 26 ++ components/_qx0j5QHAzog0b-39nRnuA.yml | 24 + components/bWzlHQXmA4f67-3B8_LmXQ.yml | 24 + components/bWzlHQXmA4f673B8LmXQ.yml | 24 + components/ci8xMlIVkTwcjOOQ5ztZ2g.yml | 23 + components/ciuEzuXB-NAXpidbSBXTyw.yml | 25 ++ components/ciuEzuXBNAXpidbSBXTyw.yml | 25 ++ components/ckUclxqUpl-yzwmnYyixEw.yml | 25 ++ components/ckUclxqUplyzwmnYyixEw.yml | 25 ++ components/cyCwlcQF9m-AtDNcxOS6CA.yml | 25 ++ components/cyCwlcQF9mAtDNcxOS6CA.yml | 25 ++ components/dBe4eyhkP0Dj.yml | 32 ++ components/dswI5sRZbFPmgcNQKH5iPg.yml | 24 + components/eAupU7hg2SeSkZV1OpaLkw.yml | 24 + components/eOCFQOgp1Un10NyBC8MPow.yml | 26 ++ components/f2hECzXDTTfljm5mweoMFA.yml | 23 + components/fOud1KbT6qhY.yml | 24 + components/feDgqHKLibnMNM3HSbnmA.yml | 24 + components/feDgq_HKLibnMNM3HSbnmA.yml | 24 + components/g4GQdGsud4N4VUB8Ni_deA.yml | 24 + components/g4GQdGsud4N4VUB8NideA.yml | 24 + components/gM4fEjvVqLlSRRRkQfds2g.yml | 24 + components/gOKV41iXh0Hu.yml | 32 ++ components/gySZ51dyqYi9TOFr6zY5kA.yml | 24 + components/hE12LfxAkX3K9gU0nU4yE2.yml | 25 ++ components/hScAhxQyky9hbpHFZ2bFPg.yml | 23 + components/h_c1VGhVP-yuOIDiMYUp0Q.yml | 24 + components/haBUc1rsCitGmBzndrKl5w.yml | 25 ++ components/hc1VGhVPyuOIDiMYUp0Q.yml | 24 + components/hiGZZon6OCuUIRGmd0tfqQ.yml | 25 ++ components/iBC0L15gOFWymHhZEAybUQ.yml | 26 ++ components/iGAodokVchB6IJ7Jlggdkw.yml | 27 ++ components/iNIe7QE1KUf0.yml | 32 ++ components/iOsQxWRQCKwOap49G0TAag.yml | 25 ++ components/iZluV29Xg8AwaHPGijaeLg.yml | 28 ++ components/jHBkaLTk5Skn.yml | 32 ++ components/jduT06J4H7FsxAfQRFcjIQ.yml | 24 + components/kDMKXKzObbUL.yml | 32 ++ components/kHDpWaBPCxD4.yml | 32 ++ components/kQnGkibrJH20J8sYTbF5rg.yml | 25 ++ components/ly2AVNtIcJpTWz1qJ1mvKQ.yml | 25 ++ components/m30AHfu4V-gC51bUU6Jo7A.yml | 25 ++ components/m30AHfu4VgC51bUU6Jo7A.yml | 25 ++ components/mJFsrLmq1C2Q7bw7W6QnbT.yml | 27 ++ components/mUjJLckDDozfREkbYOjk5g.yml | 25 ++ components/ma8V138JayP8.yml | 32 ++ components/mgQsWnZUXVg3.yml | 32 ++ components/mtdRL2FMMYwzdfEeRtVmug.yml | 26 ++ components/n1HuqlV7EoNrWXcv8WaIQ.yml | 26 ++ components/nNuJG45ukoB2mtszaRx3A.yml | 25 ++ components/nNuJG45ukoB2mtszaRx3_A.yml | 25 ++ components/nbR-gFzod7Qx6M7GL6oiPg.yml | 30 ++ components/nbRgFzod7Qx6M7GL6oiPg.yml | 30 ++ components/o11NkX9o26nr.yml | 32 ++ components/oB1FawR-dWq8rSL5XY5Xpw.yml | 24 + components/oB1FawRdWq8rSL5XY5Xpw.yml | 24 + components/ofdqbJszMago.yml | 32 ++ components/oi0YghSXgDWlMPrzjDjbVg.yml | 24 + components/pC342KBWtheQNnXjIni6A.yml | 24 + components/pC34_2KBWtheQNnXjIni6A.yml | 24 + components/pD4b43nPu73ev5T4Bf3RKw.yml | 25 ++ components/pGxj32ic41pvquRXUdqc7A.yml | 24 + components/pSQhVbMPcWjL.yml | 24 + components/pTsBXK2TYUNp.yml | 32 ++ components/pciAVHGPCYBn8-m14ZZsLg.yml | 24 + components/pciAVHGPCYBn8m14ZZsLg.yml | 24 + components/pjAMrP5HEQnm.yml | 24 + components/pjNkr5Kenxb0NMODp9u2Dw.yml | 24 + components/pmpzYhPX3ucz.yml | 24 + components/qJPPqfjKviUyvDTCn2Xw.yml | 25 ++ components/qx0j5QHAzog0b39nRnuA.yml | 24 + components/rFC0YJOoDFvS.yml | 32 ++ components/rJL2LobMLcELiot0Fy-9-w.yml | 25 ++ components/rJL2LobMLcELiot0Fy9w.yml | 25 ++ components/rxuC0B8IRA61enD5IxAxOA.yml | 24 + components/sQjaqWKJj-VWjVEI_bNu-A.yml | 29 ++ components/sQjaqWKJjVWjVEIbNuA.yml | 29 ++ components/sRlBA8KUwLyO.yml | 32 ++ components/sVjXygxsPhjLEWd2acwcEA.yml | 26 ++ components/sbDcAqiNqxFz.yml | 32 ++ components/szBtaOyog8QJtq5yuV1NtQ.yml | 26 ++ components/szmBYf8nY11l.yml | 32 ++ components/tK0hTk4TyMj7.yml | 24 + components/t_gzaSQggV7wgMprOmF1Ww.yml | 25 ++ components/tgzaSQggV7wgMprOmF1Ww.yml | 25 ++ components/uBfG9guHvNVxErmJ3QZxw.yml | 25 ++ components/uBfG9guHvNVxErmJ3Q_Zxw.yml | 25 ++ components/uBwLe0Jusl7Q.yml | 32 ++ components/uYkoK0vRp4bbIg9ak-I1yw.yml | 23 + components/uYkoK0vRp4bbIg9akI1yw.yml | 23 + components/unB9cRBV3MRGqKt-rbQDPA.yml | 26 ++ components/unB9cRBV3MRGqKtrbQDPA.yml | 26 ++ components/v2RpT5Ryi2ke97ANZxRnJg.yml | 26 ++ components/vC2zMO3Jf1evuVj6KqEK6A.yml | 26 ++ components/vE3pRKimWyP_c5qaeW8Q1Q.yml | 28 ++ components/vE3pRKimWyPc5qaeW8Q1Q.yml | 28 ++ components/w3uS7t7cW72QFYo0Ugf29w.yml | 25 ++ components/w5FfsS2I9Zpz.yml | 32 ++ components/w7Q37CroiOAtyhxkJMms9w.yml | 26 ++ components/x8rLTpIWct4P.yml | 32 ++ components/xSwFvtAUdvtQosvzpb7oMg.yml | 26 ++ components/ybZI0GvSFGXlKF9wGKxiQ.yml | 29 ++ components/ybZI0GvSFGXlKF9w_GKxiQ.yml | 29 ++ components/ytOAJhcgTY7jGhIuqShU7w.yml | 26 ++ components/zM6WUEh2x3PC.yml | 32 ++ components/zR8WrA2O9QEzhdMnsVMPg.yml | 25 ++ components/zR8WrA2O9QEzhdMnsV_MPg.yml | 25 ++ components/zTK24mc7QujCiFRxGdi2Lg.yml | 25 ++ components/zTwDs7eGPcDvcrxtzgi4ag.yml | 28 ++ dockerfile_agent | 2 +- .../component.yml | 273 ------------ .../pipeline.yml | 77 ---- .../environment.yml | 19 + .../service.yml | 44 ++ .../environment.yml | 20 + .../service.yml | 45 ++ .../environment.yml | 19 + .../convers-evaluation-selector/service.yml | 54 +++ .../no-restrictions-selector/environment.yml | 19 + .../no-restrictions-selector/service.yml | 44 ++ .../scripts-priority-selector/environment.yml | 19 + .../scripts-priority-selector/service.yml | 54 +++ .../llm_based_response_selector/Dockerfile | 2 +- .../llm_based_response_selector/component.yml | 118 ----- .../llm_based_response_selector/pipeline.yml | 40 -- .../Dockerfile | 2 +- .../component.yml | 100 ----- .../pipeline.yml | 40 -- .../environment.yml | 8 + .../service.yml | 29 ++ .../environment.yml | 8 + .../service.yml | 30 ++ .../component.yml | 20 - .../rule_based_response_selector/pipeline.yml | 10 - .../environment.yml | 0 .../rule-based-response-selector/service.yml | 11 + .../ai_faq_assistant/environment.yml | 6 + .../ai_faq_assistant/service.yml | 17 + .../deeppavlov_assistant/environment.yml | 6 + .../deeppavlov_assistant/service.yml | 17 + .../service_configs/deepy_adv/environment.yml | 6 + .../service_configs/deepy_adv/service.yml | 17 + .../deepy_assistant/environment.yml | 6 + .../deepy_assistant/service.yml | 17 + .../deepy_base/environment.yml | 6 + .../service_configs/deepy_base/service.yml | 17 + .../service_configs/deepy_faq/environment.yml | 6 + .../service_configs/deepy_faq/service.yml | 17 + .../deepy_gobot_base/environment.yml | 6 + .../deepy_gobot_base/service.yml | 17 + .../service_configs/dream/environment.yml | 6 + .../service_configs/dream/service.yml | 17 + .../dream_alexa/environment.yml | 6 + .../service_configs/dream_alexa/service.yml | 17 + .../dream_mini/environment.yml | 6 + .../service_configs/dream_mini/service.yml | 17 + .../dream_mini_persona_based/environment.yml | 6 + .../dream_mini_persona_based/service.yml | 17 + .../dream_multilingual/environment.yml | 6 + .../dream_multilingual/service.yml | 17 + .../dream_multimodal/environment.yml | 6 + .../dream_multimodal/service.yml | 17 + .../environment.yml | 6 + .../dream_persona_openai_prompted/service.yml | 17 + .../dream_persona_prompted/environment.yml | 6 + .../dream_persona_prompted/service.yml | 17 + .../dream_russian/environment.yml | 6 + .../service_configs/dream_russian/service.yml | 17 + .../service_configs/dream_sfc/environment.yml | 6 + .../service_configs/dream_sfc/service.yml | 17 + .../fairytale_assistant/environment.yml | 6 + .../fairytale_assistant/service.yml | 17 + .../fashion_stylist_assistant/environment.yml | 6 + .../fashion_stylist_assistant/service.yml | 17 + .../life_coaching_assistant/environment.yml | 6 + .../life_coaching_assistant/service.yml | 17 + .../marketing_assistant/environment.yml | 6 + .../marketing_assistant/service.yml | 17 + .../multiskill_ai_assistant/environment.yml | 6 + .../multiskill_ai_assistant/service.yml | 17 + .../nutrition_assistant/environment.yml | 6 + .../nutrition_assistant/service.yml | 17 + .../environment.yml | 6 + .../universal_prompted_assistant/service.yml | 17 + services/dialogpt/component.yml | 27 -- services/dialogpt/pipeline.yml | 11 - .../service_configs/dialogpt/environment.yml | 8 + .../service_configs/dialogpt/service.yml | 46 ++ services/dialogrpt_ru/component.yml | 22 - services/dialogrpt_ru/pipeline.yml | 11 - .../dialogrpt-ru/environment.yml | 5 + .../service_configs/dialogrpt-ru/service.yml | 30 ++ services/gpt2_generator/component.yml | 24 - services/gpt2_generator/pipeline.yml | 11 - .../gpt2-multilingual/environment.yml | 8 + .../gpt2-multilingual/service.yml | 33 ++ services/image_captioning/component.yml | 19 - services/image_captioning/pipeline.yml | 9 - .../image-captioning/environment.yml | 4 + .../image-captioning/service.yml | 29 ++ services/infilling/component.yml | 21 - .../service_configs/infilling/environment.yml | 4 + .../service_configs/infilling/service.yml | 29 ++ services/knowledge_grounding/component.yml | 24 - .../knowledge-grounding/environment.yml | 8 + .../knowledge-grounding/service.yml | 42 ++ services/last_chance_service/component.yml | 17 - services/last_chance_service/pipeline.yml | 10 - .../service_configs/agent/environment.yml | 6 + .../service_configs/agent/service.yml | 17 + services/masked_lm/component.yml | 20 - .../service_configs/masked-lm/environment.yml | 5 + .../service_configs/masked-lm/service.yml | 31 ++ services/openai_api_lm/component.yml | 44 -- .../openai-api-chatgpt/environment.yml | 5 + .../openai-api-chatgpt/service.yml | 31 ++ .../openai-api-davinci3/environment.yml | 5 + .../openai-api-davinci3/service.yml | 31 ++ services/prompt_storygpt/component.yml | 23 - .../prompt-storygpt/environment.yml | 7 + .../prompt-storygpt/service.yml | 42 ++ .../component.yml | 17 - .../response_annotator_selectors/pipeline.yml | 10 - .../service_configs/agent/environment.yml | 6 + .../service_configs/agent/service.yml | 17 + services/sentence_ranker/component.yml | 45 -- services/sentence_ranker/pipeline.yml | 22 - .../environment.yml | 4 + .../sentence-ranker-multilingual/service.yml | 29 ++ .../sentence-ranker/environment.yml | 5 + .../sentence-ranker/service.yml | 40 ++ services/seq2seq_persona_based/component.yml | 26 -- services/seq2seq_persona_based/pipeline.yml | 11 - .../seq2seq-persona-based/environment.yml | 9 + .../seq2seq-persona-based/service.yml | 46 ++ services/storygpt/component.yml | 22 - .../service_configs/storygpt/environment.yml | 6 + .../service_configs/storygpt/service.yml | 41 ++ services/text_qa/component.yml | 44 -- services/text_qa/pipeline.yml | 11 - .../text-qa-ru/environment.yml | 6 + .../service_configs/text-qa-ru/service.yml | 33 ++ .../service_configs/text-qa/environment.yml | 6 + .../service_configs/text-qa/service.yml | 44 ++ services/timeout_service/component.yml | 17 - services/timeout_service/pipeline.yml | 9 - .../service_configs/agent/environment.yml | 6 + .../service_configs/agent/service.yml | 17 + services/transformers_lm/component.yml | 73 --- .../transformers-lm-bloomz7b/environment.yml | 6 + .../transformers-lm-bloomz7b/service.yml | 43 ++ .../transformers-lm-gptj/environment.yml | 6 + .../transformers-lm-gptj/service.yml | 43 ++ services/transformers_peft_lm/component.yml | 24 - services/wiki_facts/component.yml | 22 - .../wiki-facts/environment.yml | 6 + .../service_configs/wiki-facts/service.yml | 42 ++ .../rule_based_selector/component.yml | 23 - .../rule_based_selector/pipeline.yml | 11 - .../service_configs/agent/environment.yml | 6 + .../service_configs/agent/service.yml | 17 + skills/alexa_handler/component.yml | 19 - skills/alexa_handler/pipeline.yml | 10 - .../service_configs/agent/environment.yml | 6 + .../service_configs/agent/service.yml | 17 + skills/convert_reddit/component.yml | 19 - skills/convert_reddit/pipeline.yml | 11 - .../convert-reddit/environment.yml | 1 + .../convert-reddit/service.yml | 33 ++ skills/dff_animals_skill/component.yml | 21 - skills/dff_animals_skill/pipeline.yml | 11 - .../dff-animals-skill/environment.yml | 3 + .../dff-animals-skill/service.yml | 36 ++ skills/dff_art_skill/component.yml | 19 - skills/dff_art_skill/pipeline.yml | 11 - .../dff-art-skill/environment.yml | 2 + .../service_configs/dff-art-skill/service.yml | 35 ++ skills/dff_book_sfc_skill/component.yml | 22 - skills/dff_book_sfc_skill/pipeline.yml | 11 - .../dff-book-sfc-skill/environment.yml | 3 + .../dff-book-sfc-skill/service.yml | 36 ++ skills/dff_book_skill/component.yml | 22 - skills/dff_book_skill/pipeline.yml | 11 - .../dff-book-skill/environment.yml | 3 + .../dff-book-skill/service.yml | 36 ++ skills/dff_bot_persona_skill/component.yml | 20 - skills/dff_bot_persona_skill/pipeline.yml | 11 - .../dff-bot-persona-skill/environment.yml | 2 + .../dff-bot-persona-skill/service.yml | 35 ++ skills/dff_coronavirus_skill/component.yml | 21 - skills/dff_coronavirus_skill/pipeline.yml | 11 - .../dff-coronavirus-skill/environment.yml | 2 + .../dff-coronavirus-skill/service.yml | 35 ++ skills/dff_food_skill/component.yml | 19 - skills/dff_food_skill/pipeline.yml | 11 - .../dff-food-skill/environment.yml | 2 + .../dff-food-skill/service.yml | 35 ++ skills/dff_friendship_skill/component.yml | 41 -- skills/dff_friendship_skill/pipeline.yml | 22 - .../dff-friendship-ru-skill/environment.yml | 3 + .../dff-friendship-ru-skill/service.yml | 26 ++ .../dff-friendship-skill/environment.yml | 2 + .../dff-friendship-skill/service.yml | 35 ++ skills/dff_funfact_skill/component.yml | 19 - skills/dff_funfact_skill/pipeline.yml | 11 - .../dff-funfact-skill/environment.yml | 2 + .../dff-funfact-skill/service.yml | 35 ++ skills/dff_gaming_skill/component.yml | 22 - skills/dff_gaming_skill/pipeline.yml | 11 - .../dff-gaming-skill/environment.yml | 4 + .../dff-gaming-skill/service.yml | 37 ++ skills/dff_generative_skill/component.yml | 22 - skills/dff_generative_skill/pipeline.yml | 11 - .../dff-generative-ru-skill/environment.yml | 4 + .../dff-generative-ru-skill/service.yml | 27 ++ skills/dff_gossip_skill/component.yml | 19 - skills/dff_gossip_skill/pipeline.yml | 13 - .../dff-gossip-skill/environment.yml | 2 + .../dff-gossip-skill/service.yml | 35 ++ skills/dff_grounding_skill/component.yml | 21 - skills/dff_grounding_skill/pipeline.yml | 11 - .../dff-grounding-skill/environment.yml | 2 + .../dff-grounding-skill/service.yml | 35 ++ skills/dff_image_skill/component.yml | 22 - skills/dff_image_skill/pipeline.yml | 11 - .../dff-image-skill/environment.yml | 3 + .../dff-image-skill/service.yml | 26 ++ .../dff_intent_responder_skill/component.yml | 43 -- .../dff_intent_responder_skill/pipeline.yml | 22 - .../environment.yml | 4 + .../dff-intent-responder-ru-skill/service.yml | 27 ++ .../environment.yml | 3 + .../dff-intent-responder-skill/service.yml | 36 ++ skills/dff_movie_skill/component.yml | 22 - skills/dff_movie_skill/pipeline.yml | 11 - .../dff-movie-skill/environment.yml | 4 + .../dff-movie-skill/service.yml | 37 ++ skills/dff_music_skill/component.yml | 19 - skills/dff_music_skill/pipeline.yml | 11 - .../dff-music-skill/environment.yml | 2 + .../dff-music-skill/service.yml | 35 ++ .../component.yml | 20 - .../pipeline.yml | 11 - .../environment.yml | 2 + .../dff-program-y-dangerous-skill/service.yml | 35 ++ skills/dff_program_y_skill/component.yml | 42 -- skills/dff_program_y_skill/pipeline.yml | 22 - .../dff-program-y-ru-skill/environment.yml | 3 + .../dff-program-y-ru-skill/service.yml | 26 ++ .../dff-program-y-skill/environment.yml | 3 + .../dff-program-y-skill/service.yml | 36 ++ skills/dff_program_y_wide_skill/component.yml | 20 - skills/dff_program_y_wide_skill/pipeline.yml | 11 - .../dff-program-y-wide-skill/environment.yml | 2 + .../dff-program-y-wide-skill/service.yml | 35 ++ skills/dff_science_skill/component.yml | 19 - skills/dff_science_skill/pipeline.yml | 11 - .../dff-science-skill/environment.yml | 2 + .../dff-science-skill/service.yml | 35 ++ skills/dff_short_story_skill/component.yml | 21 - skills/dff_short_story_skill/pipeline.yml | 11 - .../dff-short-story-skill/environment.yml | 3 + .../dff-short-story-skill/service.yml | 36 ++ skills/dff_sport_skill/component.yml | 19 - skills/dff_sport_skill/pipeline.yml | 11 - .../dff-sport-skill/environment.yml | 2 + .../dff-sport-skill/service.yml | 35 ++ .../dff_template_prompted_skill/component.yml | 418 ------------------ .../dff_template_prompted_skill/pipeline.yml | 176 -------- .../dff-ai-faq-prompted-skill/environment.yml | 7 + .../dff-ai-faq-prompted-skill/service.yml | 30 ++ .../environment.yml | 8 + .../service.yml | 32 ++ .../environment.yml | 9 + .../dff-deeppavlov-prompted-skill/service.yml | 33 ++ .../dff-deepy-prompted-skill/environment.yml | 8 + .../dff-deepy-prompted-skill/service.yml | 32 ++ .../environment.yml | 8 + .../service.yml | 32 ++ .../environment.yml | 7 + .../service.yml | 30 ++ .../environment.yml | 6 + .../service.yml | 29 ++ .../environment.yml | 8 + .../dff-fairytale-prompted-skill/service.yml | 32 ++ .../environment.yml | 7 + .../service.yml | 30 ++ .../environment.yml | 8 + .../service.yml | 32 ++ .../environment.yml | 7 + .../dff-marketing-prompted-skill/service.yml | 30 ++ .../environment.yml | 8 + .../service.yml | 32 ++ .../environment.yml | 7 + .../dff-nutrition-prompted-skill/service.yml | 30 ++ .../environment.yml | 8 + .../service.yml | 32 ++ .../environment.yml | 8 + .../service.yml | 32 ++ .../dff_template_prompted_skill/template.yml | 32 ++ skills/dff_template_skill/component.yml | 19 - skills/dff_template_skill/pipeline.yml | 11 - .../dff-template-skill/environment.yml | 2 + .../dff-template-skill/service.yml | 35 ++ skills/dff_travel_skill/component.yml | 19 - skills/dff_travel_skill/pipeline.yml | 11 - .../dff-travel-skill/environment.yml | 2 + .../dff-travel-skill/service.yml | 35 ++ .../component.yml | 22 - .../dff_universal_prompted_skill/pipeline.yml | 12 - .../environment.yml | 4 + .../dff-universal-prompted-skill/service.yml | 27 ++ skills/dff_weather_skill/component.yml | 20 - skills/dff_weather_skill/pipeline.yml | 11 - .../dff-weather-skill/environment.yml | 2 + .../dff-weather-skill/service.yml | 35 ++ skills/dff_wiki_skill/component.yml | 21 - skills/dff_wiki_skill/pipeline.yml | 11 - .../dff-wiki-skill/environment.yml | 3 + .../dff-wiki-skill/service.yml | 36 ++ skills/dummy_skill/component.yml | 20 - skills/dummy_skill/pipeline.yml | 10 - .../service_configs/agent/environment.yml | 6 + .../service_configs/agent/service.yml | 17 + skills/dummy_skill_dialog/component.yml | 22 - skills/dummy_skill_dialog/pipeline.yml | 11 - .../dummy-skill-dialog/environment.yml | 4 + .../dummy-skill-dialog/service.yml | 37 ++ skills/eliza/component.yml | 19 - skills/eliza/pipeline.yml | 11 - .../service_configs/eliza/environment.yml | 1 + .../eliza/service_configs/eliza/service.yml | 32 ++ skills/emotion_skill/component.yml | 20 - skills/emotion_skill/pipeline.yml | 11 - .../emotion-skill/environment.yml | 1 + .../service_configs/emotion-skill/service.yml | 34 ++ skills/factoid_qa/component.yml | 19 - skills/factoid_qa/pipeline.yml | 11 - .../factoid-qa/environment.yml | 3 + .../service_configs/factoid-qa/service.yml | 38 ++ skills/faq_skill_deepy/component.yml | 21 - skills/faq_skill_deepy/pipeline.yml | 10 - .../service_configs/faq-skill/environment.yml | 0 .../service_configs/faq-skill/service.yml | 10 + skills/game_cooperative_skill/component.yml | 20 - skills/game_cooperative_skill/pipeline.yml | 11 - .../game-cooperative-skill/environment.yml | 3 + .../game-cooperative-skill/service.yml | 38 ++ .../component.yml | 19 - .../pipeline.yml | 10 - .../environment.yml | 0 .../service.yml | 10 + .../component.yml | 19 - .../pipeline.yml | 10 - .../environment.yml | 0 .../harvesters-maintenance-skill/service.yml | 11 + .../knowledge_grounding_skill/component.yml | 20 - skills/knowledge_grounding_skill/pipeline.yml | 11 - .../knowledge-grounding-skill/environment.yml | 4 + .../knowledge-grounding-skill/service.yml | 40 ++ skills/meta_script_skill/component.yml | 22 - skills/meta_script_skill/pipeline.yml | 21 - .../meta-script-skill/environment.yml | 1 + .../meta-script-skill/service.yml | 35 ++ skills/misheard_asr/component.yml | 20 - skills/misheard_asr/pipeline.yml | 11 - .../misheard-asr/environment.yml | 1 + .../service_configs/misheard-asr/service.yml | 34 ++ skills/news_api_skill/component.yml | 20 - skills/news_api_skill/pipeline.yml | 11 - .../news-api-skill/environment.yml | 3 + .../news-api-skill/service.yml | 38 ++ skills/personal_info_skill/component.yml | 39 -- skills/personal_info_skill/pipeline.yml | 22 - .../personal-info-ru-skill/environment.yml | 2 + .../personal-info-ru-skill/service.yml | 27 ++ .../personal-info-skill/environment.yml | 1 + .../personal-info-skill/service.yml | 34 ++ skills/personality_catcher/component.yml | 21 - skills/personality_catcher/pipeline.yml | 11 - .../personality-catcher/environment.yml | 0 .../personality-catcher/service.yml | 30 ++ skills/small_talk_skill/component.yml | 20 - skills/small_talk_skill/pipeline.yml | 11 - .../small-talk-skill/environment.yml | 1 + .../small-talk-skill/service.yml | 34 ++ state_formatters/dp_formatters.py | 135 ------ 882 files changed, 15107 insertions(+), 7555 deletions(-) delete mode 100644 annotators/BadlistedWordsDetector/component.yml delete mode 100644 annotators/BadlistedWordsDetector/pipeline.yml create mode 100644 annotators/BadlistedWordsDetector/service_configs/badlisted-words/environment.yml create mode 100644 annotators/BadlistedWordsDetector/service_configs/badlisted-words/service.yml delete mode 100644 annotators/BadlistedWordsDetector_ru/component.yml delete mode 100644 annotators/BadlistedWordsDetector_ru/pipeline.yml create mode 100644 annotators/BadlistedWordsDetector_ru/service_configs/badlisted-words-ru/environment.yml create mode 100644 annotators/BadlistedWordsDetector_ru/service_configs/badlisted-words-ru/service.yml delete mode 100644 annotators/COMeT/component.yml delete mode 100644 annotators/COMeT/pipeline.yml create mode 100644 annotators/COMeT/service_configs/comet-conceptnet/environment.yml create mode 100644 annotators/COMeT/service_configs/comet-conceptnet/service.yml delete mode 100644 annotators/ConversationEvaluator/component.yml delete mode 100644 annotators/ConversationEvaluator/pipeline.yml create mode 100644 annotators/ConversationEvaluator/service_configs/convers-evaluator-annotator/environment.yml create mode 100644 annotators/ConversationEvaluator/service_configs/convers-evaluator-annotator/service.yml delete mode 100644 annotators/IntentCatcherTransformers/component.yml delete mode 100644 annotators/IntentCatcherTransformers/pipeline.yml create mode 100644 annotators/IntentCatcherTransformers/service_configs/intent-catcher-ru/environment.yml create mode 100644 annotators/IntentCatcherTransformers/service_configs/intent-catcher-ru/service.yml create mode 100644 annotators/IntentCatcherTransformers/service_configs/intent-catcher/environment.yml create mode 100644 annotators/IntentCatcherTransformers/service_configs/intent-catcher/service.yml delete mode 100644 annotators/MultilingualSentimentClassification/component.yml delete mode 100644 annotators/MultilingualSentimentClassification/pipeline.yml create mode 100644 annotators/MultilingualSentimentClassification/service_configs/sentiment-classification-multilingual/environment.yml create mode 100644 annotators/MultilingualSentimentClassification/service_configs/sentiment-classification-multilingual/service.yml delete mode 100644 annotators/MultilingualToxicClassification/component.yml delete mode 100644 annotators/MultilingualToxicClassification/pipeline.yml create mode 100644 annotators/MultilingualToxicClassification/service_configs/toxic-classification-multilingual/environment.yml create mode 100644 annotators/MultilingualToxicClassification/service_configs/toxic-classification-multilingual/service.yml delete mode 100644 annotators/NER_deeppavlov/component.yml delete mode 100644 annotators/NER_deeppavlov/pipeline.yml create mode 100644 annotators/NER_deeppavlov/service_configs/ner-ru/environment.yml create mode 100644 annotators/NER_deeppavlov/service_configs/ner-ru/service.yml create mode 100644 annotators/NER_deeppavlov/service_configs/ner/environment.yml create mode 100644 annotators/NER_deeppavlov/service_configs/ner/service.yml delete mode 100644 annotators/SentRewrite/component.yml delete mode 100644 annotators/SentRewrite/pipeline.yml create mode 100644 annotators/SentRewrite/service_configs/sentrewrite/environment.yml create mode 100644 annotators/SentRewrite/service_configs/sentrewrite/service.yml delete mode 100644 annotators/SentSeg/component.yml delete mode 100644 annotators/SentSeg/pipeline.yml create mode 100644 annotators/SentSeg/service_configs/sentseg/environment.yml create mode 100644 annotators/SentSeg/service_configs/sentseg/service.yml delete mode 100644 annotators/asr/component.yml delete mode 100644 annotators/asr/pipeline.yml create mode 100644 annotators/asr/service_configs/asr/environment.yml create mode 100644 annotators/asr/service_configs/asr/service.yml delete mode 100644 annotators/combined_classification/component.yml delete mode 100644 annotators/combined_classification/pipeline.yml create mode 100644 annotators/combined_classification/service_configs/combined-classification/environment.yml create mode 100644 annotators/combined_classification/service_configs/combined-classification/service.yml delete mode 100644 annotators/emotion_classification_deepy/component.yml delete mode 100644 annotators/emotion_classification_deepy/pipeline.yml create mode 100644 annotators/emotion_classification_deepy/service_configs/emotion-classification-deepy/environment.yml create mode 100644 annotators/emotion_classification_deepy/service_configs/emotion-classification-deepy/service.yml delete mode 100644 annotators/entity_detection/component.yml delete mode 100644 annotators/entity_detection/pipeline.yml create mode 100644 annotators/entity_detection/service_configs/entity-detection/environment.yml create mode 100644 annotators/entity_detection/service_configs/entity-detection/service.yml delete mode 100644 annotators/entity_detection_rus/component.yml delete mode 100644 annotators/entity_detection_rus/pipeline.yml create mode 100644 annotators/entity_detection_rus/service_configs/entity-detection-ru/environment.yml create mode 100644 annotators/entity_detection_rus/service_configs/entity-detection-ru/service.yml delete mode 100644 annotators/entity_linking/component.yml delete mode 100644 annotators/entity_linking/pipeline.yml create mode 100644 annotators/entity_linking/service_configs/entity-linking/environment.yml create mode 100644 annotators/entity_linking/service_configs/entity-linking/service.yml delete mode 100644 annotators/entity_linking_deepy/component.yml delete mode 100644 annotators/entity_linking_deepy/pipeline.yml create mode 100644 annotators/entity_linking_deepy/service_configs/entity-linking-deepy/environment.yml create mode 100644 annotators/entity_linking_deepy/service_configs/entity-linking-deepy/service.yml delete mode 100644 annotators/entity_linking_rus/component.yml delete mode 100644 annotators/entity_linking_rus/pipeline.yml create mode 100644 annotators/entity_linking_rus/service_configs/entity-linking-ru/environment.yml create mode 100644 annotators/entity_linking_rus/service_configs/entity-linking-ru/service.yml delete mode 100644 annotators/entity_storer/component.yml delete mode 100644 annotators/entity_storer/pipeline.yml create mode 100644 annotators/entity_storer/service_configs/entity-storer/environment.yml create mode 100644 annotators/entity_storer/service_configs/entity-storer/service.yml delete mode 100644 annotators/fact_random/component.yml delete mode 100644 annotators/fact_random/pipeline.yml create mode 100644 annotators/fact_random/service_configs/fact-random/environment.yml create mode 100644 annotators/fact_random/service_configs/fact-random/service.yml delete mode 100644 annotators/fact_retrieval/component.yml delete mode 100644 annotators/fact_retrieval/pipeline.yml create mode 100644 annotators/fact_retrieval/service_configs/fact-retrieval/environment.yml create mode 100644 annotators/fact_retrieval/service_configs/fact-retrieval/service.yml delete mode 100644 annotators/fact_retrieval_rus/component.yml delete mode 100644 annotators/fact_retrieval_rus/pipeline.yml create mode 100644 annotators/fact_retrieval_rus/service_configs/fact-retrieval-ru/environment.yml create mode 100644 annotators/fact_retrieval_rus/service_configs/fact-retrieval-ru/service.yml delete mode 100644 annotators/kbqa/component.yml delete mode 100644 annotators/kbqa/pipeline.yml create mode 100644 annotators/kbqa/service_configs/kbqa/environment.yml create mode 100644 annotators/kbqa/service_configs/kbqa/service.yml delete mode 100644 annotators/midas_classification/component.yml delete mode 100644 annotators/midas_classification/pipeline.yml create mode 100644 annotators/midas_classification/service_configs/midas-classification/environment.yml create mode 100644 annotators/midas_classification/service_configs/midas-classification/service.yml delete mode 100644 annotators/midas_predictor/component.yml delete mode 100644 annotators/midas_predictor/pipeline.yml create mode 100644 annotators/midas_predictor/service_configs/midas-predictor/environment.yml create mode 100644 annotators/midas_predictor/service_configs/midas-predictor/service.yml delete mode 100644 annotators/news_api/component.yml delete mode 100644 annotators/news_api/pipeline.yml create mode 100644 annotators/news_api/service_configs/news-api-annotator/environment.yml create mode 100644 annotators/news_api/service_configs/news-api-annotator/service.yml delete mode 100644 annotators/prompt_selector/component.yml delete mode 100644 annotators/prompt_selector/pipeline.yml create mode 100644 annotators/prompt_selector/service_configs/ai_faq_assistant/environment.yml create mode 100644 annotators/prompt_selector/service_configs/ai_faq_assistant/service.yml create mode 100644 annotators/prompt_selector/service_configs/deeppavlov_assistant/environment.yml create mode 100644 annotators/prompt_selector/service_configs/deeppavlov_assistant/service.yml create mode 100644 annotators/prompt_selector/service_configs/deepy_assistant/environment.yml create mode 100644 annotators/prompt_selector/service_configs/deepy_assistant/service.yml create mode 100644 annotators/prompt_selector/service_configs/dream_persona_openai_prompted/environment.yml create mode 100644 annotators/prompt_selector/service_configs/dream_persona_openai_prompted/service.yml create mode 100644 annotators/prompt_selector/service_configs/dream_persona_prompted/environment.yml create mode 100644 annotators/prompt_selector/service_configs/dream_persona_prompted/service.yml create mode 100644 annotators/prompt_selector/service_configs/fairytale_assistant/environment.yml create mode 100644 annotators/prompt_selector/service_configs/fairytale_assistant/service.yml create mode 100644 annotators/prompt_selector/service_configs/fashion_stylist_assistant/environment.yml create mode 100644 annotators/prompt_selector/service_configs/fashion_stylist_assistant/service.yml create mode 100644 annotators/prompt_selector/service_configs/life_coaching_assistant/environment.yml create mode 100644 annotators/prompt_selector/service_configs/life_coaching_assistant/service.yml create mode 100644 annotators/prompt_selector/service_configs/marketing_assistant/environment.yml create mode 100644 annotators/prompt_selector/service_configs/marketing_assistant/service.yml create mode 100644 annotators/prompt_selector/service_configs/multiskill_ai_assistant/environment.yml create mode 100644 annotators/prompt_selector/service_configs/multiskill_ai_assistant/service.yml create mode 100644 annotators/prompt_selector/service_configs/nutrition_assistant/environment.yml create mode 100644 annotators/prompt_selector/service_configs/nutrition_assistant/service.yml create mode 100644 annotators/prompt_selector/service_configs/prompt-selector-ru/environment.yml create mode 100644 annotators/prompt_selector/service_configs/prompt-selector-ru/service.yml create mode 100644 annotators/prompt_selector/template.yml delete mode 100644 annotators/property_extraction/component.yml create mode 100644 annotators/property_extraction/service_configs/property-extraction/environment.yml create mode 100644 annotators/property_extraction/service_configs/property-extraction/service.yml delete mode 100644 annotators/rake_keywords/component.yml delete mode 100644 annotators/rake_keywords/pipeline.yml create mode 100644 annotators/rake_keywords/service_configs/rake-keywords/environment.yml create mode 100644 annotators/rake_keywords/service_configs/rake-keywords/service.yml delete mode 100644 annotators/relative_persona_extractor/component.yml delete mode 100644 annotators/relative_persona_extractor/pipeline.yml create mode 100644 annotators/relative_persona_extractor/service_configs/relative-persona-extractor/environment.yml create mode 100644 annotators/relative_persona_extractor/service_configs/relative-persona-extractor/service.yml delete mode 100644 annotators/sentseg_ru/component.yml delete mode 100644 annotators/sentseg_ru/pipeline.yml create mode 100644 annotators/sentseg_ru/service_configs/sentseg-ru/environment.yml create mode 100644 annotators/sentseg_ru/service_configs/sentseg-ru/service.yml delete mode 100644 annotators/spacy_annotator/component.yml delete mode 100644 annotators/spacy_annotator/pipeline.yml create mode 100644 annotators/spacy_annotator/service_configs/spacy-annotator-ru/environment.yml create mode 100644 annotators/spacy_annotator/service_configs/spacy-annotator-ru/service.yml delete mode 100644 annotators/spacy_nounphrases/component.yml delete mode 100644 annotators/spacy_nounphrases/pipeline.yml create mode 100644 annotators/spacy_nounphrases/service_configs/spacy-nounphrases/environment.yml create mode 100644 annotators/spacy_nounphrases/service_configs/spacy-nounphrases/service.yml delete mode 100644 annotators/speech_function_classifier/component.yml delete mode 100644 annotators/speech_function_classifier/pipeline.yml create mode 100644 annotators/speech_function_classifier/service_configs/speech-function-classifier/environment.yml create mode 100644 annotators/speech_function_classifier/service_configs/speech-function-classifier/service.yml delete mode 100644 annotators/speech_function_predictor/component.yml delete mode 100644 annotators/speech_function_predictor/pipeline.yml create mode 100644 annotators/speech_function_predictor/service_configs/speech-function-predictor/environment.yml create mode 100644 annotators/speech_function_predictor/service_configs/speech-function-predictor/service.yml delete mode 100644 annotators/spelling_preprocessing/component.yml delete mode 100644 annotators/spelling_preprocessing/pipeline.yml create mode 100644 annotators/spelling_preprocessing/service_configs/spelling-preprocessing/environment.yml create mode 100644 annotators/spelling_preprocessing/service_configs/spelling-preprocessing/service.yml delete mode 100644 annotators/spelling_preprocessing_dp/component.yml delete mode 100644 annotators/spelling_preprocessing_dp/pipeline.yml create mode 100644 annotators/spelling_preprocessing_dp/service_configs/spelling-preprocessing-ru/environment.yml create mode 100644 annotators/spelling_preprocessing_dp/service_configs/spelling-preprocessing-ru/service.yml delete mode 100644 annotators/topic_recommendation/component.yml delete mode 100644 annotators/topic_recommendation/pipeline.yml create mode 100644 annotators/topic_recommendation/service_configs/topic-recommendation/environment.yml create mode 100644 annotators/topic_recommendation/service_configs/topic-recommendation/service.yml delete mode 100644 annotators/toxic_classification_ru/component.yml delete mode 100644 annotators/toxic_classification_ru/pipeline.yml create mode 100644 annotators/toxic_classification_ru/service_configs/toxic-classification-ru/environment.yml create mode 100644 annotators/toxic_classification_ru/service_configs/toxic-classification-ru/service.yml delete mode 100644 annotators/user_persona_extractor/component.yml delete mode 100644 annotators/user_persona_extractor/pipeline.yml create mode 100644 annotators/user_persona_extractor/service_configs/user-persona-extractor/environment.yml create mode 100644 annotators/user_persona_extractor/service_configs/user-persona-extractor/service.yml delete mode 100644 annotators/wiki_parser/component.yml delete mode 100644 annotators/wiki_parser/pipeline.yml create mode 100644 annotators/wiki_parser/service_configs/wiki-parser-ru/environment.yml create mode 100644 annotators/wiki_parser/service_configs/wiki-parser-ru/service.yml create mode 100644 annotators/wiki_parser/service_configs/wiki-parser/environment.yml create mode 100644 annotators/wiki_parser/service_configs/wiki-parser/service.yml delete mode 100644 assistant_dists/template_template_prompted/README.md delete mode 100644 assistant_dists/template_template_prompted/cpu.yml delete mode 100644 assistant_dists/template_template_prompted/db_conf.json delete mode 100644 assistant_dists/template_template_prompted/dev.yml delete mode 100644 assistant_dists/template_template_prompted/docker-compose.override.yml delete mode 100644 assistant_dists/template_template_prompted/pipeline_conf.json delete mode 100644 assistant_dists/template_template_prompted/proxy.yml delete mode 100644 assistant_dists/template_template_prompted/telegram.yml create mode 100644 components/-EvuPQO29N28izuWLBtxew.yml create mode 100644 components/-NxFeriz1ymjSuvPITEJOQ.yml create mode 100644 components/-VFltJVPpaCZ7Mquk2N7qg.yml create mode 100644 components/-qJPPqfjKviU_yvDTCn2Xw.yml create mode 100644 components/05PqJXVd-7gV7DqslN5z3A.yml create mode 100644 components/05PqJXVd7gV7DqslN5z3A.yml create mode 100644 components/0aGHC6rgSth_kFjoUgQEIw.yml create mode 100644 components/0aGHC6rgSthkFjoUgQEIw.yml create mode 100644 components/0sXrpFc5dMQSbhydkrrq7A.yml create mode 100644 components/1HucxpdVamyoS0GEl3l7A.yml create mode 100644 components/1HucxpdVamyoS_0GEl3l7A.yml create mode 100644 components/1IjC3r9b1VJ082ceINXzHQ.yml create mode 100644 components/1JUPwwo1SZzxuj4RXjI350.yml create mode 100644 components/1Q9QXih1U2zhCpVm9zxdsA.yml create mode 100644 components/1VPCe8n0dmU8o2hC0NeeWQ.yml create mode 100644 components/1hNMgFlLT00Lc1s41yqbxA.yml create mode 100644 components/1sMhc1QV81kG.yml create mode 100644 components/2Fck28us-cKzZBviQ8WZTg.yml create mode 100644 components/2Fck28uscKzZBviQ8WZTg.yml create mode 100644 components/2LVyFT6xI6CR.yml create mode 100644 components/2MB4WF8B3XFI.yml create mode 100644 components/2U9da1Fyq1KvANddliIN5g.yml create mode 100644 components/2bbCQcfY2YYjHtMCRFHImG.yml create mode 100644 components/2qgy_iVeuSZnotxkaBe3cw.yml create mode 100644 components/2qgyiVeuSZnotxkaBe3cw.yml create mode 100644 components/3DTP1sVd_mFIBYrC8OjRYA.yml create mode 100644 components/3DTP1sVdmFIBYrC8OjRYA.yml create mode 100644 components/3RDNPBdybjBlSQZqcc7nGQ.yml create mode 100644 components/3clxaNOTpI3oHR0fHRaCnQ.yml create mode 100644 components/3vsfbB89yVpQm5OVW0YcvQ.yml create mode 100644 components/43JRcG1T0urZ.yml create mode 100644 components/4SJxJlf3E8TTM94Uiqt5Xg.yml create mode 100644 components/4yA8wZWOEnafRfz6Po9nvA.yml create mode 100644 components/5CCnaSNbKTaB.yml create mode 100644 components/5J6lKI1JAjI9.yml create mode 100644 components/5Sr7pFn5Vaiu.yml create mode 100644 components/5jR1Tq88W5OckWnTV8VIYL.yml create mode 100644 components/5oDP3mLmiLaS.yml create mode 100644 components/6UmSIUrka1Tl.yml create mode 100644 components/6l-LhP7zuoiI0bxJEDLWUg.yml create mode 100644 components/6lLhP7zuoiI0bxJEDLWUg.yml create mode 100644 components/6vJmuO1GbwgIDIBc3hrwm0.yml create mode 100644 components/70NLr5qqOow5.yml create mode 100644 components/7Dxjy1ZpQEAoPcEeABGBLg.yml create mode 100644 components/7dhiDqHqK6TYOAJAKK7grg.yml create mode 100644 components/8amq2jANl7xb.yml create mode 100644 components/8qwxH2SZE4EhXS5JqqZPkm.yml create mode 100644 components/9XSWCH46buTl2i-sGsdefA.yml create mode 100644 components/9XSWCH46buTl2isGsdefA.yml create mode 100644 components/AkgtzbAdOaly7bBjaOQvg.yml create mode 100644 components/AkgtzbAd_Oaly7bBjaOQvg.yml create mode 100644 components/Aq8BKfuOs07Q.yml create mode 100644 components/BTkgJIpLE8yb.yml create mode 100644 components/CEnFhpgntTwT.yml create mode 100644 components/CGfUfSJOGK2diPRLlsXYFA.yml create mode 100644 components/CJSHsz2Ac5ul.yml create mode 100644 components/CmQGq1Xn5YOaMwNIb4bEpA.yml create mode 100644 components/DKpAPqrBbakAcoSbx6hibg.yml create mode 100644 components/DUW2u7FwPMyhBOWrK1HTg.yml create mode 100644 components/DUW2u7Fw_PMyhBOWrK1HTg.yml create mode 100644 components/DbHXjhwWHORIms84Z3WJbA.yml create mode 100644 components/DbSG2ONMnwu7.yml create mode 100644 components/ED4eLNB6JK3U8sUGHsQ.yml create mode 100644 components/ED_4-eLNB6-JK3U8sUGHsQ.yml create mode 100644 components/EvuPQO29N28izuWLBtxew.yml create mode 100644 components/FJ-pakzPR4IC8F1sos7FSg.yml create mode 100644 components/FJpakzPR4IC8F1sos7FSg.yml create mode 100644 components/FNmTZbz8EA6-Y80b5pXZzQ.yml create mode 100644 components/FNmTZbz8EA6Y80b5pXZzQ.yml create mode 100644 components/GUBU1VTsOaAmXsPId4c9tg.yml create mode 100644 components/GYa5X3Q4snG-IgQzAFc7Gg.yml create mode 100644 components/GYa5X3Q4snGIgQzAFc7Gg.yml create mode 100644 components/H-wvIQNi3pCqMifPclnOMg.yml create mode 100644 components/H1bbLiJ4B8F_g77NPDgGjA.yml create mode 100644 components/H1bbLiJ4B8Fg77NPDgGjA.yml create mode 100644 components/HCDk0BKtebIr-wROLGStKQ.yml create mode 100644 components/HCDk0BKtebIrwROLGStKQ.yml create mode 100644 components/HFemvyS0tyqChUVAuCZt7g.yml create mode 100644 components/HPjIdUO3Ux41.yml create mode 100644 components/HqbKuGPENqUm.yml create mode 100644 components/HvYsrVCd5c52.yml create mode 100644 components/HwvIQNi3pCqMifPclnOMg.yml create mode 100644 components/HxZ-wtabTqPYokTZ9yJ3MQ.yml create mode 100644 components/HxZwtabTqPYokTZ9yJ3MQ.yml create mode 100644 components/IiXGzRszejsDfy8VcgI9A.yml create mode 100644 components/IiXGzRszejsDfy8Vcg_I9A.yml create mode 100644 components/IvTBJz0AoCD98qMOkbXEkg.yml create mode 100644 components/IyLt06tlM1Ad13bQ2VQ9Vg.yml create mode 100644 components/J-lk28u7nVCSNqrT1YpLAQ.yml create mode 100644 components/JBT6ELvDDQed.yml create mode 100644 components/JC93rfUXvRXa.yml create mode 100644 components/JF1gG7lJb3qz.yml create mode 100644 components/JZQdT4V5UXtwWLC2CWeA.yml create mode 100644 components/JZQdT_4V5UXtwWL-C2CWeA.yml create mode 100644 components/Jlk28u7nVCSNqrT1YpLAQ.yml create mode 100644 components/JqdQTo5rdzNI.yml create mode 100644 components/KSNMJJOS15MN2lsyS8fjBg.yml create mode 100644 components/KX4drAocVa5APcivWHeBNQ.yml create mode 100644 components/LB9M2ATJRuRM.yml create mode 100644 components/LUSJ19c38uOLAVZWYs5U8g.yml create mode 100644 components/LUiKFsqPaNHJC9SW4Mw.yml create mode 100644 components/LXrJ-DIf43gwNmPMNXG5Eg.yml create mode 100644 components/LXrJDIf43gwNmPMNXG5Eg.yml create mode 100644 components/L_UiKFsqPa_NH_JC9SW4Mw.yml create mode 100644 components/M1sE6hOm20EGBWBdr0vIOw.yml create mode 100644 components/NX76VAAIuvSF.yml create mode 100644 components/Nw2-SnrS4DGoALg6Cu58Zw.yml create mode 100644 components/Nw2SnrS4DGoALg6Cu58Zw.yml create mode 100644 components/NxFeriz1ymjSuvPITEJOQ.yml create mode 100644 components/O4FVnkAwjay1mL1FbuRGWw.yml create mode 100644 components/OOF0PmuxswPuZintDoAlXw.yml create mode 100644 components/ORrfDhL6aqYS.yml create mode 100644 components/OUs0LlgMUuy6gKezntdDoA.yml create mode 100644 components/OfrBzuijoa0vKB-Q_wWRlw.yml create mode 100644 components/OfrBzuijoa0vKBQwWRlw.yml create mode 100644 components/OpwVmWKiYYsK.yml create mode 100644 components/P6oHJQFf89qG.yml create mode 100644 components/PbLNvh4hrvs47rPaf2bfYQ.yml create mode 100644 components/QqTMvljZNeJGkLykBRUAw.yml create mode 100644 components/RJuoKZw7krAuB-4LrP5-fQ.yml create mode 100644 components/RJuoKZw7krAuB4LrP5fQ.yml create mode 100644 components/RZzyxv06mT3Y.yml create mode 100644 components/RfSyL88o-5DJx15sUEvnZg.yml create mode 100644 components/RfSyL88o5DJx15sUEvnZg.yml create mode 100644 components/S0Nt2SuDQD1v.yml create mode 100644 components/SFiPofc4cGq6IRlit38e8A.yml create mode 100644 components/TUMYgqCicowHdORbycHBow.yml create mode 100644 components/Tlo3lSEJHo570onf-HN-8w.yml create mode 100644 components/Tlo3lSEJHo570onfHN8w.yml create mode 100644 components/TvtHFEgVjuut.yml create mode 100644 components/U7OP1e0Kcceld-KplIDMvg.yml create mode 100644 components/U7OP1e0KcceldKplIDMvg.yml create mode 100644 components/USXkrUZRNdXbwACjKhO6KQ.yml create mode 100644 components/V21kCVvTaCv8J0c4rDV4RA.yml create mode 100644 components/V2iGM38Tkgmf1OcURQnAg.yml create mode 100644 components/V2iGM_38Tkgmf1OcURQnAg.yml create mode 100644 components/VFdfQBQqBODF.yml create mode 100644 components/VFltJVPpaCZ7Mquk2N7qg.yml create mode 100644 components/VVQgKT69i36HzEqbJKoWqQ.yml create mode 100644 components/Vi0jGZfqNIU8.yml create mode 100644 components/VkkvnRwjgB5GwrH98k5EKA.yml create mode 100644 components/W6hdAGshQyMwdQukRXXuKA.yml create mode 100644 components/WU-5Uy2COnuEIRp9P7vymA.yml create mode 100644 components/WU5Uy2COnuEIRp9P7vymA.yml create mode 100644 components/WXoRDgXAlx8x17Z_lwO9jA.yml create mode 100644 components/WXoRDgXAlx8x17ZlwO9jA.yml create mode 100644 components/WhchMmh929YzMMs3MoxCfw.yml create mode 100644 components/Wps5FHxkwj3Z.yml create mode 100644 components/WuybEuX9oXVKeg7ttDF-Sg.yml create mode 100644 components/WuybEuX9oXVKeg7ttDFSg.yml create mode 100644 components/WzIX0HJ0Xyo4V8ItwL--ew.yml create mode 100644 components/WzIX0HJ0Xyo4V8ItwLew.yml create mode 100644 components/X-WQGXXbppnHZVm1h-yDIw.yml create mode 100644 components/XE0P0D9hrEvJAu4a8QRw.yml create mode 100644 components/XE0P0D9hrEvJAu__4a8QRw.yml create mode 100644 components/XGwmAHtAOu0NDqqG3Q-CJw.yml create mode 100644 components/XGwmAHtAOu0NDqqG3QCJw.yml create mode 100644 components/XWQGXXbppnHZVm1hyDIw.yml create mode 100644 components/XZhbQ6HldVwk.yml create mode 100644 components/XgWzjx4qHTsfx1ijyDc_sw.yml create mode 100644 components/XgWzjx4qHTsfx1ijyDcsw.yml create mode 100644 components/XnOc0ygtsgoaEdDdzSJQ.yml create mode 100644 components/Xn_Oc0ygts_goaEdDdzSJQ.yml create mode 100644 components/YJzc7NwGrLmKp6gfZJh7X1.yml create mode 100644 components/YJzc7NwGrLmKp6gfZJh7Xg.yml create mode 100644 components/Zs3hq7LIexcITcvlU39Cjw.yml create mode 100644 components/_QqTMvljZNeJGkLykBRUAw.yml create mode 100644 components/_n1HuqlV7EoNrWXcv8WaIQ.yml create mode 100644 components/_qx0j5QHAzog0b-39nRnuA.yml create mode 100644 components/bWzlHQXmA4f67-3B8_LmXQ.yml create mode 100644 components/bWzlHQXmA4f673B8LmXQ.yml create mode 100644 components/ci8xMlIVkTwcjOOQ5ztZ2g.yml create mode 100644 components/ciuEzuXB-NAXpidbSBXTyw.yml create mode 100644 components/ciuEzuXBNAXpidbSBXTyw.yml create mode 100644 components/ckUclxqUpl-yzwmnYyixEw.yml create mode 100644 components/ckUclxqUplyzwmnYyixEw.yml create mode 100644 components/cyCwlcQF9m-AtDNcxOS6CA.yml create mode 100644 components/cyCwlcQF9mAtDNcxOS6CA.yml create mode 100644 components/dBe4eyhkP0Dj.yml create mode 100644 components/dswI5sRZbFPmgcNQKH5iPg.yml create mode 100644 components/eAupU7hg2SeSkZV1OpaLkw.yml create mode 100644 components/eOCFQOgp1Un10NyBC8MPow.yml create mode 100644 components/f2hECzXDTTfljm5mweoMFA.yml create mode 100644 components/fOud1KbT6qhY.yml create mode 100644 components/feDgqHKLibnMNM3HSbnmA.yml create mode 100644 components/feDgq_HKLibnMNM3HSbnmA.yml create mode 100644 components/g4GQdGsud4N4VUB8Ni_deA.yml create mode 100644 components/g4GQdGsud4N4VUB8NideA.yml create mode 100644 components/gM4fEjvVqLlSRRRkQfds2g.yml create mode 100644 components/gOKV41iXh0Hu.yml create mode 100644 components/gySZ51dyqYi9TOFr6zY5kA.yml create mode 100644 components/hE12LfxAkX3K9gU0nU4yE2.yml create mode 100644 components/hScAhxQyky9hbpHFZ2bFPg.yml create mode 100644 components/h_c1VGhVP-yuOIDiMYUp0Q.yml create mode 100644 components/haBUc1rsCitGmBzndrKl5w.yml create mode 100644 components/hc1VGhVPyuOIDiMYUp0Q.yml create mode 100644 components/hiGZZon6OCuUIRGmd0tfqQ.yml create mode 100644 components/iBC0L15gOFWymHhZEAybUQ.yml create mode 100644 components/iGAodokVchB6IJ7Jlggdkw.yml create mode 100644 components/iNIe7QE1KUf0.yml create mode 100644 components/iOsQxWRQCKwOap49G0TAag.yml create mode 100644 components/iZluV29Xg8AwaHPGijaeLg.yml create mode 100644 components/jHBkaLTk5Skn.yml create mode 100644 components/jduT06J4H7FsxAfQRFcjIQ.yml create mode 100644 components/kDMKXKzObbUL.yml create mode 100644 components/kHDpWaBPCxD4.yml create mode 100644 components/kQnGkibrJH20J8sYTbF5rg.yml create mode 100644 components/ly2AVNtIcJpTWz1qJ1mvKQ.yml create mode 100644 components/m30AHfu4V-gC51bUU6Jo7A.yml create mode 100644 components/m30AHfu4VgC51bUU6Jo7A.yml create mode 100644 components/mJFsrLmq1C2Q7bw7W6QnbT.yml create mode 100644 components/mUjJLckDDozfREkbYOjk5g.yml create mode 100644 components/ma8V138JayP8.yml create mode 100644 components/mgQsWnZUXVg3.yml create mode 100644 components/mtdRL2FMMYwzdfEeRtVmug.yml create mode 100644 components/n1HuqlV7EoNrWXcv8WaIQ.yml create mode 100644 components/nNuJG45ukoB2mtszaRx3A.yml create mode 100644 components/nNuJG45ukoB2mtszaRx3_A.yml create mode 100644 components/nbR-gFzod7Qx6M7GL6oiPg.yml create mode 100644 components/nbRgFzod7Qx6M7GL6oiPg.yml create mode 100644 components/o11NkX9o26nr.yml create mode 100644 components/oB1FawR-dWq8rSL5XY5Xpw.yml create mode 100644 components/oB1FawRdWq8rSL5XY5Xpw.yml create mode 100644 components/ofdqbJszMago.yml create mode 100644 components/oi0YghSXgDWlMPrzjDjbVg.yml create mode 100644 components/pC342KBWtheQNnXjIni6A.yml create mode 100644 components/pC34_2KBWtheQNnXjIni6A.yml create mode 100644 components/pD4b43nPu73ev5T4Bf3RKw.yml create mode 100644 components/pGxj32ic41pvquRXUdqc7A.yml create mode 100644 components/pSQhVbMPcWjL.yml create mode 100644 components/pTsBXK2TYUNp.yml create mode 100644 components/pciAVHGPCYBn8-m14ZZsLg.yml create mode 100644 components/pciAVHGPCYBn8m14ZZsLg.yml create mode 100644 components/pjAMrP5HEQnm.yml create mode 100644 components/pjNkr5Kenxb0NMODp9u2Dw.yml create mode 100644 components/pmpzYhPX3ucz.yml create mode 100644 components/qJPPqfjKviUyvDTCn2Xw.yml create mode 100644 components/qx0j5QHAzog0b39nRnuA.yml create mode 100644 components/rFC0YJOoDFvS.yml create mode 100644 components/rJL2LobMLcELiot0Fy-9-w.yml create mode 100644 components/rJL2LobMLcELiot0Fy9w.yml create mode 100644 components/rxuC0B8IRA61enD5IxAxOA.yml create mode 100644 components/sQjaqWKJj-VWjVEI_bNu-A.yml create mode 100644 components/sQjaqWKJjVWjVEIbNuA.yml create mode 100644 components/sRlBA8KUwLyO.yml create mode 100644 components/sVjXygxsPhjLEWd2acwcEA.yml create mode 100644 components/sbDcAqiNqxFz.yml create mode 100644 components/szBtaOyog8QJtq5yuV1NtQ.yml create mode 100644 components/szmBYf8nY11l.yml create mode 100644 components/tK0hTk4TyMj7.yml create mode 100644 components/t_gzaSQggV7wgMprOmF1Ww.yml create mode 100644 components/tgzaSQggV7wgMprOmF1Ww.yml create mode 100644 components/uBfG9guHvNVxErmJ3QZxw.yml create mode 100644 components/uBfG9guHvNVxErmJ3Q_Zxw.yml create mode 100644 components/uBwLe0Jusl7Q.yml create mode 100644 components/uYkoK0vRp4bbIg9ak-I1yw.yml create mode 100644 components/uYkoK0vRp4bbIg9akI1yw.yml create mode 100644 components/unB9cRBV3MRGqKt-rbQDPA.yml create mode 100644 components/unB9cRBV3MRGqKtrbQDPA.yml create mode 100644 components/v2RpT5Ryi2ke97ANZxRnJg.yml create mode 100644 components/vC2zMO3Jf1evuVj6KqEK6A.yml create mode 100644 components/vE3pRKimWyP_c5qaeW8Q1Q.yml create mode 100644 components/vE3pRKimWyPc5qaeW8Q1Q.yml create mode 100644 components/w3uS7t7cW72QFYo0Ugf29w.yml create mode 100644 components/w5FfsS2I9Zpz.yml create mode 100644 components/w7Q37CroiOAtyhxkJMms9w.yml create mode 100644 components/x8rLTpIWct4P.yml create mode 100644 components/xSwFvtAUdvtQosvzpb7oMg.yml create mode 100644 components/ybZI0GvSFGXlKF9wGKxiQ.yml create mode 100644 components/ybZI0GvSFGXlKF9w_GKxiQ.yml create mode 100644 components/ytOAJhcgTY7jGhIuqShU7w.yml create mode 100644 components/zM6WUEh2x3PC.yml create mode 100644 components/zR8WrA2O9QEzhdMnsVMPg.yml create mode 100644 components/zR8WrA2O9QEzhdMnsV_MPg.yml create mode 100644 components/zTK24mc7QujCiFRxGdi2Lg.yml create mode 100644 components/zTwDs7eGPcDvcrxtzgi4ag.yml delete mode 100644 response_selectors/convers_evaluation_based_selector/component.yml delete mode 100644 response_selectors/convers_evaluation_based_selector/pipeline.yml create mode 100644 response_selectors/convers_evaluation_based_selector/service_configs/convers-evaluation-no-scripts-selector/environment.yml create mode 100644 response_selectors/convers_evaluation_based_selector/service_configs/convers-evaluation-no-scripts-selector/service.yml create mode 100644 response_selectors/convers_evaluation_based_selector/service_configs/convers-evaluation-selector-ru/environment.yml create mode 100644 response_selectors/convers_evaluation_based_selector/service_configs/convers-evaluation-selector-ru/service.yml create mode 100644 response_selectors/convers_evaluation_based_selector/service_configs/convers-evaluation-selector/environment.yml create mode 100644 response_selectors/convers_evaluation_based_selector/service_configs/convers-evaluation-selector/service.yml create mode 100644 response_selectors/convers_evaluation_based_selector/service_configs/no-restrictions-selector/environment.yml create mode 100644 response_selectors/convers_evaluation_based_selector/service_configs/no-restrictions-selector/service.yml create mode 100644 response_selectors/convers_evaluation_based_selector/service_configs/scripts-priority-selector/environment.yml create mode 100644 response_selectors/convers_evaluation_based_selector/service_configs/scripts-priority-selector/service.yml delete mode 100644 response_selectors/llm_based_response_selector/component.yml delete mode 100644 response_selectors/llm_based_response_selector/pipeline.yml delete mode 100644 response_selectors/ranking_based_response_selector/component.yml delete mode 100644 response_selectors/ranking_based_response_selector/pipeline.yml create mode 100644 response_selectors/ranking_based_response_selector/service_configs/ranking-based-response-selector-ru/environment.yml create mode 100644 response_selectors/ranking_based_response_selector/service_configs/ranking-based-response-selector-ru/service.yml create mode 100644 response_selectors/ranking_based_response_selector/service_configs/ranking-based-response-selector/environment.yml create mode 100644 response_selectors/ranking_based_response_selector/service_configs/ranking-based-response-selector/service.yml delete mode 100644 response_selectors/rule_based_response_selector/component.yml delete mode 100644 response_selectors/rule_based_response_selector/pipeline.yml create mode 100644 response_selectors/rule_based_response_selector/service_configs/rule-based-response-selector/environment.yml create mode 100644 response_selectors/rule_based_response_selector/service_configs/rule-based-response-selector/service.yml create mode 100644 services/agent_services/service_configs/ai_faq_assistant/environment.yml create mode 100644 services/agent_services/service_configs/ai_faq_assistant/service.yml create mode 100644 services/agent_services/service_configs/deeppavlov_assistant/environment.yml create mode 100644 services/agent_services/service_configs/deeppavlov_assistant/service.yml create mode 100644 services/agent_services/service_configs/deepy_adv/environment.yml create mode 100644 services/agent_services/service_configs/deepy_adv/service.yml create mode 100644 services/agent_services/service_configs/deepy_assistant/environment.yml create mode 100644 services/agent_services/service_configs/deepy_assistant/service.yml create mode 100644 services/agent_services/service_configs/deepy_base/environment.yml create mode 100644 services/agent_services/service_configs/deepy_base/service.yml create mode 100644 services/agent_services/service_configs/deepy_faq/environment.yml create mode 100644 services/agent_services/service_configs/deepy_faq/service.yml create mode 100644 services/agent_services/service_configs/deepy_gobot_base/environment.yml create mode 100644 services/agent_services/service_configs/deepy_gobot_base/service.yml create mode 100644 services/agent_services/service_configs/dream/environment.yml create mode 100644 services/agent_services/service_configs/dream/service.yml create mode 100644 services/agent_services/service_configs/dream_alexa/environment.yml create mode 100644 services/agent_services/service_configs/dream_alexa/service.yml create mode 100644 services/agent_services/service_configs/dream_mini/environment.yml create mode 100644 services/agent_services/service_configs/dream_mini/service.yml create mode 100644 services/agent_services/service_configs/dream_mini_persona_based/environment.yml create mode 100644 services/agent_services/service_configs/dream_mini_persona_based/service.yml create mode 100644 services/agent_services/service_configs/dream_multilingual/environment.yml create mode 100644 services/agent_services/service_configs/dream_multilingual/service.yml create mode 100644 services/agent_services/service_configs/dream_multimodal/environment.yml create mode 100644 services/agent_services/service_configs/dream_multimodal/service.yml create mode 100644 services/agent_services/service_configs/dream_persona_openai_prompted/environment.yml create mode 100644 services/agent_services/service_configs/dream_persona_openai_prompted/service.yml create mode 100644 services/agent_services/service_configs/dream_persona_prompted/environment.yml create mode 100644 services/agent_services/service_configs/dream_persona_prompted/service.yml create mode 100644 services/agent_services/service_configs/dream_russian/environment.yml create mode 100644 services/agent_services/service_configs/dream_russian/service.yml create mode 100644 services/agent_services/service_configs/dream_sfc/environment.yml create mode 100644 services/agent_services/service_configs/dream_sfc/service.yml create mode 100644 services/agent_services/service_configs/fairytale_assistant/environment.yml create mode 100644 services/agent_services/service_configs/fairytale_assistant/service.yml create mode 100644 services/agent_services/service_configs/fashion_stylist_assistant/environment.yml create mode 100644 services/agent_services/service_configs/fashion_stylist_assistant/service.yml create mode 100644 services/agent_services/service_configs/life_coaching_assistant/environment.yml create mode 100644 services/agent_services/service_configs/life_coaching_assistant/service.yml create mode 100644 services/agent_services/service_configs/marketing_assistant/environment.yml create mode 100644 services/agent_services/service_configs/marketing_assistant/service.yml create mode 100644 services/agent_services/service_configs/multiskill_ai_assistant/environment.yml create mode 100644 services/agent_services/service_configs/multiskill_ai_assistant/service.yml create mode 100644 services/agent_services/service_configs/nutrition_assistant/environment.yml create mode 100644 services/agent_services/service_configs/nutrition_assistant/service.yml create mode 100644 services/agent_services/service_configs/universal_prompted_assistant/environment.yml create mode 100644 services/agent_services/service_configs/universal_prompted_assistant/service.yml delete mode 100644 services/dialogpt/component.yml delete mode 100644 services/dialogpt/pipeline.yml create mode 100644 services/dialogpt/service_configs/dialogpt/environment.yml create mode 100644 services/dialogpt/service_configs/dialogpt/service.yml delete mode 100644 services/dialogrpt_ru/component.yml delete mode 100644 services/dialogrpt_ru/pipeline.yml create mode 100644 services/dialogrpt_ru/service_configs/dialogrpt-ru/environment.yml create mode 100644 services/dialogrpt_ru/service_configs/dialogrpt-ru/service.yml delete mode 100644 services/gpt2_generator/component.yml delete mode 100644 services/gpt2_generator/pipeline.yml create mode 100644 services/gpt2_generator/service_configs/gpt2-multilingual/environment.yml create mode 100644 services/gpt2_generator/service_configs/gpt2-multilingual/service.yml delete mode 100644 services/image_captioning/component.yml delete mode 100644 services/image_captioning/pipeline.yml create mode 100644 services/image_captioning/service_configs/image-captioning/environment.yml create mode 100644 services/image_captioning/service_configs/image-captioning/service.yml delete mode 100644 services/infilling/component.yml create mode 100644 services/infilling/service_configs/infilling/environment.yml create mode 100644 services/infilling/service_configs/infilling/service.yml delete mode 100644 services/knowledge_grounding/component.yml create mode 100644 services/knowledge_grounding/service_configs/knowledge-grounding/environment.yml create mode 100644 services/knowledge_grounding/service_configs/knowledge-grounding/service.yml delete mode 100644 services/last_chance_service/component.yml delete mode 100644 services/last_chance_service/pipeline.yml create mode 100644 services/last_chance_service/service_configs/agent/environment.yml create mode 100644 services/last_chance_service/service_configs/agent/service.yml delete mode 100644 services/masked_lm/component.yml create mode 100644 services/masked_lm/service_configs/masked-lm/environment.yml create mode 100644 services/masked_lm/service_configs/masked-lm/service.yml delete mode 100644 services/openai_api_lm/component.yml create mode 100644 services/openai_api_lm/service_configs/openai-api-chatgpt/environment.yml create mode 100644 services/openai_api_lm/service_configs/openai-api-chatgpt/service.yml create mode 100644 services/openai_api_lm/service_configs/openai-api-davinci3/environment.yml create mode 100644 services/openai_api_lm/service_configs/openai-api-davinci3/service.yml delete mode 100644 services/prompt_storygpt/component.yml create mode 100644 services/prompt_storygpt/service_configs/prompt-storygpt/environment.yml create mode 100644 services/prompt_storygpt/service_configs/prompt-storygpt/service.yml delete mode 100644 services/response_annotator_selectors/component.yml delete mode 100644 services/response_annotator_selectors/pipeline.yml create mode 100644 services/response_annotator_selectors/service_configs/agent/environment.yml create mode 100644 services/response_annotator_selectors/service_configs/agent/service.yml delete mode 100644 services/sentence_ranker/component.yml delete mode 100644 services/sentence_ranker/pipeline.yml create mode 100644 services/sentence_ranker/service_configs/sentence-ranker-multilingual/environment.yml create mode 100644 services/sentence_ranker/service_configs/sentence-ranker-multilingual/service.yml create mode 100644 services/sentence_ranker/service_configs/sentence-ranker/environment.yml create mode 100644 services/sentence_ranker/service_configs/sentence-ranker/service.yml delete mode 100644 services/seq2seq_persona_based/component.yml delete mode 100644 services/seq2seq_persona_based/pipeline.yml create mode 100644 services/seq2seq_persona_based/service_configs/seq2seq-persona-based/environment.yml create mode 100644 services/seq2seq_persona_based/service_configs/seq2seq-persona-based/service.yml delete mode 100644 services/storygpt/component.yml create mode 100644 services/storygpt/service_configs/storygpt/environment.yml create mode 100644 services/storygpt/service_configs/storygpt/service.yml delete mode 100644 services/text_qa/component.yml delete mode 100644 services/text_qa/pipeline.yml create mode 100644 services/text_qa/service_configs/text-qa-ru/environment.yml create mode 100644 services/text_qa/service_configs/text-qa-ru/service.yml create mode 100644 services/text_qa/service_configs/text-qa/environment.yml create mode 100644 services/text_qa/service_configs/text-qa/service.yml delete mode 100644 services/timeout_service/component.yml delete mode 100644 services/timeout_service/pipeline.yml create mode 100644 services/timeout_service/service_configs/agent/environment.yml create mode 100644 services/timeout_service/service_configs/agent/service.yml delete mode 100644 services/transformers_lm/component.yml create mode 100644 services/transformers_lm/service_configs/transformers-lm-bloomz7b/environment.yml create mode 100644 services/transformers_lm/service_configs/transformers-lm-bloomz7b/service.yml create mode 100644 services/transformers_lm/service_configs/transformers-lm-gptj/environment.yml create mode 100644 services/transformers_lm/service_configs/transformers-lm-gptj/service.yml delete mode 100644 services/transformers_peft_lm/component.yml delete mode 100644 services/wiki_facts/component.yml create mode 100644 services/wiki_facts/service_configs/wiki-facts/environment.yml create mode 100644 services/wiki_facts/service_configs/wiki-facts/service.yml delete mode 100644 skill_selectors/rule_based_selector/component.yml delete mode 100644 skill_selectors/rule_based_selector/pipeline.yml create mode 100644 skill_selectors/rule_based_selector/service_configs/agent/environment.yml create mode 100644 skill_selectors/rule_based_selector/service_configs/agent/service.yml delete mode 100644 skills/alexa_handler/component.yml delete mode 100644 skills/alexa_handler/pipeline.yml create mode 100644 skills/alexa_handler/service_configs/agent/environment.yml create mode 100644 skills/alexa_handler/service_configs/agent/service.yml delete mode 100644 skills/convert_reddit/component.yml delete mode 100644 skills/convert_reddit/pipeline.yml create mode 100644 skills/convert_reddit/service_configs/convert-reddit/environment.yml create mode 100644 skills/convert_reddit/service_configs/convert-reddit/service.yml delete mode 100644 skills/dff_animals_skill/component.yml delete mode 100644 skills/dff_animals_skill/pipeline.yml create mode 100644 skills/dff_animals_skill/service_configs/dff-animals-skill/environment.yml create mode 100644 skills/dff_animals_skill/service_configs/dff-animals-skill/service.yml delete mode 100644 skills/dff_art_skill/component.yml delete mode 100644 skills/dff_art_skill/pipeline.yml create mode 100644 skills/dff_art_skill/service_configs/dff-art-skill/environment.yml create mode 100644 skills/dff_art_skill/service_configs/dff-art-skill/service.yml delete mode 100644 skills/dff_book_sfc_skill/component.yml delete mode 100644 skills/dff_book_sfc_skill/pipeline.yml create mode 100644 skills/dff_book_sfc_skill/service_configs/dff-book-sfc-skill/environment.yml create mode 100644 skills/dff_book_sfc_skill/service_configs/dff-book-sfc-skill/service.yml delete mode 100644 skills/dff_book_skill/component.yml delete mode 100644 skills/dff_book_skill/pipeline.yml create mode 100644 skills/dff_book_skill/service_configs/dff-book-skill/environment.yml create mode 100644 skills/dff_book_skill/service_configs/dff-book-skill/service.yml delete mode 100644 skills/dff_bot_persona_skill/component.yml delete mode 100644 skills/dff_bot_persona_skill/pipeline.yml create mode 100644 skills/dff_bot_persona_skill/service_configs/dff-bot-persona-skill/environment.yml create mode 100644 skills/dff_bot_persona_skill/service_configs/dff-bot-persona-skill/service.yml delete mode 100644 skills/dff_coronavirus_skill/component.yml delete mode 100644 skills/dff_coronavirus_skill/pipeline.yml create mode 100644 skills/dff_coronavirus_skill/service_configs/dff-coronavirus-skill/environment.yml create mode 100644 skills/dff_coronavirus_skill/service_configs/dff-coronavirus-skill/service.yml delete mode 100644 skills/dff_food_skill/component.yml delete mode 100644 skills/dff_food_skill/pipeline.yml create mode 100644 skills/dff_food_skill/service_configs/dff-food-skill/environment.yml create mode 100644 skills/dff_food_skill/service_configs/dff-food-skill/service.yml delete mode 100644 skills/dff_friendship_skill/component.yml delete mode 100644 skills/dff_friendship_skill/pipeline.yml create mode 100644 skills/dff_friendship_skill/service_configs/dff-friendship-ru-skill/environment.yml create mode 100644 skills/dff_friendship_skill/service_configs/dff-friendship-ru-skill/service.yml create mode 100644 skills/dff_friendship_skill/service_configs/dff-friendship-skill/environment.yml create mode 100644 skills/dff_friendship_skill/service_configs/dff-friendship-skill/service.yml delete mode 100644 skills/dff_funfact_skill/component.yml delete mode 100644 skills/dff_funfact_skill/pipeline.yml create mode 100644 skills/dff_funfact_skill/service_configs/dff-funfact-skill/environment.yml create mode 100644 skills/dff_funfact_skill/service_configs/dff-funfact-skill/service.yml delete mode 100644 skills/dff_gaming_skill/component.yml delete mode 100644 skills/dff_gaming_skill/pipeline.yml create mode 100644 skills/dff_gaming_skill/service_configs/dff-gaming-skill/environment.yml create mode 100644 skills/dff_gaming_skill/service_configs/dff-gaming-skill/service.yml delete mode 100644 skills/dff_generative_skill/component.yml delete mode 100644 skills/dff_generative_skill/pipeline.yml create mode 100644 skills/dff_generative_skill/service_configs/dff-generative-ru-skill/environment.yml create mode 100644 skills/dff_generative_skill/service_configs/dff-generative-ru-skill/service.yml delete mode 100644 skills/dff_gossip_skill/component.yml delete mode 100644 skills/dff_gossip_skill/pipeline.yml create mode 100644 skills/dff_gossip_skill/service_configs/dff-gossip-skill/environment.yml create mode 100644 skills/dff_gossip_skill/service_configs/dff-gossip-skill/service.yml delete mode 100644 skills/dff_grounding_skill/component.yml delete mode 100644 skills/dff_grounding_skill/pipeline.yml create mode 100644 skills/dff_grounding_skill/service_configs/dff-grounding-skill/environment.yml create mode 100644 skills/dff_grounding_skill/service_configs/dff-grounding-skill/service.yml delete mode 100644 skills/dff_image_skill/component.yml delete mode 100644 skills/dff_image_skill/pipeline.yml create mode 100644 skills/dff_image_skill/service_configs/dff-image-skill/environment.yml create mode 100644 skills/dff_image_skill/service_configs/dff-image-skill/service.yml delete mode 100644 skills/dff_intent_responder_skill/component.yml delete mode 100644 skills/dff_intent_responder_skill/pipeline.yml create mode 100644 skills/dff_intent_responder_skill/service_configs/dff-intent-responder-ru-skill/environment.yml create mode 100644 skills/dff_intent_responder_skill/service_configs/dff-intent-responder-ru-skill/service.yml create mode 100644 skills/dff_intent_responder_skill/service_configs/dff-intent-responder-skill/environment.yml create mode 100644 skills/dff_intent_responder_skill/service_configs/dff-intent-responder-skill/service.yml delete mode 100644 skills/dff_movie_skill/component.yml delete mode 100644 skills/dff_movie_skill/pipeline.yml create mode 100644 skills/dff_movie_skill/service_configs/dff-movie-skill/environment.yml create mode 100644 skills/dff_movie_skill/service_configs/dff-movie-skill/service.yml delete mode 100644 skills/dff_music_skill/component.yml delete mode 100644 skills/dff_music_skill/pipeline.yml create mode 100644 skills/dff_music_skill/service_configs/dff-music-skill/environment.yml create mode 100644 skills/dff_music_skill/service_configs/dff-music-skill/service.yml delete mode 100644 skills/dff_program_y_dangerous_skill/component.yml delete mode 100644 skills/dff_program_y_dangerous_skill/pipeline.yml create mode 100644 skills/dff_program_y_dangerous_skill/service_configs/dff-program-y-dangerous-skill/environment.yml create mode 100644 skills/dff_program_y_dangerous_skill/service_configs/dff-program-y-dangerous-skill/service.yml delete mode 100644 skills/dff_program_y_skill/component.yml delete mode 100644 skills/dff_program_y_skill/pipeline.yml create mode 100644 skills/dff_program_y_skill/service_configs/dff-program-y-ru-skill/environment.yml create mode 100644 skills/dff_program_y_skill/service_configs/dff-program-y-ru-skill/service.yml create mode 100644 skills/dff_program_y_skill/service_configs/dff-program-y-skill/environment.yml create mode 100644 skills/dff_program_y_skill/service_configs/dff-program-y-skill/service.yml delete mode 100644 skills/dff_program_y_wide_skill/component.yml delete mode 100644 skills/dff_program_y_wide_skill/pipeline.yml create mode 100644 skills/dff_program_y_wide_skill/service_configs/dff-program-y-wide-skill/environment.yml create mode 100644 skills/dff_program_y_wide_skill/service_configs/dff-program-y-wide-skill/service.yml delete mode 100644 skills/dff_science_skill/component.yml delete mode 100644 skills/dff_science_skill/pipeline.yml create mode 100644 skills/dff_science_skill/service_configs/dff-science-skill/environment.yml create mode 100644 skills/dff_science_skill/service_configs/dff-science-skill/service.yml delete mode 100644 skills/dff_short_story_skill/component.yml delete mode 100644 skills/dff_short_story_skill/pipeline.yml create mode 100644 skills/dff_short_story_skill/service_configs/dff-short-story-skill/environment.yml create mode 100644 skills/dff_short_story_skill/service_configs/dff-short-story-skill/service.yml delete mode 100644 skills/dff_sport_skill/component.yml delete mode 100644 skills/dff_sport_skill/pipeline.yml create mode 100644 skills/dff_sport_skill/service_configs/dff-sport-skill/environment.yml create mode 100644 skills/dff_sport_skill/service_configs/dff-sport-skill/service.yml delete mode 100644 skills/dff_template_prompted_skill/component.yml delete mode 100644 skills/dff_template_prompted_skill/pipeline.yml create mode 100644 skills/dff_template_prompted_skill/service_configs/dff-ai-faq-prompted-skill/environment.yml create mode 100644 skills/dff_template_prompted_skill/service_configs/dff-ai-faq-prompted-skill/service.yml create mode 100644 skills/dff_template_prompted_skill/service_configs/dff-casual-email-prompted-skill/environment.yml create mode 100644 skills/dff_template_prompted_skill/service_configs/dff-casual-email-prompted-skill/service.yml create mode 100644 skills/dff_template_prompted_skill/service_configs/dff-deeppavlov-prompted-skill/environment.yml create mode 100644 skills/dff_template_prompted_skill/service_configs/dff-deeppavlov-prompted-skill/service.yml create mode 100644 skills/dff_template_prompted_skill/service_configs/dff-deepy-prompted-skill/environment.yml create mode 100644 skills/dff_template_prompted_skill/service_configs/dff-deepy-prompted-skill/service.yml create mode 100644 skills/dff_template_prompted_skill/service_configs/dff-dream-persona-davinci3-prompted-skill/environment.yml create mode 100644 skills/dff_template_prompted_skill/service_configs/dff-dream-persona-davinci3-prompted-skill/service.yml create mode 100644 skills/dff_template_prompted_skill/service_configs/dff-dream-persona-gpt-j-prompted-skill/environment.yml create mode 100644 skills/dff_template_prompted_skill/service_configs/dff-dream-persona-gpt-j-prompted-skill/service.yml create mode 100644 skills/dff_template_prompted_skill/service_configs/dff-dream-persona-llama7bru-prompted-skill/environment.yml create mode 100644 skills/dff_template_prompted_skill/service_configs/dff-dream-persona-llama7bru-prompted-skill/service.yml create mode 100644 skills/dff_template_prompted_skill/service_configs/dff-fairytale-prompted-skill/environment.yml create mode 100644 skills/dff_template_prompted_skill/service_configs/dff-fairytale-prompted-skill/service.yml create mode 100644 skills/dff_template_prompted_skill/service_configs/dff-fashion-stylist-prompted-skill/environment.yml create mode 100644 skills/dff_template_prompted_skill/service_configs/dff-fashion-stylist-prompted-skill/service.yml create mode 100644 skills/dff_template_prompted_skill/service_configs/dff-life-coaching-prompted-skill/environment.yml create mode 100644 skills/dff_template_prompted_skill/service_configs/dff-life-coaching-prompted-skill/service.yml create mode 100644 skills/dff_template_prompted_skill/service_configs/dff-marketing-prompted-skill/environment.yml create mode 100644 skills/dff_template_prompted_skill/service_configs/dff-marketing-prompted-skill/service.yml create mode 100644 skills/dff_template_prompted_skill/service_configs/dff-meeting-notes-prompted-skill/environment.yml create mode 100644 skills/dff_template_prompted_skill/service_configs/dff-meeting-notes-prompted-skill/service.yml create mode 100644 skills/dff_template_prompted_skill/service_configs/dff-nutrition-prompted-skill/environment.yml create mode 100644 skills/dff_template_prompted_skill/service_configs/dff-nutrition-prompted-skill/service.yml create mode 100644 skills/dff_template_prompted_skill/service_configs/dff-official-email-prompted-skill/environment.yml create mode 100644 skills/dff_template_prompted_skill/service_configs/dff-official-email-prompted-skill/service.yml create mode 100644 skills/dff_template_prompted_skill/service_configs/dff-plan-for-article-prompted-skill/environment.yml create mode 100644 skills/dff_template_prompted_skill/service_configs/dff-plan-for-article-prompted-skill/service.yml create mode 100644 skills/dff_template_prompted_skill/template.yml delete mode 100644 skills/dff_template_skill/component.yml delete mode 100644 skills/dff_template_skill/pipeline.yml create mode 100644 skills/dff_template_skill/service_configs/dff-template-skill/environment.yml create mode 100644 skills/dff_template_skill/service_configs/dff-template-skill/service.yml delete mode 100644 skills/dff_travel_skill/component.yml delete mode 100644 skills/dff_travel_skill/pipeline.yml create mode 100644 skills/dff_travel_skill/service_configs/dff-travel-skill/environment.yml create mode 100644 skills/dff_travel_skill/service_configs/dff-travel-skill/service.yml delete mode 100644 skills/dff_universal_prompted_skill/component.yml delete mode 100644 skills/dff_universal_prompted_skill/pipeline.yml create mode 100644 skills/dff_universal_prompted_skill/service_configs/dff-universal-prompted-skill/environment.yml create mode 100644 skills/dff_universal_prompted_skill/service_configs/dff-universal-prompted-skill/service.yml delete mode 100644 skills/dff_weather_skill/component.yml delete mode 100644 skills/dff_weather_skill/pipeline.yml create mode 100644 skills/dff_weather_skill/service_configs/dff-weather-skill/environment.yml create mode 100644 skills/dff_weather_skill/service_configs/dff-weather-skill/service.yml delete mode 100644 skills/dff_wiki_skill/component.yml delete mode 100644 skills/dff_wiki_skill/pipeline.yml create mode 100644 skills/dff_wiki_skill/service_configs/dff-wiki-skill/environment.yml create mode 100644 skills/dff_wiki_skill/service_configs/dff-wiki-skill/service.yml delete mode 100644 skills/dummy_skill/component.yml delete mode 100644 skills/dummy_skill/pipeline.yml create mode 100644 skills/dummy_skill/service_configs/agent/environment.yml create mode 100644 skills/dummy_skill/service_configs/agent/service.yml delete mode 100644 skills/dummy_skill_dialog/component.yml delete mode 100644 skills/dummy_skill_dialog/pipeline.yml create mode 100644 skills/dummy_skill_dialog/service_configs/dummy-skill-dialog/environment.yml create mode 100644 skills/dummy_skill_dialog/service_configs/dummy-skill-dialog/service.yml delete mode 100644 skills/eliza/component.yml delete mode 100644 skills/eliza/pipeline.yml create mode 100644 skills/eliza/service_configs/eliza/environment.yml create mode 100644 skills/eliza/service_configs/eliza/service.yml delete mode 100644 skills/emotion_skill/component.yml delete mode 100644 skills/emotion_skill/pipeline.yml create mode 100644 skills/emotion_skill/service_configs/emotion-skill/environment.yml create mode 100644 skills/emotion_skill/service_configs/emotion-skill/service.yml delete mode 100644 skills/factoid_qa/component.yml delete mode 100644 skills/factoid_qa/pipeline.yml create mode 100644 skills/factoid_qa/service_configs/factoid-qa/environment.yml create mode 100644 skills/factoid_qa/service_configs/factoid-qa/service.yml delete mode 100644 skills/faq_skill_deepy/component.yml delete mode 100644 skills/faq_skill_deepy/pipeline.yml create mode 100644 skills/faq_skill_deepy/service_configs/faq-skill/environment.yml create mode 100644 skills/faq_skill_deepy/service_configs/faq-skill/service.yml delete mode 100644 skills/game_cooperative_skill/component.yml delete mode 100644 skills/game_cooperative_skill/pipeline.yml create mode 100644 skills/game_cooperative_skill/service_configs/game-cooperative-skill/environment.yml create mode 100644 skills/game_cooperative_skill/service_configs/game-cooperative-skill/service.yml delete mode 100644 skills/harvesters_maintenance_gobot_skill_deepy/component.yml delete mode 100644 skills/harvesters_maintenance_gobot_skill_deepy/pipeline.yml create mode 100644 skills/harvesters_maintenance_gobot_skill_deepy/service_configs/harvesters-maintenance-gobot-skill/environment.yml create mode 100644 skills/harvesters_maintenance_gobot_skill_deepy/service_configs/harvesters-maintenance-gobot-skill/service.yml delete mode 100644 skills/harvesters_maintenance_skill_deepy/component.yml delete mode 100644 skills/harvesters_maintenance_skill_deepy/pipeline.yml create mode 100644 skills/harvesters_maintenance_skill_deepy/service_configs/harvesters-maintenance-skill/environment.yml create mode 100644 skills/harvesters_maintenance_skill_deepy/service_configs/harvesters-maintenance-skill/service.yml delete mode 100644 skills/knowledge_grounding_skill/component.yml delete mode 100644 skills/knowledge_grounding_skill/pipeline.yml create mode 100644 skills/knowledge_grounding_skill/service_configs/knowledge-grounding-skill/environment.yml create mode 100644 skills/knowledge_grounding_skill/service_configs/knowledge-grounding-skill/service.yml delete mode 100644 skills/meta_script_skill/component.yml delete mode 100644 skills/meta_script_skill/pipeline.yml create mode 100644 skills/meta_script_skill/service_configs/meta-script-skill/environment.yml create mode 100644 skills/meta_script_skill/service_configs/meta-script-skill/service.yml delete mode 100644 skills/misheard_asr/component.yml delete mode 100644 skills/misheard_asr/pipeline.yml create mode 100644 skills/misheard_asr/service_configs/misheard-asr/environment.yml create mode 100644 skills/misheard_asr/service_configs/misheard-asr/service.yml delete mode 100644 skills/news_api_skill/component.yml delete mode 100644 skills/news_api_skill/pipeline.yml create mode 100644 skills/news_api_skill/service_configs/news-api-skill/environment.yml create mode 100644 skills/news_api_skill/service_configs/news-api-skill/service.yml delete mode 100644 skills/personal_info_skill/component.yml delete mode 100644 skills/personal_info_skill/pipeline.yml create mode 100644 skills/personal_info_skill/service_configs/personal-info-ru-skill/environment.yml create mode 100644 skills/personal_info_skill/service_configs/personal-info-ru-skill/service.yml create mode 100644 skills/personal_info_skill/service_configs/personal-info-skill/environment.yml create mode 100644 skills/personal_info_skill/service_configs/personal-info-skill/service.yml delete mode 100644 skills/personality_catcher/component.yml delete mode 100644 skills/personality_catcher/pipeline.yml create mode 100644 skills/personality_catcher/service_configs/personality-catcher/environment.yml create mode 100644 skills/personality_catcher/service_configs/personality-catcher/service.yml delete mode 100644 skills/small_talk_skill/component.yml delete mode 100644 skills/small_talk_skill/pipeline.yml create mode 100644 skills/small_talk_skill/service_configs/small-talk-skill/environment.yml create mode 100644 skills/small_talk_skill/service_configs/small-talk-skill/service.yml diff --git a/.gitignore b/.gitignore index 9c70b2b1f4..49f5100cc0 100644 --- a/.gitignore +++ b/.gitignore @@ -144,4 +144,4 @@ docker-compose-one-replica.yml *.pem # personal env keys and tokens -.env_secret +*.env_secret diff --git a/annotators/BadlistedWordsDetector/component.yml b/annotators/BadlistedWordsDetector/component.yml deleted file mode 100644 index b09fa09e89..0000000000 --- a/annotators/BadlistedWordsDetector/component.yml +++ /dev/null @@ -1,23 +0,0 @@ -badlisted-words: - name: badlisted_words - display_name: Bad Words Detection - container_name: badlisted-words - component_type: null - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: detects words and phrases from the badlist - ram_usage: 150M - gpu_usage: null - port: 8018 - endpoints: - - group: annotators - endpoint: badlisted_words - - group: candidate_annotators - endpoint: badlisted_words_batch - - group: services - endpoint: badlisted_words_batch - build_args: - SERVICE_PORT: 8018 - SERVICE_NAME: badlisted_words - date_created: '2023-03-16T09:45:32' diff --git a/annotators/BadlistedWordsDetector/pipeline.yml b/annotators/BadlistedWordsDetector/pipeline.yml deleted file mode 100644 index 2413a8cd12..0000000000 --- a/annotators/BadlistedWordsDetector/pipeline.yml +++ /dev/null @@ -1,21 +0,0 @@ -badlisted-words: -- group: annotators - connector: - protocol: http - timeout: 1.0 - url: http://badlisted-words:8018/badlisted_words - dialog_formatter: state_formatters.dp_formatters:preproc_last_human_utt_dialog - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - annotators.spelling_preprocessing - state_manager_method: add_annotation -- group: candidate_annotators - connector: - protocol: http - timeout: 1.0 - url: http://badlisted-words:8018/badlisted_words_batch - dialog_formatter: state_formatters.dp_formatters:hypotheses_list - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - skills - state_manager_method: add_hypothesis_annotation_batch diff --git a/annotators/BadlistedWordsDetector/service_configs/badlisted-words/environment.yml b/annotators/BadlistedWordsDetector/service_configs/badlisted-words/environment.yml new file mode 100644 index 0000000000..2c5aa4b0cd --- /dev/null +++ b/annotators/BadlistedWordsDetector/service_configs/badlisted-words/environment.yml @@ -0,0 +1,3 @@ +SERVICE_PORT: 8018 +SERVICE_NAME: badlisted_words +FLASK_APP: server diff --git a/annotators/BadlistedWordsDetector/service_configs/badlisted-words/service.yml b/annotators/BadlistedWordsDetector/service_configs/badlisted-words/service.yml new file mode 100644 index 0000000000..093a8fb186 --- /dev/null +++ b/annotators/BadlistedWordsDetector/service_configs/badlisted-words/service.yml @@ -0,0 +1,38 @@ +name: badlisted-words +endpoints: +- badlisted_words +- badlisted_words_batch +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8018 + SERVICE_NAME: badlisted_words + FLASK_APP: server + context: annotators/BadlistedWordsDetector/ + command: flask run -h 0.0.0.0 -p 8018 + environment: + - FLASK_APP=server + deploy: + resources: + limits: + memory: 256M + reservations: + memory: 256M + volumes: + - ./annotators/BadlistedWordsDetector:/src + - ./common:/src/common + ports: + - 8018:8018 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8018 + - PORT=8018 diff --git a/annotators/BadlistedWordsDetector_ru/component.yml b/annotators/BadlistedWordsDetector_ru/component.yml deleted file mode 100644 index 6c51a2e6ed..0000000000 --- a/annotators/BadlistedWordsDetector_ru/component.yml +++ /dev/null @@ -1,23 +0,0 @@ -badlisted-words-ru: - name: badlisted_words - display_name: Bad Words Detection - container_name: badlisted-words-ru - component_type: null - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: detects obscene Russian words from the badlist - ram_usage: 100M - gpu_usage: null - port: 8018 - endpoints: - - group: annotators - endpoint: badlisted_words - - group: candidate_annotators - endpoint: badlisted_words_batch - - group: services - endpoint: badlisted_words_batch - build_args: - SERVICE_PORT: 8018 - SERVICE_NAME: badlisted_words - date_created: '2023-03-16T09:45:32' diff --git a/annotators/BadlistedWordsDetector_ru/pipeline.yml b/annotators/BadlistedWordsDetector_ru/pipeline.yml deleted file mode 100644 index 94c683911b..0000000000 --- a/annotators/BadlistedWordsDetector_ru/pipeline.yml +++ /dev/null @@ -1,12 +0,0 @@ -badlisted-words-ru: -- group: annotators - connector: - protocol: http - timeout: 1.0 - url: http://badlisted-words-ru:8018/badlisted_words - dialog_formatter: state_formatters.dp_formatters:preproc_and_tokenized_last_human_utt_dialog - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - annotators.spelling_preprocessing - - annotators.spacy_annotator - state_manager_method: add_annotation diff --git a/annotators/BadlistedWordsDetector_ru/service_configs/badlisted-words-ru/environment.yml b/annotators/BadlistedWordsDetector_ru/service_configs/badlisted-words-ru/environment.yml new file mode 100644 index 0000000000..2c5aa4b0cd --- /dev/null +++ b/annotators/BadlistedWordsDetector_ru/service_configs/badlisted-words-ru/environment.yml @@ -0,0 +1,3 @@ +SERVICE_PORT: 8018 +SERVICE_NAME: badlisted_words +FLASK_APP: server diff --git a/annotators/BadlistedWordsDetector_ru/service_configs/badlisted-words-ru/service.yml b/annotators/BadlistedWordsDetector_ru/service_configs/badlisted-words-ru/service.yml new file mode 100644 index 0000000000..b5f9862bfa --- /dev/null +++ b/annotators/BadlistedWordsDetector_ru/service_configs/badlisted-words-ru/service.yml @@ -0,0 +1,28 @@ +name: badlisted-words-ru +endpoints: +- badlisted_words +- badlisted_words_batch +compose: + env_file: + - .env_ru + build: + args: + SERVICE_PORT: 8018 + SERVICE_NAME: badlisted_words + FLASK_APP: server + context: annotators/BadlistedWordsDetector_ru/ + command: flask run -h 0.0.0.0 -p 8018 + environment: + - FLASK_APP=server + deploy: + resources: + limits: + memory: 128M + reservations: + memory: 128M + volumes: + - ./annotators/BadlistedWordsDetector_ru:/src + - ./common:/src/common + ports: + - 8018:8018 +proxy: null diff --git a/annotators/COMeT/component.yml b/annotators/COMeT/component.yml deleted file mode 100644 index 7619e176c5..0000000000 --- a/annotators/COMeT/component.yml +++ /dev/null @@ -1,50 +0,0 @@ -comet-atomic: - name: comet_atomic - display_name: COMeT Atomic - container_name: comet-atomic - component_type: null - model_type: NN-based - is_customizable: false - author: DeepPavlov - description: Commonsense prediction models COMeT Atomic - ram_usage: 2G - gpu_usage: 1.1G - port: 8053 - endpoints: - - group: services - endpoint: comet - build_args: - GRAPH: atomic - SERVICE_HOME: ./annotators/COMeT - SERVICE_NAME: comet_atomic - SERVICE_PORT: 8053 - PRETRAINED_MODEL: http://lnsigo.mipt.ru/export/alexaprize_data/comet/atomic_pretrained_model.pickle - PREPROCESS_DATA: http://lnsigo.mipt.ru/export/alexaprize_data/comet/categories_oEffect%23oReact%23oWant%23xAttr%23xEffect%23xIntent%23xNeed%23xReact%23xWant-maxe1_17-maxe2_35-maxr_1.pickle - DECODING_ALGO: beam-3 - date_created: '2023-03-16T09:45:32' -comet-conceptnet: - name: comet_conceptnet - display_name: COMeT ConceptNet - container_name: comet-conceptnet - component_type: null - model_type: NN-based - is_customizable: false - author: DeepPavlov - description: Commonsense prediction models COMeT ConceptNet - ram_usage: 2G - gpu_usage: 1.1G - port: 8065 - endpoints: - - group: annotators - endpoint: comet_annotator - - group: services - endpoint: comet - build_args: - GRAPH: conceptnet - SERVICE_HOME: ./annotators/COMeT/ - SERVICE_NAME: comet_conceptnet - SERVICE_PORT: 8065 - PRETRAINED_MODEL: http://lnsigo.mipt.ru/export/alexaprize_data/conceptnet/conceptnet_pretrained_model.pickle - PREPROCESS_DATA: http://lnsigo.mipt.ru/export/alexaprize_data/conceptnet/rel_language-trainsize_100-devversion_12-maxe1_10-maxe2_15-maxr_5.pickle - DECODING_ALGO: beam-3 - date_created: '2023-03-16T09:45:32' diff --git a/annotators/COMeT/pipeline.yml b/annotators/COMeT/pipeline.yml deleted file mode 100644 index b100526dde..0000000000 --- a/annotators/COMeT/pipeline.yml +++ /dev/null @@ -1,13 +0,0 @@ -comet-conceptnet: -- group: annotators - connector: - protocol: http - timeout: 2.0 - url: http://comet-conceptnet:8065/comet_annotator - dialog_formatter: state_formatters.dp_formatters:last_human_utt_nounphrases - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - annotators.spelling_preprocessing - - annotators.entity_detection - - annotators.spacy_nounphrases - state_manager_method: add_annotation diff --git a/annotators/COMeT/service_configs/comet-conceptnet/environment.yml b/annotators/COMeT/service_configs/comet-conceptnet/environment.yml new file mode 100644 index 0000000000..e88b3f5b00 --- /dev/null +++ b/annotators/COMeT/service_configs/comet-conceptnet/environment.yml @@ -0,0 +1,8 @@ +GRAPH: conceptnet +SERVICE_HOME: ./annotators/COMeT/ +SERVICE_NAME: comet_conceptnet +SERVICE_PORT: 8065 +PRETRAINED_MODEL: http://lnsigo.mipt.ru/export/alexaprize_data/conceptnet/conceptnet_pretrained_model.pickle +PREPROCESS_DATA: http://lnsigo.mipt.ru/export/alexaprize_data/conceptnet/rel_language-trainsize_100-devversion_12-maxe1_10-maxe2_15-maxr_5.pickle +DECODING_ALGO: beam-3 +CUDA_VISIBLE_DEVICES: '0' diff --git a/annotators/COMeT/service_configs/comet-conceptnet/service.yml b/annotators/COMeT/service_configs/comet-conceptnet/service.yml new file mode 100644 index 0000000000..77de81f077 --- /dev/null +++ b/annotators/COMeT/service_configs/comet-conceptnet/service.yml @@ -0,0 +1,43 @@ +name: comet-conceptnet +endpoints: +- comet_annotator +- comet +compose: + env_file: + - .env + build: + context: . + dockerfile: ./annotators/COMeT/Dockerfile + args: + GRAPH: conceptnet + SERVICE_HOME: ./annotators/COMeT/ + SERVICE_NAME: comet_conceptnet + SERVICE_PORT: 8065 + PRETRAINED_MODEL: http://lnsigo.mipt.ru/export/alexaprize_data/conceptnet/conceptnet_pretrained_model.pickle + PREPROCESS_DATA: http://lnsigo.mipt.ru/export/alexaprize_data/conceptnet/rel_language-trainsize_100-devversion_12-maxe1_10-maxe2_15-maxr_5.pickle + DECODING_ALGO: beam-3 + CUDA_VISIBLE_DEVICES: '0' + environment: + - CUDA_VISIBLE_DEVICES=0 + deploy: + resources: + limits: + memory: 3.5G + reservations: + memory: 3.5G + volumes: + - ./annotators/COMeT:/src + - ./common:/src/common + ports: + - 8065:8065 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8065 + - PORT=8065 diff --git a/annotators/ConversationEvaluator/component.yml b/annotators/ConversationEvaluator/component.yml deleted file mode 100644 index 19306e4164..0000000000 --- a/annotators/ConversationEvaluator/component.yml +++ /dev/null @@ -1,23 +0,0 @@ -convers-evaluator-annotator: - name: convers_evaluator_annotator - display_name: Conversation Evaluator - container_name: convers-evaluator-annotator - component_type: null - model_type: NN-based - is_customizable: false - author: DeepPavlov - description: is trained on the Alexa Prize data from the previous competitions and - predicts whether the candidate response is interesting, comprehensible, on-topic, - engaging, or erroneous - ram_usage: 1G - gpu_usage: 4.5G - port: 8004 - endpoints: - - group: candidate_annotators - endpoint: batch_model - build_args: - CONFIG: conveval.json - SERVICE_PORT: 8004 - DATA_URL: https://files.deeppavlov.ai/alexaprize_data/cobot_conveval2.tar.gz - SERVICE_NAME: convers_evaluator_annotator - date_created: '2023-03-16T09:45:32' diff --git a/annotators/ConversationEvaluator/pipeline.yml b/annotators/ConversationEvaluator/pipeline.yml deleted file mode 100644 index 588854c97c..0000000000 --- a/annotators/ConversationEvaluator/pipeline.yml +++ /dev/null @@ -1,11 +0,0 @@ -convers-evaluator-annotator: -- group: candidate_annotators - connector: - protocol: http - timeout: 2.0 - url: http://convers-evaluator-annotator:8004/batch_model - dialog_formatter: state_formatters.dp_formatters:convers_evaluator_annotator_formatter - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - skills - state_manager_method: add_hypothesis_annotation_batch diff --git a/annotators/ConversationEvaluator/service_configs/convers-evaluator-annotator/environment.yml b/annotators/ConversationEvaluator/service_configs/convers-evaluator-annotator/environment.yml new file mode 100644 index 0000000000..f8992c2f16 --- /dev/null +++ b/annotators/ConversationEvaluator/service_configs/convers-evaluator-annotator/environment.yml @@ -0,0 +1,4 @@ +CONFIG: conveval.json +SERVICE_PORT: 8004 +DATA_URL: https://files.deeppavlov.ai/alexaprize_data/cobot_conveval2.tar.gz +CUDA_VISIBLE_DEVICES: '0' diff --git a/annotators/ConversationEvaluator/service_configs/convers-evaluator-annotator/service.yml b/annotators/ConversationEvaluator/service_configs/convers-evaluator-annotator/service.yml new file mode 100644 index 0000000000..5c87299086 --- /dev/null +++ b/annotators/ConversationEvaluator/service_configs/convers-evaluator-annotator/service.yml @@ -0,0 +1,40 @@ +name: convers-evaluator-annotator +endpoints: +- batch_model +compose: + env_file: + - .env + build: + args: + CONFIG: conveval.json + SERVICE_PORT: 8004 + DATA_URL: https://files.deeppavlov.ai/alexaprize_data/cobot_conveval2.tar.gz + CUDA_VISIBLE_DEVICES: '0' + context: . + dockerfile: ./annotators/ConversationEvaluator/Dockerfile + environment: + - CUDA_VISIBLE_DEVICES=0 + deploy: + mode: replicated + replicas: 1 + resources: + limits: + memory: 2G + reservations: + memory: 2G + volumes: + - ./annotators/ConversationEvaluator:/src + - ~/.deeppavlov:/root/.deeppavlov + ports: + - 8004:8004 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8004 + - PORT=8004 diff --git a/annotators/IntentCatcherTransformers/component.yml b/annotators/IntentCatcherTransformers/component.yml deleted file mode 100644 index 0713d5a1ba..0000000000 --- a/annotators/IntentCatcherTransformers/component.yml +++ /dev/null @@ -1,44 +0,0 @@ -intent-catcher: - name: intent_catcher - display_name: Intent Catcher - container_name: intent-catcher - component_type: null - model_type: NN-based - is_customizable: true - author: DeepPavlov - description: classifies user utterances into a number of predefined intents which - are trained on a set of phrases and regexps - ram_usage: 1.7G - gpu_usage: 2.4G - port: 8014 - endpoints: - - group: annotators - endpoint: detect - build_args: - SERVICE_PORT: 8014 - CONFIG_NAME: intents_model_dp_config.json - INTENT_PHRASES_PATH: intent_phrases.json - SERVICE_NAME: intent_catcher - date_created: '2023-03-16T09:45:32' -intent-catcher-ru: - name: intent_catcher - display_name: Intent Catcher - container_name: intent-catcher-ru - component_type: null - model_type: NN-based - is_customizable: true - author: DeepPavlov - description: classifies user utterances into a number of predefined intents which - are trained on a set of phrases and regexps - ram_usage: 900M - gpu_usage: null - port: 8014 - endpoints: - - group: annotators - endpoint: detect - build_args: - SERVICE_PORT: 8014 - CONFIG_NAME: intents_model_dp_config_RU.json - INTENT_PHRASES_PATH: intent_phrases_RU.json - SERVICE_NAME: intent_catcher - date_created: '2023-03-16T09:45:32' diff --git a/annotators/IntentCatcherTransformers/pipeline.yml b/annotators/IntentCatcherTransformers/pipeline.yml deleted file mode 100644 index 74e9b6ac36..0000000000 --- a/annotators/IntentCatcherTransformers/pipeline.yml +++ /dev/null @@ -1,24 +0,0 @@ -intent-catcher: -- group: annotators - connector: - protocol: http - timeout: 1.0 - url: http://intent-catcher:8014/detect - dialog_formatter: state_formatters.dp_formatters:last_utt_sentseg_segments_dialog - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - annotators.spelling_preprocessing - - annotators.sentseg - state_manager_method: add_annotation -intent-catcher-ru: -- group: annotators - connector: - protocol: http - timeout: 1.0 - url: http://intent-catcher-ru:8014/detect - dialog_formatter: state_formatters.dp_formatters:last_utt_sentseg_segments_dialog - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - annotators.spelling_preprocessing - - annotators.sentseg - state_manager_method: add_annotation diff --git a/annotators/IntentCatcherTransformers/service_configs/intent-catcher-ru/environment.yml b/annotators/IntentCatcherTransformers/service_configs/intent-catcher-ru/environment.yml new file mode 100644 index 0000000000..6ed02bde38 --- /dev/null +++ b/annotators/IntentCatcherTransformers/service_configs/intent-catcher-ru/environment.yml @@ -0,0 +1,5 @@ +SERVICE_PORT: 8014 +CONFIG_NAME: intents_model_dp_config_RU.json +INTENT_PHRASES_PATH: intent_phrases_RU.json +FLASK_APP: server +CUDA_VISIBLE_DEVICES: '0' diff --git a/annotators/IntentCatcherTransformers/service_configs/intent-catcher-ru/service.yml b/annotators/IntentCatcherTransformers/service_configs/intent-catcher-ru/service.yml new file mode 100644 index 0000000000..b73a53ed47 --- /dev/null +++ b/annotators/IntentCatcherTransformers/service_configs/intent-catcher-ru/service.yml @@ -0,0 +1,32 @@ +name: intent-catcher-ru +endpoints: +- detect +compose: + env_file: + - .env_ru + build: + context: . + dockerfile: ./annotators/IntentCatcherTransformers/Dockerfile + args: + SERVICE_PORT: 8014 + CONFIG_NAME: intents_model_dp_config_RU.json + INTENT_PHRASES_PATH: intent_phrases_RU.json + FLASK_APP: server + CUDA_VISIBLE_DEVICES: '0' + command: python -m flask run -h 0.0.0.0 -p 8014 + environment: + - FLASK_APP=server + - CUDA_VISIBLE_DEVICES=0 + deploy: + resources: + limits: + memory: 3.5G + reservations: + memory: 3.5G + volumes: + - ./annotators/IntentCatcherTransformers:/src + - ./common:/src/common + - ~/.deeppavlov:/root/.deeppavlov + ports: + - 8014:8014 +proxy: null diff --git a/annotators/IntentCatcherTransformers/service_configs/intent-catcher/environment.yml b/annotators/IntentCatcherTransformers/service_configs/intent-catcher/environment.yml new file mode 100644 index 0000000000..923c55b544 --- /dev/null +++ b/annotators/IntentCatcherTransformers/service_configs/intent-catcher/environment.yml @@ -0,0 +1,5 @@ +SERVICE_PORT: 8014 +CONFIG_NAME: intents_model_dp_config.json +INTENT_PHRASES_PATH: intent_phrases.json +FLASK_APP: server +CUDA_VISIBLE_DEVICES: '0' diff --git a/annotators/IntentCatcherTransformers/service_configs/intent-catcher/service.yml b/annotators/IntentCatcherTransformers/service_configs/intent-catcher/service.yml new file mode 100644 index 0000000000..9b20683367 --- /dev/null +++ b/annotators/IntentCatcherTransformers/service_configs/intent-catcher/service.yml @@ -0,0 +1,43 @@ +name: intent-catcher +endpoints: +- detect +compose: + env_file: + - .env + build: + context: . + dockerfile: ./annotators/IntentCatcherTransformers/Dockerfile + args: + SERVICE_PORT: 8014 + CONFIG_NAME: intents_model_dp_config.json + INTENT_PHRASES_PATH: intent_phrases.json + FLASK_APP: server + CUDA_VISIBLE_DEVICES: '0' + command: python -m flask run -h 0.0.0.0 -p 8014 + environment: + - FLASK_APP=server + - CUDA_VISIBLE_DEVICES=0 + deploy: + resources: + limits: + memory: 3.5G + reservations: + memory: 3.5G + volumes: + - ./annotators/IntentCatcherTransformers:/src + - ./common:/src/common + - ~/.deeppavlov:/root/.deeppavlov + - ~/.deeppavlov/cache:/root/.cache + ports: + - 8014:8014 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8014 + - PORT=8014 diff --git a/annotators/MultilingualSentimentClassification/component.yml b/annotators/MultilingualSentimentClassification/component.yml deleted file mode 100644 index a000f05ae0..0000000000 --- a/annotators/MultilingualSentimentClassification/component.yml +++ /dev/null @@ -1,22 +0,0 @@ -sentiment-classification-multilingual: - name: sentiment_classification - display_name: Sentiment Classification - container_name: sentiment-classification-multilingual - component_type: null - model_type: NN-based - is_customizable: false - author: DeepPavlov - description: classifies sentiment to positive, negative and neutral classes - ram_usage: 2G - gpu_usage: 2G - port: 8024 - endpoints: - - group: annotators - endpoint: respond - - group: candidate_annotators - endpoint: respond_batch - build_args: - SERVICE_PORT: 8024 - SERVICE_NAME: sentiment_classification - PRETRAINED_MODEL_NAME_OR_PATH: cardiffnlp/twitter-xlm-roberta-base-sentiment - date_created: '2023-03-16T09:45:32' diff --git a/annotators/MultilingualSentimentClassification/pipeline.yml b/annotators/MultilingualSentimentClassification/pipeline.yml deleted file mode 100644 index 0d27387429..0000000000 --- a/annotators/MultilingualSentimentClassification/pipeline.yml +++ /dev/null @@ -1,19 +0,0 @@ -sentiment-classification-multilingual: -- group: annotators - connector: - protocol: http - timeout: 2.0 - url: http://sentiment-classification-multilingual:8024/respond - dialog_formatter: state_formatters.dp_formatters:preproc_last_human_utt_dialog - response_formatter: state_formatters.dp_formatters:simple_formatter_service - state_manager_method: add_annotation -- group: candidate_annotators - connector: - protocol: http - timeout: 2.0 - url: http://sentiment-classification-multilingual:8024/respond_batch - dialog_formatter: state_formatters.dp_formatters:hypotheses_list - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - skills - state_manager_method: add_hypothesis_annotation_batch diff --git a/annotators/MultilingualSentimentClassification/service_configs/sentiment-classification-multilingual/environment.yml b/annotators/MultilingualSentimentClassification/service_configs/sentiment-classification-multilingual/environment.yml new file mode 100644 index 0000000000..327acf332c --- /dev/null +++ b/annotators/MultilingualSentimentClassification/service_configs/sentiment-classification-multilingual/environment.yml @@ -0,0 +1,5 @@ +SERVICE_PORT: 8024 +SERVICE_NAME: sentiment_classification +PRETRAINED_MODEL_NAME_OR_PATH: cardiffnlp/twitter-xlm-roberta-base-sentiment +CUDA_VISIBLE_DEVICES: '0' +FLASK_APP: server diff --git a/annotators/MultilingualSentimentClassification/service_configs/sentiment-classification-multilingual/service.yml b/annotators/MultilingualSentimentClassification/service_configs/sentiment-classification-multilingual/service.yml new file mode 100644 index 0000000000..ad9c347563 --- /dev/null +++ b/annotators/MultilingualSentimentClassification/service_configs/sentiment-classification-multilingual/service.yml @@ -0,0 +1,31 @@ +name: sentiment-classification-multilingual +endpoints: +- respond +- respond_batch +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8024 + SERVICE_NAME: sentiment_classification + PRETRAINED_MODEL_NAME_OR_PATH: cardiffnlp/twitter-xlm-roberta-base-sentiment + CUDA_VISIBLE_DEVICES: '0' + FLASK_APP: server + context: ./annotators/MultilingualSentimentClassification/ + command: flask run -h 0.0.0.0 -p 8024 + environment: + - CUDA_VISIBLE_DEVICES=0 + - FLASK_APP=server + deploy: + resources: + limits: + memory: 3.5G + reservations: + memory: 3.5G + volumes: + - ./annotators/MultilingualSentimentClassification:/src + - ~/.deeppavlov/cache:/root/.cache + ports: + - 8024:8024 +proxy: null diff --git a/annotators/MultilingualToxicClassification/component.yml b/annotators/MultilingualToxicClassification/component.yml deleted file mode 100644 index 54caec0678..0000000000 --- a/annotators/MultilingualToxicClassification/component.yml +++ /dev/null @@ -1,23 +0,0 @@ -toxic-classification-multilingual: - name: toxic_classification - display_name: Toxic Classification - container_name: toxic-classification-multilingual - component_type: null - model_type: NN-based - is_customizable: false - author: DeepPavlov - description: 'classifies toxicity: identity_attack, insult, obscene, severe_toxicity, - sexual_explicit, threat, toxicity' - ram_usage: 3G - gpu_usage: 2G - port: 8013 - endpoints: - - group: annotators - endpoint: respond - - group: candidate_annotators - endpoint: respond_batch - build_args: - SERVICE_PORT: 8013 - SERVICE_NAME: toxic_classification - PRETRAINED_MODEL_NAME_OR_PATH: https://github.com/unitaryai/detoxify/releases/download/v0.4-alpha/multilingual_debiased-0b549669.ckpt - date_created: '2023-03-16T09:45:32' diff --git a/annotators/MultilingualToxicClassification/pipeline.yml b/annotators/MultilingualToxicClassification/pipeline.yml deleted file mode 100644 index f0d3d04321..0000000000 --- a/annotators/MultilingualToxicClassification/pipeline.yml +++ /dev/null @@ -1,19 +0,0 @@ -toxic-classification-multilingual: -- group: annotators - connector: - protocol: http - timeout: 2.0 - url: http://toxic-classification-multilingual:8013/respond - dialog_formatter: state_formatters.dp_formatters:preproc_last_human_utt_dialog - response_formatter: state_formatters.dp_formatters:simple_formatter_service - state_manager_method: add_annotation -- group: candidate_annotators - connector: - protocol: http - timeout: 2.0 - url: http://toxic-classification-multilingual:8013/respond_batch - dialog_formatter: state_formatters.dp_formatters:hypotheses_list - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - skills - state_manager_method: add_hypothesis_annotation_batch diff --git a/annotators/MultilingualToxicClassification/service_configs/toxic-classification-multilingual/environment.yml b/annotators/MultilingualToxicClassification/service_configs/toxic-classification-multilingual/environment.yml new file mode 100644 index 0000000000..ff3e9b1da6 --- /dev/null +++ b/annotators/MultilingualToxicClassification/service_configs/toxic-classification-multilingual/environment.yml @@ -0,0 +1,5 @@ +SERVICE_PORT: 8013 +SERVICE_NAME: toxic_classification +PRETRAINED_MODEL_NAME_OR_PATH: https://github.com/unitaryai/detoxify/releases/download/v0.4-alpha/multilingual_debiased-0b549669.ckpt +CUDA_VISIBLE_DEVICES: '0' +FLASK_APP: server diff --git a/annotators/MultilingualToxicClassification/service_configs/toxic-classification-multilingual/service.yml b/annotators/MultilingualToxicClassification/service_configs/toxic-classification-multilingual/service.yml new file mode 100644 index 0000000000..8b0cff4baa --- /dev/null +++ b/annotators/MultilingualToxicClassification/service_configs/toxic-classification-multilingual/service.yml @@ -0,0 +1,31 @@ +name: toxic-classification-multilingual +endpoints: +- respond +- respond_batch +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8013 + SERVICE_NAME: toxic_classification + PRETRAINED_MODEL_NAME_OR_PATH: https://github.com/unitaryai/detoxify/releases/download/v0.4-alpha/multilingual_debiased-0b549669.ckpt + CUDA_VISIBLE_DEVICES: '0' + FLASK_APP: server + context: ./annotators/MultilingualToxicClassification/ + command: flask run -h 0.0.0.0 -p 8013 + environment: + - CUDA_VISIBLE_DEVICES=0 + - FLASK_APP=server + deploy: + resources: + limits: + memory: 3.5G + reservations: + memory: 3.5G + volumes: + - ./annotators/MultilingualToxicClassification:/src + - ~/.deeppavlov/cache:/root/.cache + ports: + - 8013:8013 +proxy: null diff --git a/annotators/NER_deeppavlov/component.yml b/annotators/NER_deeppavlov/component.yml deleted file mode 100644 index 4cd4bcc3cd..0000000000 --- a/annotators/NER_deeppavlov/component.yml +++ /dev/null @@ -1,50 +0,0 @@ -ner: - name: ner - display_name: NER - container_name: ner - component_type: null - model_type: NN-based - is_customizable: false - author: DeepPavlov - description: extracts person names, names of locations, organizations from uncased - text - ram_usage: 2.2G - gpu_usage: 5G - port: 8021 - endpoints: - - group: annotators - endpoint: ner - - group: response_annotators - endpoint: ner - build_args: - CONFIG: ner_case_agnostic_multilingual_bert_base_extended.json - SERVICE_PORT: 8021 - SRC_DIR: annotators/NER_deeppavlov - COMMIT: f5117cd9ad1e64f6c2d970ecaa42fc09ccb23144 - SERVICE_NAME: ner - date_created: '2023-03-16T09:45:32' -ner-ru: - name: ner - display_name: NER - container_name: ner-ru - component_type: null - model_type: NN-based - is_customizable: false - author: DeepPavlov - description: extracts person names, names of locations, organizations from uncased - text using ruBert-based (pyTorch) model - ram_usage: 1.7G - gpu_usage: 4.9G - port: 8021 - endpoints: - - group: annotators - endpoint: ner - - group: response_annotators - endpoint: ner - build_args: - CONFIG: ner_case_agnostic_multilingual_bert_base_extended.json - SERVICE_PORT: 8021 - SRC_DIR: annotators/NER_deeppavlov - COMMIT: f5117cd9ad1e64f6c2d970ecaa42fc09ccb23144 - SERVICE_NAME: ner - date_created: '2023-03-16T09:45:32' diff --git a/annotators/NER_deeppavlov/pipeline.yml b/annotators/NER_deeppavlov/pipeline.yml deleted file mode 100644 index ae400dc008..0000000000 --- a/annotators/NER_deeppavlov/pipeline.yml +++ /dev/null @@ -1,46 +0,0 @@ -ner: -- group: annotators - connector: - protocol: http - timeout: 1.5 - url: http://ner:8021/ner - dialog_formatter: state_formatters.dp_formatters:ner_formatter_dialog - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - annotators.spelling_preprocessing - - annotators.sentseg - state_manager_method: add_annotation -- group: response_annotators - connector: - protocol: http - timeout: 1.5 - url: http://ner:8021/ner - dialog_formatter: state_formatters.dp_formatters:ner_formatter_last_bot_dialog - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - response_annotator_selectors - - response_annotators.sentseg - state_manager_method: add_annotation_prev_bot_utt -ner-ru: -- group: annotators - connector: - protocol: http - timeout: 1.5 - url: http://ner-ru:8021/ner - dialog_formatter: state_formatters.dp_formatters:ner_formatter_dialog - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - annotators.spelling_preprocessing - - annotators.sentseg - state_manager_method: add_annotation -- group: response_annotators - connector: - protocol: http - timeout: 1.5 - url: http://ner-ru:8021/ner - dialog_formatter: state_formatters.dp_formatters:ner_formatter_last_bot_dialog - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - response_annotator_selectors - - response_annotators.sentseg - state_manager_method: add_annotation_prev_bot_utt diff --git a/annotators/NER_deeppavlov/service_configs/ner-ru/environment.yml b/annotators/NER_deeppavlov/service_configs/ner-ru/environment.yml new file mode 100644 index 0000000000..c4e37104ce --- /dev/null +++ b/annotators/NER_deeppavlov/service_configs/ner-ru/environment.yml @@ -0,0 +1,6 @@ +CONFIG: ner_case_agnostic_multilingual_bert_base_extended.json +SERVICE_PORT: 8021 +SRC_DIR: annotators/NER_deeppavlov +COMMIT: f5117cd9ad1e64f6c2d970ecaa42fc09ccb23144 +FLASK_APP: server +CUDA_VISIBLE_DEVICES: '0' diff --git a/annotators/NER_deeppavlov/service_configs/ner-ru/service.yml b/annotators/NER_deeppavlov/service_configs/ner-ru/service.yml new file mode 100644 index 0000000000..9a5fcd5c9b --- /dev/null +++ b/annotators/NER_deeppavlov/service_configs/ner-ru/service.yml @@ -0,0 +1,33 @@ +name: ner-ru +endpoints: +- ner +compose: + env_file: + - .env_ru + build: + args: + CONFIG: ner_case_agnostic_multilingual_bert_base_extended.json + SERVICE_PORT: 8021 + SRC_DIR: annotators/NER_deeppavlov + COMMIT: f5117cd9ad1e64f6c2d970ecaa42fc09ccb23144 + FLASK_APP: server + CUDA_VISIBLE_DEVICES: '0' + context: ./ + dockerfile: annotators/NER_deeppavlov/Dockerfile + command: flask run -h 0.0.0.0 -p 8021 + environment: + - FLASK_APP=server + - CUDA_VISIBLE_DEVICES=0 + tty: true + deploy: + resources: + limits: + memory: 2G + reservations: + memory: 2G + volumes: + - ./annotators/NER_deeppavlov:/src + - ~/.deeppavlov:/root/.deeppavlov + ports: + - 8021:8021 +proxy: null diff --git a/annotators/NER_deeppavlov/service_configs/ner/environment.yml b/annotators/NER_deeppavlov/service_configs/ner/environment.yml new file mode 100644 index 0000000000..c4e37104ce --- /dev/null +++ b/annotators/NER_deeppavlov/service_configs/ner/environment.yml @@ -0,0 +1,6 @@ +CONFIG: ner_case_agnostic_multilingual_bert_base_extended.json +SERVICE_PORT: 8021 +SRC_DIR: annotators/NER_deeppavlov +COMMIT: f5117cd9ad1e64f6c2d970ecaa42fc09ccb23144 +FLASK_APP: server +CUDA_VISIBLE_DEVICES: '0' diff --git a/annotators/NER_deeppavlov/service_configs/ner/service.yml b/annotators/NER_deeppavlov/service_configs/ner/service.yml new file mode 100644 index 0000000000..9551bf5390 --- /dev/null +++ b/annotators/NER_deeppavlov/service_configs/ner/service.yml @@ -0,0 +1,43 @@ +name: ner +endpoints: +- ner +compose: + env_file: + - .env + build: + args: + CONFIG: ner_case_agnostic_multilingual_bert_base_extended.json + SERVICE_PORT: 8021 + SRC_DIR: annotators/NER_deeppavlov + COMMIT: f5117cd9ad1e64f6c2d970ecaa42fc09ccb23144 + FLASK_APP: server + CUDA_VISIBLE_DEVICES: '0' + context: ./ + dockerfile: annotators/NER_deeppavlov/Dockerfile + command: flask run -h 0.0.0.0 -p 8021 + environment: + - FLASK_APP=server + - CUDA_VISIBLE_DEVICES=0 + tty: true + deploy: + resources: + limits: + memory: 2G + reservations: + memory: 2G + volumes: + - ./annotators/NER_deeppavlov:/src + - ~/.deeppavlov:/root/.deeppavlov + ports: + - 8021:8021 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8021 + - PORT=8021 diff --git a/annotators/SentRewrite/component.yml b/annotators/SentRewrite/component.yml deleted file mode 100644 index bd3185ae4d..0000000000 --- a/annotators/SentRewrite/component.yml +++ /dev/null @@ -1,22 +0,0 @@ -sentrewrite: - name: sentrewrite - display_name: CorefResolution & SentRewriting - container_name: sentrewrite - component_type: null - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: rewrites user's utterances by replacing pronouns with specific names - that provide more useful information to downstream components - ram_usage: 200M - gpu_usage: null - port: 8017 - endpoints: - - group: annotators - endpoint: sentrewrite - - group: response_annotators - endpoint: sentrewrite - build_args: - SERVICE_PORT: '8017' - SERVICE_NAME: sentrewrite - date_created: '2023-03-16T09:45:32' diff --git a/annotators/SentRewrite/pipeline.yml b/annotators/SentRewrite/pipeline.yml deleted file mode 100644 index aef52f5d0e..0000000000 --- a/annotators/SentRewrite/pipeline.yml +++ /dev/null @@ -1,26 +0,0 @@ -sentrewrite: -- group: annotators - connector: - protocol: http - timeout: 1.0 - url: http://sentrewrite:8017/sentrewrite - dialog_formatter: state_formatters.dp_formatters:sent_rewrite_formatter_dialog - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - annotators.spelling_preprocessing - - annotators.sentseg - - annotators.ner - - response_annotators.ner - state_manager_method: add_annotation -- group: response_annotators - connector: - protocol: http - timeout: 1.0 - url: http://sentrewrite:8017/sentrewrite - dialog_formatter: state_formatters.dp_formatters:sent_rewrite_formatter_w_o_last_dialog - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - response_annotator_selectors - - response_annotators.sentseg - - response_annotators.ner - state_manager_method: add_annotation_prev_bot_utt diff --git a/annotators/SentRewrite/service_configs/sentrewrite/environment.yml b/annotators/SentRewrite/service_configs/sentrewrite/environment.yml new file mode 100644 index 0000000000..904b25d807 --- /dev/null +++ b/annotators/SentRewrite/service_configs/sentrewrite/environment.yml @@ -0,0 +1 @@ +FLASK_APP: server diff --git a/annotators/SentRewrite/service_configs/sentrewrite/service.yml b/annotators/SentRewrite/service_configs/sentrewrite/service.yml new file mode 100644 index 0000000000..b2c91e0aa8 --- /dev/null +++ b/annotators/SentRewrite/service_configs/sentrewrite/service.yml @@ -0,0 +1,32 @@ +name: sentrewrite +endpoints: +- sentrewrite +compose: + env_file: + - .env + build: + context: ./annotators/SentRewrite/ + command: flask run -h 0.0.0.0 -p 8017 + environment: + - FLASK_APP=server + deploy: + resources: + limits: + memory: 512M + reservations: + memory: 512M + volumes: + - ./annotators/SentRewrite:/src + ports: + - 8017:8017 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8017 + - PORT=8017 diff --git a/annotators/SentSeg/component.yml b/annotators/SentSeg/component.yml deleted file mode 100644 index 2bfe817683..0000000000 --- a/annotators/SentSeg/component.yml +++ /dev/null @@ -1,22 +0,0 @@ -sentseg: - name: sentseg - display_name: Sentence Segmentation - container_name: sentseg - component_type: null - model_type: NN-based - is_customizable: false - author: DeepPavlov - description: allows us to handle long and complex user's utterances by splitting - them into sentences and recovering punctuation - ram_usage: 1G - gpu_usage: null - port: 8011 - endpoints: - - group: annotators - endpoint: sentseg - - group: response_annotators - endpoint: sentseg - build_args: - SERVICE_PORT: '8011' - SERVICE_NAME: sentseg - date_created: '2023-03-16T09:45:32' diff --git a/annotators/SentSeg/pipeline.yml b/annotators/SentSeg/pipeline.yml deleted file mode 100644 index dc97a7af75..0000000000 --- a/annotators/SentSeg/pipeline.yml +++ /dev/null @@ -1,21 +0,0 @@ -sentseg: -- group: response_annotators - connector: - protocol: http - timeout: 1.5 - url: http://sentseg:8011/sentseg - dialog_formatter: state_formatters.dp_formatters:last_bot_utt_dialog - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - response_annotator_selectors - state_manager_method: add_annotation_prev_bot_utt -- group: annotators - connector: - protocol: http - timeout: 1.5 - url: http://sentseg:8011/sentseg - dialog_formatter: state_formatters.dp_formatters:preproc_last_human_utt_dialog - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - annotators.spelling_preprocessing - state_manager_method: add_annotation diff --git a/annotators/SentSeg/service_configs/sentseg/environment.yml b/annotators/SentSeg/service_configs/sentseg/environment.yml new file mode 100644 index 0000000000..904b25d807 --- /dev/null +++ b/annotators/SentSeg/service_configs/sentseg/environment.yml @@ -0,0 +1 @@ +FLASK_APP: server diff --git a/annotators/SentSeg/service_configs/sentseg/service.yml b/annotators/SentSeg/service_configs/sentseg/service.yml new file mode 100644 index 0000000000..14efad31cb --- /dev/null +++ b/annotators/SentSeg/service_configs/sentseg/service.yml @@ -0,0 +1,32 @@ +name: sentseg +endpoints: +- sentseg +compose: + env_file: + - .env + build: + context: ./annotators/SentSeg/ + command: flask run -h 0.0.0.0 -p 8011 + environment: + - FLASK_APP=server + deploy: + resources: + limits: + memory: 1.5G + reservations: + memory: 1.5G + volumes: + - ./annotators/SentSeg:/src + ports: + - 8011:8011 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8011 + - PORT=8011 diff --git a/annotators/asr/component.yml b/annotators/asr/component.yml deleted file mode 100644 index be8109adcc..0000000000 --- a/annotators/asr/component.yml +++ /dev/null @@ -1,20 +0,0 @@ -asr: - name: asr - display_name: ASR - container_name: asr - component_type: null - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: calculates overall ASR confidence for a given utterance and grades - it as either _very low_, _low_, _medium_, or _high_ (for Amazon markup) - ram_usage: 100M - gpu_usage: null - port: 8031 - endpoints: - - group: annotators - endpoint: asr_check - build_args: - SERVICE_PORT: '8031' - SERVICE_NAME: asr - date_created: '2023-03-16T09:45:32' diff --git a/annotators/asr/pipeline.yml b/annotators/asr/pipeline.yml deleted file mode 100644 index 7d198dca21..0000000000 --- a/annotators/asr/pipeline.yml +++ /dev/null @@ -1,9 +0,0 @@ -asr: -- group: annotators - connector: - protocol: http - timeout: 1.0 - url: http://asr:8031/asr_check - dialog_formatter: state_formatters.dp_formatters:asr_formatter_dialog - response_formatter: state_formatters.dp_formatters:simple_formatter_service - state_manager_method: add_annotation diff --git a/annotators/asr/service_configs/asr/environment.yml b/annotators/asr/service_configs/asr/environment.yml new file mode 100644 index 0000000000..904b25d807 --- /dev/null +++ b/annotators/asr/service_configs/asr/environment.yml @@ -0,0 +1 @@ +FLASK_APP: server diff --git a/annotators/asr/service_configs/asr/service.yml b/annotators/asr/service_configs/asr/service.yml new file mode 100644 index 0000000000..34efcdb6ff --- /dev/null +++ b/annotators/asr/service_configs/asr/service.yml @@ -0,0 +1,34 @@ +name: asr +endpoints: +- asr_check +compose: + env_file: + - .env + build: + context: . + dockerfile: ./annotators/asr/Dockerfile + command: flask run -h 0.0.0.0 -p 8031 + environment: + - FLASK_APP=server + deploy: + resources: + limits: + memory: 100M + reservations: + memory: 100M + volumes: + - ./annotators/asr:/src + - ./common:/src/common + ports: + - 8031:8031 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8031 + - PORT=8031 diff --git a/annotators/combined_classification/component.yml b/annotators/combined_classification/component.yml deleted file mode 100644 index 8c6fa08494..0000000000 --- a/annotators/combined_classification/component.yml +++ /dev/null @@ -1,23 +0,0 @@ -combined-classification: - name: combined_classification - display_name: Combined Classification - container_name: combined-classification - component_type: null - model_type: NN-based - is_customizable: false - author: DeepPavlov - description: BERT-based model including topic classification, dialog acts classification, - sentiment, toxicity, emotion, factoid classification - ram_usage: 1.5G - gpu_usage: 3.5G - port: 8087 - endpoints: - - group: annotators - endpoint: model - - group: candidate_annotators - endpoint: batch_model - build_args: - CONFIG: combined_classifier.json - SERVICE_PORT: 8087 - SERVICE_NAME: combined_classification - date_created: '2023-03-16T09:45:32' diff --git a/annotators/combined_classification/pipeline.yml b/annotators/combined_classification/pipeline.yml deleted file mode 100644 index f535f989bb..0000000000 --- a/annotators/combined_classification/pipeline.yml +++ /dev/null @@ -1,21 +0,0 @@ -combined-classification: -- group: candidate_annotators - connector: - protocol: http - timeout: 2.0 - url: http://combined-classification:8087/batch_model - dialog_formatter: state_formatters.dp_formatters:hypothesis_histories_list - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - skills - state_manager_method: add_hypothesis_annotation_batch -- group: annotators - connector: - protocol: http - timeout: 2.0 - url: http://combined-classification:8087/model - dialog_formatter: state_formatters.dp_formatters:preproc_last_human_utt_dialog_w_hist - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - annotators.spelling_preprocessing - state_manager_method: add_annotation diff --git a/annotators/combined_classification/service_configs/combined-classification/environment.yml b/annotators/combined_classification/service_configs/combined-classification/environment.yml new file mode 100644 index 0000000000..1441492da2 --- /dev/null +++ b/annotators/combined_classification/service_configs/combined-classification/environment.yml @@ -0,0 +1,4 @@ +SERVICE_PORT: 8087 +SERVICE_NAME: combined_classification +CONFIG: combined_classifier.json +CUDA_VISIBLE_DEVICES: '0' diff --git a/annotators/combined_classification/service_configs/combined-classification/service.yml b/annotators/combined_classification/service_configs/combined-classification/service.yml new file mode 100644 index 0000000000..ab8b654f0a --- /dev/null +++ b/annotators/combined_classification/service_configs/combined-classification/service.yml @@ -0,0 +1,41 @@ +name: combined-classification +endpoints: +- model +- batch_model +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8087 + SERVICE_NAME: combined_classification + CONFIG: combined_classifier.json + CUDA_VISIBLE_DEVICES: '0' + context: . + dockerfile: ./annotators/combined_classification/Dockerfile + environment: + - CUDA_VISIBLE_DEVICES=0 + deploy: + resources: + limits: + memory: 2G + reservations: + memory: 2G + volumes: + - ./common:/src/common + - ./annotators/combined_classification:/src + - ~/.deeppavlov:/root/.deeppavlov + - ~/.deeppavlov/cache:/root/.cache + ports: + - 8087:8087 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8087 + - PORT=8087 diff --git a/annotators/emotion_classification_deepy/component.yml b/annotators/emotion_classification_deepy/component.yml deleted file mode 100644 index 93a8c03870..0000000000 --- a/annotators/emotion_classification_deepy/component.yml +++ /dev/null @@ -1,19 +0,0 @@ -emotion-classification-deepy: - name: emotion_classification - display_name: Emotion Classification - container_name: emotion-classification-deepy - component_type: null - model_type: ML-based - is_customizable: false - author: DeepPavlov - description: emotion classification annotator - ram_usage: 2.5G - gpu_usage: null - port: 8015 - endpoints: - - group: response_annotators - endpoint: model - build_args: - SERVICE_PORT: '8015' - SERVICE_NAME: emotion_classification - date_created: '2023-03-16T09:45:32' diff --git a/annotators/emotion_classification_deepy/pipeline.yml b/annotators/emotion_classification_deepy/pipeline.yml deleted file mode 100644 index 4c3b884236..0000000000 --- a/annotators/emotion_classification_deepy/pipeline.yml +++ /dev/null @@ -1,11 +0,0 @@ -emotion-classification-deepy: -- group: response_annotators - connector: - protocol: python - url: http://emotion-classification-deepy:8015/model - class_name: assistant_dists.deepy_faq.connectors:BatchConnector - dialog_formatter: state_formatters.dp_formatters:hypotheses_list - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - skills - state_manager_method: add_hypothesis_annotation_batch diff --git a/annotators/emotion_classification_deepy/service_configs/emotion-classification-deepy/environment.yml b/annotators/emotion_classification_deepy/service_configs/emotion-classification-deepy/environment.yml new file mode 100644 index 0000000000..e69de29bb2 diff --git a/annotators/emotion_classification_deepy/service_configs/emotion-classification-deepy/service.yml b/annotators/emotion_classification_deepy/service_configs/emotion-classification-deepy/service.yml new file mode 100644 index 0000000000..2b985d5a48 --- /dev/null +++ b/annotators/emotion_classification_deepy/service_configs/emotion-classification-deepy/service.yml @@ -0,0 +1,10 @@ +name: emotion-classification-deepy +endpoints: +- model +compose: + build: + context: annotators/emotion_classification_deepy + command: python -m deeppavlov riseapi emo_bert.json -p 8015 + ports: + - 8015:8015 +proxy: null diff --git a/annotators/entity_detection/component.yml b/annotators/entity_detection/component.yml deleted file mode 100644 index 4846313548..0000000000 --- a/annotators/entity_detection/component.yml +++ /dev/null @@ -1,26 +0,0 @@ -entity-detection: - name: entity_detection - display_name: Entity Detection - container_name: entity-detection - component_type: null - model_type: NN-based - is_customizable: false - author: DeepPavlov - description: extracts entities and their types from utterances - ram_usage: 1.5G - gpu_usage: 3.2G - port: 8103 - endpoints: - - group: annotators - endpoint: respond - - group: candidate_annotators - endpoint: respond_batch - build_args: - SERVICE_NAME: entity_detection - SEQ_TAG_CONFIG: wikipedia_entity_detection_distilbert.json - CONFIG: entity_detection_eng.json - LOWERCASE: 1 - SERVICE_PORT: 8103 - SRC_DIR: annotators/entity_detection/ - FINEGRAINED: 0 - date_created: '2023-03-16T09:45:32' diff --git a/annotators/entity_detection/pipeline.yml b/annotators/entity_detection/pipeline.yml deleted file mode 100644 index a9e342e25a..0000000000 --- a/annotators/entity_detection/pipeline.yml +++ /dev/null @@ -1,22 +0,0 @@ -entity-detection: -- group: annotators - connector: - protocol: http - timeout: 1.0 - url: http://entity-detection:8103/respond - dialog_formatter: state_formatters.dp_formatters:entity_detection_formatter_dialog - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - annotators.spelling_preprocessing - - annotators.sentseg - state_manager_method: add_annotation -- group: candidate_annotators - connector: - protocol: http - timeout: 1.0 - url: http://entity-detection:8103/respond_batch - dialog_formatter: state_formatters.dp_formatters:hypotheses_list - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - skills - state_manager_method: add_hypothesis_annotation_batch diff --git a/annotators/entity_detection/service_configs/entity-detection/environment.yml b/annotators/entity_detection/service_configs/entity-detection/environment.yml new file mode 100644 index 0000000000..a268503015 --- /dev/null +++ b/annotators/entity_detection/service_configs/entity-detection/environment.yml @@ -0,0 +1,9 @@ +SERVICE_NAME: entity_detection +SEQ_TAG_CONFIG: wikipedia_entity_detection_distilbert.json +CONFIG: entity_detection_eng.json +LOWERCASE: 1 +SERVICE_PORT: 8103 +SRC_DIR: annotators/entity_detection/ +FINEGRAINED: 0 +FLASK_APP: server +CUDA_VISIBLE_DEVICES: '0' diff --git a/annotators/entity_detection/service_configs/entity-detection/service.yml b/annotators/entity_detection/service_configs/entity-detection/service.yml new file mode 100644 index 0000000000..9d0cb7020a --- /dev/null +++ b/annotators/entity_detection/service_configs/entity-detection/service.yml @@ -0,0 +1,47 @@ +name: entity-detection +endpoints: +- respond +- respond_batch +compose: + env_file: + - .env + build: + args: + SERVICE_NAME: entity_detection + SEQ_TAG_CONFIG: wikipedia_entity_detection_distilbert.json + CONFIG: entity_detection_eng.json + LOWERCASE: 1 + SERVICE_PORT: 8103 + SRC_DIR: annotators/entity_detection/ + FINEGRAINED: 0 + FLASK_APP: server + CUDA_VISIBLE_DEVICES: '0' + context: ./ + dockerfile: annotators/entity_detection/Dockerfile + command: flask run -h 0.0.0.0 -p 8103 + environment: + - FLASK_APP=server + - CUDA_VISIBLE_DEVICES=0 + deploy: + resources: + limits: + memory: 2.5G + reservations: + memory: 2.5G + volumes: + - ./annotators/entity_detection:/src + - ~/.deeppavlov:/root/.deeppavlov + - ~/.deeppavlov/cache:/root/.cache + ports: + - 8103:8103 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8103 + - PORT=8103 diff --git a/annotators/entity_detection_rus/component.yml b/annotators/entity_detection_rus/component.yml deleted file mode 100644 index 61b10658d0..0000000000 --- a/annotators/entity_detection_rus/component.yml +++ /dev/null @@ -1,24 +0,0 @@ -entity-detection-ru: - name: entity_detection - display_name: Entity Detection - container_name: entity-detection-ru - component_type: null - model_type: NN-based - is_customizable: false - author: DeepPavlov - description: extracts entities and their types from utterances - ram_usage: 5.5G - gpu_usage: null - port: 8103 - endpoints: - - group: annotators - endpoint: respond - - group: candidate_annotators - endpoint: respond_batch - build_args: - CONFIG: entity_detection_rus.json - SERVICE_PORT: 8103 - SRC_DIR: annotators/entity_detection_rus - LANGUAGE: RU - SERVICE_NAME: entity_detection - date_created: '2023-03-16T09:45:32' diff --git a/annotators/entity_detection_rus/pipeline.yml b/annotators/entity_detection_rus/pipeline.yml deleted file mode 100644 index 22a6041236..0000000000 --- a/annotators/entity_detection_rus/pipeline.yml +++ /dev/null @@ -1,12 +0,0 @@ -entity-detection-ru: -- group: annotators - connector: - protocol: http - timeout: 1.0 - url: http://entity-detection-ru:8103/respond - dialog_formatter: state_formatters.dp_formatters:entity_detection_formatter_dialog - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - annotators.spelling_preprocessing - - annotators.sentseg - state_manager_method: add_annotation diff --git a/annotators/entity_detection_rus/service_configs/entity-detection-ru/environment.yml b/annotators/entity_detection_rus/service_configs/entity-detection-ru/environment.yml new file mode 100644 index 0000000000..9567023834 --- /dev/null +++ b/annotators/entity_detection_rus/service_configs/entity-detection-ru/environment.yml @@ -0,0 +1,5 @@ +CONFIG: entity_detection_rus.json +SERVICE_PORT: 8103 +SRC_DIR: annotators/entity_detection_rus +LANGUAGE: RU +FLASK_APP: server diff --git a/annotators/entity_detection_rus/service_configs/entity-detection-ru/service.yml b/annotators/entity_detection_rus/service_configs/entity-detection-ru/service.yml new file mode 100644 index 0000000000..97320bb850 --- /dev/null +++ b/annotators/entity_detection_rus/service_configs/entity-detection-ru/service.yml @@ -0,0 +1,32 @@ +name: entity-detection-ru +endpoints: +- respond +- respond_batch +compose: + env_file: + - .env_ru + build: + args: + CONFIG: entity_detection_rus.json + SERVICE_PORT: 8103 + SRC_DIR: annotators/entity_detection_rus + LANGUAGE: RU + FLASK_APP: server + context: ./ + dockerfile: annotators/entity_detection_rus/Dockerfile + command: flask run -h 0.0.0.0 -p 8103 + environment: + - FLASK_APP=server + tty: true + deploy: + resources: + limits: + memory: 3.5G + reservations: + memory: 3.5G + volumes: + - ./annotators/entity_detection_rus:/src + - ~/.deeppavlov:/root/.deeppavlov + ports: + - 8103:8103 +proxy: null diff --git a/annotators/entity_linking/component.yml b/annotators/entity_linking/component.yml deleted file mode 100644 index 7a88c4951e..0000000000 --- a/annotators/entity_linking/component.yml +++ /dev/null @@ -1,23 +0,0 @@ -entity-linking: - name: entity_linking - display_name: Entity Linking - container_name: entity-linking - component_type: null - model_type: NN-based - is_customizable: false - author: DeepPavlov - description: finds Wikidata entity ids for the entities detected with Entity Detection - ram_usage: 2.5G - gpu_usage: 1.3G - port: 8075 - endpoints: - - group: annotators - endpoint: model - - group: services - endpoint: model - build_args: - SERVICE_PORT: 8075 - SERVICE_NAME: entity_linking - CONFIG: entity_linking_eng.json - SRC_DIR: annotators/entity_linking - date_created: '2023-03-16T09:45:32' diff --git a/annotators/entity_linking/pipeline.yml b/annotators/entity_linking/pipeline.yml deleted file mode 100644 index ac40ae7c22..0000000000 --- a/annotators/entity_linking/pipeline.yml +++ /dev/null @@ -1,13 +0,0 @@ -entity-linking: -- group: annotators - connector: - protocol: http - timeout: 1.0 - url: http://entity-linking:8075/model - dialog_formatter: state_formatters.dp_formatters:el_formatter_dialog - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - annotators.ner - - annotators.entity_detection - - annotators.spacy_nounphrases - state_manager_method: add_annotation diff --git a/annotators/entity_linking/service_configs/entity-linking/environment.yml b/annotators/entity_linking/service_configs/entity-linking/environment.yml new file mode 100644 index 0000000000..4d77abed8b --- /dev/null +++ b/annotators/entity_linking/service_configs/entity-linking/environment.yml @@ -0,0 +1,5 @@ +SERVICE_PORT: 8075 +SERVICE_NAME: entity_linking +CONFIG: entity_linking_eng.json +SRC_DIR: annotators/entity_linking +CUDA_VISIBLE_DEVICES: '0' diff --git a/annotators/entity_linking/service_configs/entity-linking/service.yml b/annotators/entity_linking/service_configs/entity-linking/service.yml new file mode 100644 index 0000000000..b4ba58c27e --- /dev/null +++ b/annotators/entity_linking/service_configs/entity-linking/service.yml @@ -0,0 +1,40 @@ +name: entity-linking +endpoints: +- model +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8075 + SERVICE_NAME: entity_linking + CONFIG: entity_linking_eng.json + SRC_DIR: annotators/entity_linking + CUDA_VISIBLE_DEVICES: '0' + context: ./ + dockerfile: annotators/entity_linking/Dockerfile + environment: + - CUDA_VISIBLE_DEVICES=0 + deploy: + resources: + limits: + memory: 23G + reservations: + memory: 23G + volumes: + - ./annotators/entity_linking:/src + - ~/.deeppavlov:/root/.deeppavlov + - ~/.deeppavlov/cache:/root/.cache + ports: + - 8075:8075 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8075 + - PORT=8075 diff --git a/annotators/entity_linking_deepy/component.yml b/annotators/entity_linking_deepy/component.yml deleted file mode 100644 index 52d88b0673..0000000000 --- a/annotators/entity_linking_deepy/component.yml +++ /dev/null @@ -1,21 +0,0 @@ -entity-linking-deepy: - name: entity_linking - display_name: Entity Linking - container_name: entity-linking-deepy - component_type: null - model_type: NN-based - is_customizable: false - author: DeepPavlov - description: finds Wikidata entity ids for the entities detected with Entity Detection - ram_usage: 2.5G - gpu_usage: 1.3G - port: 8075 - endpoints: - - group: annotators - endpoint: model - build_args: - SERVICE_PORT: 8075 - SERVICE_NAME: entity_linking - CONFIG: entity_linking_deepy.json - SRC_DIR: annotators/entity_linking_deepy - date_created: '2023-03-16T09:45:32' diff --git a/annotators/entity_linking_deepy/pipeline.yml b/annotators/entity_linking_deepy/pipeline.yml deleted file mode 100644 index c5c3dadcec..0000000000 --- a/annotators/entity_linking_deepy/pipeline.yml +++ /dev/null @@ -1,8 +0,0 @@ -entity-linking-deepy: -- group: annotators - connector: - protocol: http - url: http://entity-linking-deepy:8075/model - dialog_formatter: state_formatters.dp_formatters:last_utt_dialog - response_formatter: state_formatters.dp_formatters:entity_linking_formatter - state_manager_method: add_annotation diff --git a/annotators/entity_linking_deepy/service_configs/entity-linking-deepy/environment.yml b/annotators/entity_linking_deepy/service_configs/entity-linking-deepy/environment.yml new file mode 100644 index 0000000000..61707d2695 --- /dev/null +++ b/annotators/entity_linking_deepy/service_configs/entity-linking-deepy/environment.yml @@ -0,0 +1,5 @@ +SERVICE_PORT: 8075 +SERVICE_NAME: entity_linking +CONFIG: entity_linking_deepy.json +SRC_DIR: annotators/entity_linking_deepy +CUDA_VISIBLE_DEVICES: '''''' diff --git a/annotators/entity_linking_deepy/service_configs/entity-linking-deepy/service.yml b/annotators/entity_linking_deepy/service_configs/entity-linking-deepy/service.yml new file mode 100644 index 0000000000..dad5ca11f7 --- /dev/null +++ b/annotators/entity_linking_deepy/service_configs/entity-linking-deepy/service.yml @@ -0,0 +1,20 @@ +name: entity-linking-deepy +endpoints: +- model +compose: + build: + args: + SERVICE_PORT: 8075 + SERVICE_NAME: entity_linking + CONFIG: entity_linking_deepy.json + SRC_DIR: annotators/entity_linking_deepy + CUDA_VISIBLE_DEVICES: '''''' + context: ./ + dockerfile: annotators/entity_linking_deepy/Dockerfile + volumes: + - ~/.deeppavlov:/root/.deeppavlov + ports: + - 8075:8075 + environment: + - CUDA_VISIBLE_DEVICES='' +proxy: null diff --git a/annotators/entity_linking_rus/component.yml b/annotators/entity_linking_rus/component.yml deleted file mode 100644 index 45edf2848b..0000000000 --- a/annotators/entity_linking_rus/component.yml +++ /dev/null @@ -1,24 +0,0 @@ -entity-linking-ru: - name: entity_linking - display_name: Entity Linking - container_name: entity-linking-ru - component_type: null - model_type: ML-based - is_customizable: false - author: DeepPavlov - description: finds Wikidata entity ids for the entities detected with Entity Detection - ram_usage: 400M - gpu_usage: null - port: 8075 - endpoints: - - group: annotators - endpoint: model - - group: services - endpoint: model - build_args: - SERVICE_PORT: 8075 - SERVICE_NAME: entity_linking - CONFIG: entity_linking_rus.json - SRC_DIR: annotators/entity_linking_rus - LANGUAGE: RU - date_created: '2023-03-16T09:45:32' diff --git a/annotators/entity_linking_rus/pipeline.yml b/annotators/entity_linking_rus/pipeline.yml deleted file mode 100644 index 85e9a570c8..0000000000 --- a/annotators/entity_linking_rus/pipeline.yml +++ /dev/null @@ -1,12 +0,0 @@ -entity-linking-ru: -- group: annotators - connector: - protocol: http - timeout: 1.0 - url: http://entity-linking-ru:8075/model - dialog_formatter: state_formatters.dp_formatters:el_formatter_dialog - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - annotators.ner - - annotators.entity_detection - state_manager_method: add_annotation diff --git a/annotators/entity_linking_rus/service_configs/entity-linking-ru/environment.yml b/annotators/entity_linking_rus/service_configs/entity-linking-ru/environment.yml new file mode 100644 index 0000000000..a51b48ddd6 --- /dev/null +++ b/annotators/entity_linking_rus/service_configs/entity-linking-ru/environment.yml @@ -0,0 +1,6 @@ +SERVICE_PORT: 8075 +SERVICE_NAME: entity_linking +CONFIG: entity_linking_rus.json +SRC_DIR: annotators/entity_linking_rus +LANGUAGE: RU +CUDA_VISIBLE_DEVICES: '0' diff --git a/annotators/entity_linking_rus/service_configs/entity-linking-ru/service.yml b/annotators/entity_linking_rus/service_configs/entity-linking-ru/service.yml new file mode 100644 index 0000000000..a997becf4b --- /dev/null +++ b/annotators/entity_linking_rus/service_configs/entity-linking-ru/service.yml @@ -0,0 +1,30 @@ +name: entity-linking-ru +endpoints: +- model +compose: + env_file: + - .env_ru + build: + args: + SERVICE_PORT: 8075 + SERVICE_NAME: entity_linking + CONFIG: entity_linking_rus.json + SRC_DIR: annotators/entity_linking_rus + LANGUAGE: RU + CUDA_VISIBLE_DEVICES: '0' + context: ./ + dockerfile: annotators/entity_linking_rus/Dockerfile + environment: + - CUDA_VISIBLE_DEVICES=0 + deploy: + resources: + limits: + memory: 700M + reservations: + memory: 700M + volumes: + - ./annotators/entity_linking_rus:/src + - ~/.deeppavlov:/root/.deeppavlov + ports: + - 8075:8075 +proxy: null diff --git a/annotators/entity_storer/component.yml b/annotators/entity_storer/component.yml deleted file mode 100644 index 7f78ecc944..0000000000 --- a/annotators/entity_storer/component.yml +++ /dev/null @@ -1,22 +0,0 @@ -entity-storer: - name: entity_storer - display_name: Entity Storer - container_name: entity-storer - component_type: null - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: a rule-based component, which stores entities from the user's and socialbot's - utterances if opinion expression is detected with patterns or MIDAS Classifier - and saves them along with the detected attitude to dialogue state - ram_usage: 220M - gpu_usage: null - port: 8089 - endpoints: - - group: annotators - endpoint: respond - build_args: - SERVICE_PORT: 8089 - SERVICE_NAME: entity_storer - WORK_DIR: annotators/entity_storer - date_created: '2023-03-16T09:45:32' diff --git a/annotators/entity_storer/pipeline.yml b/annotators/entity_storer/pipeline.yml deleted file mode 100644 index a1181c6b29..0000000000 --- a/annotators/entity_storer/pipeline.yml +++ /dev/null @@ -1,12 +0,0 @@ -entity-storer: -- group: annotators - connector: - protocol: http - timeout: 1.0 - url: http://entity-storer:8089/respond - dialog_formatter: state_formatters.dp_formatters:entity_storer_formatter - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - annotators.combined_classification - - annotators.intent_catcher - state_manager_method: update_attributes diff --git a/annotators/entity_storer/service_configs/entity-storer/environment.yml b/annotators/entity_storer/service_configs/entity-storer/environment.yml new file mode 100644 index 0000000000..abbb173849 --- /dev/null +++ b/annotators/entity_storer/service_configs/entity-storer/environment.yml @@ -0,0 +1,4 @@ +SERVICE_PORT: 8089 +SERVICE_NAME: entity_storer +WORK_DIR: annotators/entity_storer +FLASK_APP: server diff --git a/annotators/entity_storer/service_configs/entity-storer/service.yml b/annotators/entity_storer/service_configs/entity-storer/service.yml new file mode 100644 index 0000000000..60ed7ceb93 --- /dev/null +++ b/annotators/entity_storer/service_configs/entity-storer/service.yml @@ -0,0 +1,39 @@ +name: entity-storer +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8089 + SERVICE_NAME: entity_storer + WORK_DIR: annotators/entity_storer + FLASK_APP: server + context: . + dockerfile: annotators/entity_storer/Dockerfile + command: flask run -h 0.0.0.0 -p 8089 + environment: + - FLASK_APP=server + deploy: + resources: + limits: + memory: 384M + reservations: + memory: 384M + volumes: + - ./common:/src/common + - ./annotators/entity_storer:/src + ports: + - 8089:8089 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8089 + - PORT=8089 diff --git a/annotators/fact_random/component.yml b/annotators/fact_random/component.yml deleted file mode 100644 index a4d0e1c597..0000000000 --- a/annotators/fact_random/component.yml +++ /dev/null @@ -1,21 +0,0 @@ -fact-random: - name: fact_random - display_name: Fact Random - container_name: fact-random - component_type: null - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: returns random facts for the given entity (for entities from user utterance) - ram_usage: 100M - gpu_usage: null - port: 8119 - endpoints: - - group: annotators - endpoint: respond - - group: services - endpoint: respond - build_args: - SERVICE_PORT: 8119 - SERVICE_NAME: fact_random - date_created: '2023-03-16T09:45:32' diff --git a/annotators/fact_random/pipeline.yml b/annotators/fact_random/pipeline.yml deleted file mode 100644 index 8d70aeb0b1..0000000000 --- a/annotators/fact_random/pipeline.yml +++ /dev/null @@ -1,13 +0,0 @@ -fact-random: -- group: annotators - connector: - protocol: http - timeout: 1.0 - url: http://fact-random:8119/respond - dialog_formatter: state_formatters.dp_formatters:fact_random_formatter_dialog - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - annotators.entity_linking - - annotators.spacy_nounphrases - - annotators.entity_detection - state_manager_method: add_annotation diff --git a/annotators/fact_random/service_configs/fact-random/environment.yml b/annotators/fact_random/service_configs/fact-random/environment.yml new file mode 100644 index 0000000000..d3f781fee9 --- /dev/null +++ b/annotators/fact_random/service_configs/fact-random/environment.yml @@ -0,0 +1,3 @@ +SERVICE_PORT: 8119 +SERVICE_NAME: fact_random +FLASK_APP: server diff --git a/annotators/fact_random/service_configs/fact-random/service.yml b/annotators/fact_random/service_configs/fact-random/service.yml new file mode 100644 index 0000000000..3ffce1c7cb --- /dev/null +++ b/annotators/fact_random/service_configs/fact-random/service.yml @@ -0,0 +1,38 @@ +name: fact-random +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8119 + SERVICE_NAME: fact_random + FLASK_APP: server + context: . + dockerfile: ./annotators/fact_random/Dockerfile + command: flask run -h 0.0.0.0 -p 8119 + environment: + - FLASK_APP=server + deploy: + resources: + limits: + memory: 256M + reservations: + memory: 256M + volumes: + - ./annotators/fact_random:/src + - ./common:/src/common + ports: + - 8119:8119 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8119 + - PORT=8119 diff --git a/annotators/fact_retrieval/component.yml b/annotators/fact_retrieval/component.yml deleted file mode 100644 index 130b10c348..0000000000 --- a/annotators/fact_retrieval/component.yml +++ /dev/null @@ -1,25 +0,0 @@ -fact-retrieval: - name: fact_retrieval - display_name: Fact Retrieval - container_name: fact-retrieval - component_type: null - model_type: NN-based - is_customizable: false - author: DeepPavlov - description: extracts facts from Wikipedia and wikiHow - ram_usage: 7.4G - gpu_usage: 1.2G - port: 8100 - endpoints: - - group: annotators - endpoint: model - build_args: - SERVICE_PORT: 8100 - SERVICE_NAME: fact_retrieval - CONFIG: configs/fact_retrieval_page.json - CONFIG_WIKI: configs/page_extractor.json - CONFIG_WHOW: configs/whow_page_extractor.json - SRC_DIR: annotators/fact_retrieval/ - COMMIT: 4b3e60c407644b750c9dc292ac6bf206081fb9d0 - N_FACTS: 3 - date_created: '2023-03-16T09:45:32' diff --git a/annotators/fact_retrieval/pipeline.yml b/annotators/fact_retrieval/pipeline.yml deleted file mode 100644 index a25c1f618e..0000000000 --- a/annotators/fact_retrieval/pipeline.yml +++ /dev/null @@ -1,13 +0,0 @@ -fact-retrieval: -- group: annotators - connector: - protocol: http - timeout: 1.0 - url: http://fact-retrieval:8100/model - dialog_formatter: state_formatters.dp_formatters:fact_retrieval_formatter_dialog - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - annotators.spelling_preprocessing - - annotators.sentseg - - annotators.entity_linking - state_manager_method: add_annotation diff --git a/annotators/fact_retrieval/service_configs/fact-retrieval/environment.yml b/annotators/fact_retrieval/service_configs/fact-retrieval/environment.yml new file mode 100644 index 0000000000..2ba050964c --- /dev/null +++ b/annotators/fact_retrieval/service_configs/fact-retrieval/environment.yml @@ -0,0 +1,10 @@ +SERVICE_PORT: 8100 +SERVICE_NAME: fact_retrieval +CONFIG: configs/fact_retrieval_page.json +CONFIG_WIKI: configs/page_extractor.json +CONFIG_WHOW: configs/whow_page_extractor.json +SRC_DIR: annotators/fact_retrieval/ +COMMIT: 4b3e60c407644b750c9dc292ac6bf206081fb9d0 +N_FACTS: 3 +CUDA_VISIBLE_DEVICES: '0' +FLASK_APP: server diff --git a/annotators/fact_retrieval/service_configs/fact-retrieval/service.yml b/annotators/fact_retrieval/service_configs/fact-retrieval/service.yml new file mode 100644 index 0000000000..067e7a84d6 --- /dev/null +++ b/annotators/fact_retrieval/service_configs/fact-retrieval/service.yml @@ -0,0 +1,48 @@ +name: fact-retrieval +endpoints: +- model +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8100 + SERVICE_NAME: fact_retrieval + CONFIG: configs/fact_retrieval_page.json + CONFIG_WIKI: configs/page_extractor.json + CONFIG_WHOW: configs/whow_page_extractor.json + SRC_DIR: annotators/fact_retrieval/ + COMMIT: 4b3e60c407644b750c9dc292ac6bf206081fb9d0 + N_FACTS: 3 + CUDA_VISIBLE_DEVICES: '0' + FLASK_APP: server + context: ./ + dockerfile: annotators/fact_retrieval/Dockerfile + command: flask run -h 0.0.0.0 -p 8100 + environment: + - CUDA_VISIBLE_DEVICES=0 + - FLASK_APP=server + deploy: + resources: + limits: + memory: 4G + reservations: + memory: 4G + volumes: + - ./annotators/fact_retrieval:/src + - ~/.deeppavlov:/root/.deeppavlov + - ./common:/src/common + - ~/.deeppavlov/cache:/root/.cache + ports: + - 8100:8100 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8100 + - PORT=8100 diff --git a/annotators/fact_retrieval_rus/component.yml b/annotators/fact_retrieval_rus/component.yml deleted file mode 100644 index 6ad2413a7a..0000000000 --- a/annotators/fact_retrieval_rus/component.yml +++ /dev/null @@ -1,28 +0,0 @@ -fact-retrieval-ru: - name: fact_retrieval - display_name: Fact Retrieval - container_name: fact-retrieval-ru - component_type: null - model_type: NN-based - is_customizable: false - author: DeepPavlov - description: "\u0410\u043D\u043D\u043E\u0442\u0430\u0442\u043E\u0440 \u0438\u0437\ - \u0432\u043B\u0435\u0447\u0435\u043D\u0438\u044F \u043F\u0430\u0440\u0430\u0433\ - \u0440\u0430\u0444\u043E\u0432 \u0412\u0438\u043A\u0438\u043F\u0435\u0434\u0438\ - \u0438, \u0440\u0435\u043B\u0435\u0432\u0430\u043D\u0442\u043D\u044B\u0445 \u0438\ - \u0441\u0442\u043E\u0440\u0438\u0438 \u0434\u0438\u0430\u043B\u043E\u0433\u0430\ - ." - ram_usage: 6.5G - gpu_usage: 1G - port: 8130 - endpoints: - - group: annotators - endpoint: respond - build_args: - CONFIG: fact_retrieval_rus.json - COMMIT: c8264bf82eaa3ed138395ab68f71d47a4175f2fc - TOP_N: 20 - SERVICE_PORT: 8130 - SRC_DIR: annotators/fact_retrieval_rus - SERVICE_NAME: fact_retrieval - date_created: '2023-03-16T09:45:32' diff --git a/annotators/fact_retrieval_rus/pipeline.yml b/annotators/fact_retrieval_rus/pipeline.yml deleted file mode 100644 index 9a2cfeefe3..0000000000 --- a/annotators/fact_retrieval_rus/pipeline.yml +++ /dev/null @@ -1,11 +0,0 @@ -fact-retrieval-ru: -- group: annotators - connector: - protocol: http - timeout: 1.0 - url: http://fact-retrieval-ru:8130/respond - dialog_formatter: state_formatters.dp_formatters:fact_retrieval_rus_formatter_dialog - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - annotators.entity_linking - state_manager_method: add_annotation diff --git a/annotators/fact_retrieval_rus/service_configs/fact-retrieval-ru/environment.yml b/annotators/fact_retrieval_rus/service_configs/fact-retrieval-ru/environment.yml new file mode 100644 index 0000000000..06dfd1a617 --- /dev/null +++ b/annotators/fact_retrieval_rus/service_configs/fact-retrieval-ru/environment.yml @@ -0,0 +1,7 @@ +CONFIG: fact_retrieval_rus.json +COMMIT: c8264bf82eaa3ed138395ab68f71d47a4175f2fc +TOP_N: 20 +SERVICE_PORT: 8130 +SRC_DIR: annotators/fact_retrieval_rus +CUDA_VISIBLE_DEVICES: '0' +FLASK_APP: server diff --git a/annotators/fact_retrieval_rus/service_configs/fact-retrieval-ru/service.yml b/annotators/fact_retrieval_rus/service_configs/fact-retrieval-ru/service.yml new file mode 100644 index 0000000000..539cdd7669 --- /dev/null +++ b/annotators/fact_retrieval_rus/service_configs/fact-retrieval-ru/service.yml @@ -0,0 +1,33 @@ +name: fact-retrieval-ru +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + CONFIG: fact_retrieval_rus.json + COMMIT: c8264bf82eaa3ed138395ab68f71d47a4175f2fc + TOP_N: 20 + SERVICE_PORT: 8130 + SRC_DIR: annotators/fact_retrieval_rus + CUDA_VISIBLE_DEVICES: '0' + FLASK_APP: server + context: ./ + dockerfile: annotators/fact_retrieval_rus/Dockerfile + command: flask run -h 0.0.0.0 -p 8130 + environment: + - CUDA_VISIBLE_DEVICES=0 + - FLASK_APP=server + deploy: + resources: + limits: + memory: 10G + reservations: + memory: 10G + volumes: + - ./annotators/fact_retrieval_rus:/src + - ~/.deeppavlov:/root/.deeppavlov + ports: + - 8130:8130 +proxy: null diff --git a/annotators/kbqa/component.yml b/annotators/kbqa/component.yml deleted file mode 100644 index f8933f5f69..0000000000 --- a/annotators/kbqa/component.yml +++ /dev/null @@ -1,24 +0,0 @@ -kbqa: - name: kbqa - display_name: KBQA - container_name: kbqa - component_type: null - model_type: NN-based - is_customizable: false - author: DeepPavlov - description: answers user's factoid questions based on Wikidata KB - ram_usage: 2G - gpu_usage: 1.4G - port: 8072 - endpoints: - - group: annotators - endpoint: model - - group: services - endpoint: model - build_args: - SERVICE_PORT: 8072 - SERVICE_NAME: kbqa - CONFIG: kbqa_cq_mt_bert_lite.json - SRC_DIR: annotators/kbqa/ - COMMIT: 283a25e322e8fedc6ff0c159e4ec76bb165ae405 - date_created: '2023-03-16T09:45:32' diff --git a/annotators/kbqa/pipeline.yml b/annotators/kbqa/pipeline.yml deleted file mode 100644 index 9d165ac7ae..0000000000 --- a/annotators/kbqa/pipeline.yml +++ /dev/null @@ -1,11 +0,0 @@ -kbqa: -- group: annotators - connector: - protocol: http - timeout: 1.0 - url: http://kbqa:8072/model - dialog_formatter: state_formatters.dp_formatters:kbqa_formatter_dialog - response_formatter: state_formatters.dp_formatters:simple_formatter_service - required_previous_services: - - annotators.entity_linking - state_manager_method: add_annotation diff --git a/annotators/kbqa/service_configs/kbqa/environment.yml b/annotators/kbqa/service_configs/kbqa/environment.yml new file mode 100644 index 0000000000..e98813a753 --- /dev/null +++ b/annotators/kbqa/service_configs/kbqa/environment.yml @@ -0,0 +1,7 @@ +SERVICE_PORT: 8072 +SERVICE_NAME: kbqa +CONFIG: kbqa_cq_mt_bert_lite.json +SRC_DIR: annotators/kbqa/ +COMMIT: 47adffa799cc8b04fa9af7b8842e9f5d76bfe2dc +CUDA_VISIBLE_DEVICES: '0' +FLASK_APP: server diff --git a/annotators/kbqa/service_configs/kbqa/service.yml b/annotators/kbqa/service_configs/kbqa/service.yml new file mode 100644 index 0000000000..df55053cd9 --- /dev/null +++ b/annotators/kbqa/service_configs/kbqa/service.yml @@ -0,0 +1,44 @@ +name: kbqa +endpoints: +- model +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8072 + SERVICE_NAME: kbqa + CONFIG: kbqa_cq_mt_bert_lite.json + SRC_DIR: annotators/kbqa/ + COMMIT: 47adffa799cc8b04fa9af7b8842e9f5d76bfe2dc + CUDA_VISIBLE_DEVICES: '0' + FLASK_APP: server + context: ./ + dockerfile: annotators/kbqa/Dockerfile + command: flask run -h 0.0.0.0 -p 8072 + environment: + - CUDA_VISIBLE_DEVICES=0 + - FLASK_APP=server + deploy: + resources: + limits: + memory: 5G + reservations: + memory: 5G + volumes: + - ./annotators/kbqa:/src + - ~/.deeppavlov:/root/.deeppavlov + - ~/.deeppavlov/cache:/root/.cache + ports: + - 8072:8072 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8072 + - PORT=8072 diff --git a/annotators/midas_classification/component.yml b/annotators/midas_classification/component.yml deleted file mode 100644 index ea926386c7..0000000000 --- a/annotators/midas_classification/component.yml +++ /dev/null @@ -1,24 +0,0 @@ -midas-classification: - name: midas_classification - display_name: MIDAS Classification - container_name: midas-classification - component_type: null - model_type: NN-based - is_customizable: false - author: DeepPavlov - description: BERT-based model trained on a semantic classes subset of MIDAS dataset - ram_usage: 1.1G - gpu_usage: 4.5G - port: 8090 - endpoints: - - group: annotators - endpoint: model - - group: services - endpoint: respond - - group: candidate_annotators - endpoint: batch_model - build_args: - SERVICE_PORT: 8090 - SERVICE_NAME: midas_classification - CONFIG: midas_conv_bert.json - date_created: '2023-03-16T09:45:32' diff --git a/annotators/midas_classification/pipeline.yml b/annotators/midas_classification/pipeline.yml deleted file mode 100644 index 45b3e49319..0000000000 --- a/annotators/midas_classification/pipeline.yml +++ /dev/null @@ -1,22 +0,0 @@ -midas-classification: -- group: candidate_annotators - connector: - protocol: http - timeout: 1.0 - url: http://midas-classification:8090/batch_model - dialog_formatter: state_formatters.dp_formatters:hypotheses_list_last_uttr - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - skills - state_manager_method: add_hypothesis_annotation_batch -- group: annotators - connector: - protocol: http - timeout: 1.0 - url: http://midas-classification:8090/model - dialog_formatter: state_formatters.dp_formatters:utt_sentseg_punct_dialog - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - annotators.spelling_preprocessing - - annotators.sentseg - state_manager_method: add_annotation diff --git a/annotators/midas_classification/service_configs/midas-classification/environment.yml b/annotators/midas_classification/service_configs/midas-classification/environment.yml new file mode 100644 index 0000000000..b6841da562 --- /dev/null +++ b/annotators/midas_classification/service_configs/midas-classification/environment.yml @@ -0,0 +1,5 @@ +SERVICE_PORT: 8090 +SERVICE_NAME: midas_classification +CONFIG: midas_conv_bert.json +CUDA_VISIBLE_DEVICES: '0' +FLASK_APP: server diff --git a/annotators/midas_classification/service_configs/midas-classification/service.yml b/annotators/midas_classification/service_configs/midas-classification/service.yml new file mode 100644 index 0000000000..e89ea3e716 --- /dev/null +++ b/annotators/midas_classification/service_configs/midas-classification/service.yml @@ -0,0 +1,42 @@ +name: midas-classification +endpoints: +- model +- respond +- batch_model +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8090 + SERVICE_NAME: midas_classification + CONFIG: midas_conv_bert.json + CUDA_VISIBLE_DEVICES: '0' + FLASK_APP: server + context: ./annotators/midas_classification + command: flask run -h 0.0.0.0 -p 8090 + environment: + - CUDA_VISIBLE_DEVICES=0 + - FLASK_APP=server + deploy: + resources: + limits: + memory: 3G + reservations: + memory: 3G + volumes: + - ./annotators/midas_classification:/src + - ~/.deeppavlov:/root/.deeppavlov + ports: + - 8090:8090 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8090 + - PORT=8090 diff --git a/annotators/midas_predictor/component.yml b/annotators/midas_predictor/component.yml deleted file mode 100644 index 5c99173d9a..0000000000 --- a/annotators/midas_predictor/component.yml +++ /dev/null @@ -1,19 +0,0 @@ -midas-predictor: - name: midas_predictor - display_name: MIDAS Predictor - container_name: midas-predictor - component_type: null - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: BERT-based model trained on a semantic classes subset of MIDAS dataset - ram_usage: 100M - gpu_usage: null - port: 8121 - endpoints: - - group: annotators - endpoint: respond - build_args: - SERVICE_PORT: 8121 - SERVICE_NAME: midas_predictor - date_created: '2023-03-16T09:45:32' diff --git a/annotators/midas_predictor/pipeline.yml b/annotators/midas_predictor/pipeline.yml deleted file mode 100644 index 535b0195db..0000000000 --- a/annotators/midas_predictor/pipeline.yml +++ /dev/null @@ -1,11 +0,0 @@ -midas-predictor: -- group: annotators - connector: - protocol: http - timeout: 1.0 - url: http://midas-predictor:8121/respond - dialog_formatter: state_formatters.dp_formatters:midas_predictor_formatter - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - annotators.combined_classification - state_manager_method: add_annotation diff --git a/annotators/midas_predictor/service_configs/midas-predictor/environment.yml b/annotators/midas_predictor/service_configs/midas-predictor/environment.yml new file mode 100644 index 0000000000..7567f02e1f --- /dev/null +++ b/annotators/midas_predictor/service_configs/midas-predictor/environment.yml @@ -0,0 +1,3 @@ +SERVICE_PORT: 8121 +SERVICE_NAME: midas_predictor +FLASK_APP: server diff --git a/annotators/midas_predictor/service_configs/midas-predictor/service.yml b/annotators/midas_predictor/service_configs/midas-predictor/service.yml new file mode 100644 index 0000000000..a6924b3706 --- /dev/null +++ b/annotators/midas_predictor/service_configs/midas-predictor/service.yml @@ -0,0 +1,36 @@ +name: midas-predictor +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8121 + SERVICE_NAME: midas_predictor + FLASK_APP: server + context: ./annotators/midas_predictor/ + command: flask run -h 0.0.0.0 -p 8121 + environment: + - FLASK_APP=server + deploy: + resources: + limits: + memory: 100M + reservations: + memory: 100M + volumes: + - ./annotators/midas_predictor:/src + ports: + - 8121:8121 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8121 + - PORT=8121 diff --git a/annotators/news_api/component.yml b/annotators/news_api/component.yml deleted file mode 100644 index 375234cae9..0000000000 --- a/annotators/news_api/component.yml +++ /dev/null @@ -1,23 +0,0 @@ -news-api-annotator: - name: news_api_annotator - display_name: News API Annotator - container_name: news-api-annotator - component_type: null - model_type: External API - is_customizable: false - author: DeepPavlov - description: extracts the latest news about entities or topics using the GNews API. - DeepPavlov Dream deployments utilize our own API key. - ram_usage: 100M - gpu_usage: null - port: 8112 - endpoints: - - group: annotators - endpoint: respond - - group: services - endpoint: respond - build_args: - SERVICE_PORT: 8112 - SERVICE_NAME: news_api_annotator - ASYNC_SIZE: 3 - date_created: '2023-03-16T09:45:32' diff --git a/annotators/news_api/pipeline.yml b/annotators/news_api/pipeline.yml deleted file mode 100644 index 20bc3cc57d..0000000000 --- a/annotators/news_api/pipeline.yml +++ /dev/null @@ -1,15 +0,0 @@ -news-api-annotator: -- group: annotators - connector: - protocol: http - timeout: 2.0 - url: http://news-api-annotator:8112/respond - dialog_formatter: state_formatters.dp_formatters:utt_non_punct_dialog - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - annotators.spelling_preprocessing - - annotators.sentseg - - annotators.ner - - annotators.entity_detection - - annotators.spacy_nounphrases - state_manager_method: add_annotation diff --git a/annotators/news_api/service_configs/news-api-annotator/environment.yml b/annotators/news_api/service_configs/news-api-annotator/environment.yml new file mode 100644 index 0000000000..97472dea4f --- /dev/null +++ b/annotators/news_api/service_configs/news-api-annotator/environment.yml @@ -0,0 +1,4 @@ +SERVICE_PORT: 8112 +SERVICE_NAME: news_api_annotator +ASYNC_SIZE: 3 +FLASK_APP: server diff --git a/annotators/news_api/service_configs/news-api-annotator/service.yml b/annotators/news_api/service_configs/news-api-annotator/service.yml new file mode 100644 index 0000000000..c53b22fe74 --- /dev/null +++ b/annotators/news_api/service_configs/news-api-annotator/service.yml @@ -0,0 +1,39 @@ +name: news-api-annotator +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8112 + SERVICE_NAME: news_api_annotator + ASYNC_SIZE: 3 + FLASK_APP: server + context: . + dockerfile: ./annotators/news_api/Dockerfile + environment: + - FLASK_APP=server + command: flask run -h 0.0.0.0 -p 8112 + deploy: + resources: + limits: + memory: 256M + reservations: + memory: 256M + volumes: + - ./annotators/news_api:/src + - ./common:/src/common + ports: + - 8112:8112 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8112 + - PORT=8112 diff --git a/annotators/prompt_selector/component.yml b/annotators/prompt_selector/component.yml deleted file mode 100644 index 41bdd59397..0000000000 --- a/annotators/prompt_selector/component.yml +++ /dev/null @@ -1,22 +0,0 @@ -prompt-selector: - name: prompt_selector - display_name: Prompt Selector - container_name: prompt-selector - component_type: null - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: Annotator utilizing Sentence Ranker to rank prompts and selecting `N_SENTENCES_TO_RETURN` - most relevant prompts (based on questions provided in prompts) - ram_usage: 100M - gpu_usage: null - port: 8135 - endpoints: - - group: annotators - endpoint: respond - build_args: - SERVICE_PORT: 8135 - SERVICE_NAME: prompt_selector - N_SENTENCES_TO_RETURN: 3 - PROMPTS_TO_CONSIDER: life_coaching - date_created: '2023-03-16T09:45:32' diff --git a/annotators/prompt_selector/pipeline.yml b/annotators/prompt_selector/pipeline.yml deleted file mode 100644 index 366abed19d..0000000000 --- a/annotators/prompt_selector/pipeline.yml +++ /dev/null @@ -1,11 +0,0 @@ -prompt-selector: -- group: annotators - connector: - protocol: http - timeout: 2.0 - url: http://prompt-selector:8135/respond - dialog_formatter: state_formatters.dp_formatters:context_formatter_dialog - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - annotators.spelling_preprocessing - state_manager_method: add_annotation diff --git a/annotators/prompt_selector/service_configs/ai_faq_assistant/environment.yml b/annotators/prompt_selector/service_configs/ai_faq_assistant/environment.yml new file mode 100644 index 0000000000..52933ebfc2 --- /dev/null +++ b/annotators/prompt_selector/service_configs/ai_faq_assistant/environment.yml @@ -0,0 +1,5 @@ +SERVICE_PORT: 8135 +SERVICE_NAME: prompt_selector +N_SENTENCES_TO_RETURN: 3 +PROMPTS_TO_CONSIDER: ai_faq +FLASK_APP: server diff --git a/annotators/prompt_selector/service_configs/ai_faq_assistant/service.yml b/annotators/prompt_selector/service_configs/ai_faq_assistant/service.yml new file mode 100644 index 0000000000..89634e6e92 --- /dev/null +++ b/annotators/prompt_selector/service_configs/ai_faq_assistant/service.yml @@ -0,0 +1,30 @@ +name: prompt-selector +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8135 + SERVICE_NAME: prompt_selector + N_SENTENCES_TO_RETURN: 3 + PROMPTS_TO_CONSIDER: ai_faq + FLASK_APP: server + context: . + dockerfile: ./annotators/prompt_selector/Dockerfile + command: flask run -h 0.0.0.0 -p 8135 + environment: + - FLASK_APP=server + deploy: + resources: + limits: + memory: 100M + reservations: + memory: 100M + volumes: + - ./annotators/prompt_selector:/src + - ./common:/src/common + ports: + - 8135:8135 +proxy: null diff --git a/annotators/prompt_selector/service_configs/deeppavlov_assistant/environment.yml b/annotators/prompt_selector/service_configs/deeppavlov_assistant/environment.yml new file mode 100644 index 0000000000..1a3cc7dafd --- /dev/null +++ b/annotators/prompt_selector/service_configs/deeppavlov_assistant/environment.yml @@ -0,0 +1,5 @@ +SERVICE_PORT: 8135 +SERVICE_NAME: prompt_selector +N_SENTENCES_TO_RETURN: 3 +PROMPTS_TO_CONSIDER: deeppavlov +FLASK_APP: server diff --git a/annotators/prompt_selector/service_configs/deeppavlov_assistant/service.yml b/annotators/prompt_selector/service_configs/deeppavlov_assistant/service.yml new file mode 100644 index 0000000000..d4d8fde45f --- /dev/null +++ b/annotators/prompt_selector/service_configs/deeppavlov_assistant/service.yml @@ -0,0 +1,30 @@ +name: prompt-selector +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8135 + SERVICE_NAME: prompt_selector + N_SENTENCES_TO_RETURN: 3 + PROMPTS_TO_CONSIDER: deeppavlov + FLASK_APP: server + context: . + dockerfile: ./annotators/prompt_selector/Dockerfile + command: flask run -h 0.0.0.0 -p 8135 + environment: + - FLASK_APP=server + deploy: + resources: + limits: + memory: 100M + reservations: + memory: 100M + volumes: + - ./annotators/prompt_selector:/src + - ./common:/src/common + ports: + - 8135:8135 +proxy: null diff --git a/annotators/prompt_selector/service_configs/deepy_assistant/environment.yml b/annotators/prompt_selector/service_configs/deepy_assistant/environment.yml new file mode 100644 index 0000000000..cee240ac46 --- /dev/null +++ b/annotators/prompt_selector/service_configs/deepy_assistant/environment.yml @@ -0,0 +1,5 @@ +SERVICE_PORT: 8135 +SERVICE_NAME: prompt_selector +N_SENTENCES_TO_RETURN: 3 +PROMPTS_TO_CONSIDER: deepy +FLASK_APP: server diff --git a/annotators/prompt_selector/service_configs/deepy_assistant/service.yml b/annotators/prompt_selector/service_configs/deepy_assistant/service.yml new file mode 100644 index 0000000000..3474eb0f96 --- /dev/null +++ b/annotators/prompt_selector/service_configs/deepy_assistant/service.yml @@ -0,0 +1,30 @@ +name: prompt-selector +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8135 + SERVICE_NAME: prompt_selector + N_SENTENCES_TO_RETURN: 3 + PROMPTS_TO_CONSIDER: deepy + FLASK_APP: server + context: . + dockerfile: ./annotators/prompt_selector/Dockerfile + command: flask run -h 0.0.0.0 -p 8135 + environment: + - FLASK_APP=server + deploy: + resources: + limits: + memory: 100M + reservations: + memory: 100M + volumes: + - ./annotators/prompt_selector:/src + - ./common:/src/common + ports: + - 8135:8135 +proxy: null diff --git a/annotators/prompt_selector/service_configs/dream_persona_openai_prompted/environment.yml b/annotators/prompt_selector/service_configs/dream_persona_openai_prompted/environment.yml new file mode 100644 index 0000000000..30874786aa --- /dev/null +++ b/annotators/prompt_selector/service_configs/dream_persona_openai_prompted/environment.yml @@ -0,0 +1,5 @@ +SERVICE_PORT: 8135 +SERVICE_NAME: prompt_selector +N_SENTENCES_TO_RETURN: 3 +PROMPTS_TO_CONSIDER: dream_persona +FLASK_APP: server diff --git a/annotators/prompt_selector/service_configs/dream_persona_openai_prompted/service.yml b/annotators/prompt_selector/service_configs/dream_persona_openai_prompted/service.yml new file mode 100644 index 0000000000..8ad7ff81c3 --- /dev/null +++ b/annotators/prompt_selector/service_configs/dream_persona_openai_prompted/service.yml @@ -0,0 +1,30 @@ +name: prompt-selector +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8135 + SERVICE_NAME: prompt_selector + N_SENTENCES_TO_RETURN: 3 + PROMPTS_TO_CONSIDER: dream_persona + FLASK_APP: server + context: . + dockerfile: ./annotators/prompt_selector/Dockerfile + command: flask run -h 0.0.0.0 -p 8135 + environment: + - FLASK_APP=server + deploy: + resources: + limits: + memory: 100M + reservations: + memory: 100M + volumes: + - ./annotators/prompt_selector:/src + - ./common:/src/common + ports: + - 8135:8135 +proxy: null diff --git a/annotators/prompt_selector/service_configs/dream_persona_prompted/environment.yml b/annotators/prompt_selector/service_configs/dream_persona_prompted/environment.yml new file mode 100644 index 0000000000..30874786aa --- /dev/null +++ b/annotators/prompt_selector/service_configs/dream_persona_prompted/environment.yml @@ -0,0 +1,5 @@ +SERVICE_PORT: 8135 +SERVICE_NAME: prompt_selector +N_SENTENCES_TO_RETURN: 3 +PROMPTS_TO_CONSIDER: dream_persona +FLASK_APP: server diff --git a/annotators/prompt_selector/service_configs/dream_persona_prompted/service.yml b/annotators/prompt_selector/service_configs/dream_persona_prompted/service.yml new file mode 100644 index 0000000000..8ad7ff81c3 --- /dev/null +++ b/annotators/prompt_selector/service_configs/dream_persona_prompted/service.yml @@ -0,0 +1,30 @@ +name: prompt-selector +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8135 + SERVICE_NAME: prompt_selector + N_SENTENCES_TO_RETURN: 3 + PROMPTS_TO_CONSIDER: dream_persona + FLASK_APP: server + context: . + dockerfile: ./annotators/prompt_selector/Dockerfile + command: flask run -h 0.0.0.0 -p 8135 + environment: + - FLASK_APP=server + deploy: + resources: + limits: + memory: 100M + reservations: + memory: 100M + volumes: + - ./annotators/prompt_selector:/src + - ./common:/src/common + ports: + - 8135:8135 +proxy: null diff --git a/annotators/prompt_selector/service_configs/fairytale_assistant/environment.yml b/annotators/prompt_selector/service_configs/fairytale_assistant/environment.yml new file mode 100644 index 0000000000..bcfe231b8b --- /dev/null +++ b/annotators/prompt_selector/service_configs/fairytale_assistant/environment.yml @@ -0,0 +1,5 @@ +SERVICE_PORT: 8135 +SERVICE_NAME: prompt_selector +N_SENTENCES_TO_RETURN: 3 +PROMPTS_TO_CONSIDER: fairytale +FLASK_APP: server diff --git a/annotators/prompt_selector/service_configs/fairytale_assistant/service.yml b/annotators/prompt_selector/service_configs/fairytale_assistant/service.yml new file mode 100644 index 0000000000..101f5b7276 --- /dev/null +++ b/annotators/prompt_selector/service_configs/fairytale_assistant/service.yml @@ -0,0 +1,30 @@ +name: prompt-selector +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8135 + SERVICE_NAME: prompt_selector + N_SENTENCES_TO_RETURN: 3 + PROMPTS_TO_CONSIDER: fairytale + FLASK_APP: server + context: . + dockerfile: ./annotators/prompt_selector/Dockerfile + command: flask run -h 0.0.0.0 -p 8135 + environment: + - FLASK_APP=server + deploy: + resources: + limits: + memory: 100M + reservations: + memory: 100M + volumes: + - ./annotators/prompt_selector:/src + - ./common:/src/common + ports: + - 8135:8135 +proxy: null diff --git a/annotators/prompt_selector/service_configs/fashion_stylist_assistant/environment.yml b/annotators/prompt_selector/service_configs/fashion_stylist_assistant/environment.yml new file mode 100644 index 0000000000..3ae13cd41c --- /dev/null +++ b/annotators/prompt_selector/service_configs/fashion_stylist_assistant/environment.yml @@ -0,0 +1,5 @@ +SERVICE_PORT: 8135 +SERVICE_NAME: prompt_selector +N_SENTENCES_TO_RETURN: 3 +PROMPTS_TO_CONSIDER: fashion_stylist +FLASK_APP: server diff --git a/annotators/prompt_selector/service_configs/fashion_stylist_assistant/service.yml b/annotators/prompt_selector/service_configs/fashion_stylist_assistant/service.yml new file mode 100644 index 0000000000..a47d563f14 --- /dev/null +++ b/annotators/prompt_selector/service_configs/fashion_stylist_assistant/service.yml @@ -0,0 +1,30 @@ +name: prompt-selector +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8135 + SERVICE_NAME: prompt_selector + N_SENTENCES_TO_RETURN: 3 + PROMPTS_TO_CONSIDER: fashion_stylist + FLASK_APP: server + context: . + dockerfile: ./annotators/prompt_selector/Dockerfile + command: flask run -h 0.0.0.0 -p 8135 + environment: + - FLASK_APP=server + deploy: + resources: + limits: + memory: 100M + reservations: + memory: 100M + volumes: + - ./annotators/prompt_selector:/src + - ./common:/src/common + ports: + - 8135:8135 +proxy: null diff --git a/annotators/prompt_selector/service_configs/life_coaching_assistant/environment.yml b/annotators/prompt_selector/service_configs/life_coaching_assistant/environment.yml new file mode 100644 index 0000000000..c2c25e8b5d --- /dev/null +++ b/annotators/prompt_selector/service_configs/life_coaching_assistant/environment.yml @@ -0,0 +1,5 @@ +SERVICE_PORT: 8135 +SERVICE_NAME: prompt_selector +N_SENTENCES_TO_RETURN: 3 +PROMPTS_TO_CONSIDER: life_coaching +FLASK_APP: server diff --git a/annotators/prompt_selector/service_configs/life_coaching_assistant/service.yml b/annotators/prompt_selector/service_configs/life_coaching_assistant/service.yml new file mode 100644 index 0000000000..0556a2a318 --- /dev/null +++ b/annotators/prompt_selector/service_configs/life_coaching_assistant/service.yml @@ -0,0 +1,30 @@ +name: prompt-selector +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8135 + SERVICE_NAME: prompt_selector + N_SENTENCES_TO_RETURN: 3 + PROMPTS_TO_CONSIDER: life_coaching + FLASK_APP: server + context: . + dockerfile: ./annotators/prompt_selector/Dockerfile + command: flask run -h 0.0.0.0 -p 8135 + environment: + - FLASK_APP=server + deploy: + resources: + limits: + memory: 100M + reservations: + memory: 100M + volumes: + - ./annotators/prompt_selector:/src + - ./common:/src/common + ports: + - 8135:8135 +proxy: null diff --git a/annotators/prompt_selector/service_configs/marketing_assistant/environment.yml b/annotators/prompt_selector/service_configs/marketing_assistant/environment.yml new file mode 100644 index 0000000000..ef6fdb3300 --- /dev/null +++ b/annotators/prompt_selector/service_configs/marketing_assistant/environment.yml @@ -0,0 +1,5 @@ +SERVICE_PORT: 8135 +SERVICE_NAME: prompt_selector +N_SENTENCES_TO_RETURN: 3 +PROMPTS_TO_CONSIDER: marketing +FLASK_APP: server diff --git a/annotators/prompt_selector/service_configs/marketing_assistant/service.yml b/annotators/prompt_selector/service_configs/marketing_assistant/service.yml new file mode 100644 index 0000000000..604b858179 --- /dev/null +++ b/annotators/prompt_selector/service_configs/marketing_assistant/service.yml @@ -0,0 +1,30 @@ +name: prompt-selector +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8135 + SERVICE_NAME: prompt_selector + N_SENTENCES_TO_RETURN: 3 + PROMPTS_TO_CONSIDER: marketing + FLASK_APP: server + context: . + dockerfile: ./annotators/prompt_selector/Dockerfile + command: flask run -h 0.0.0.0 -p 8135 + environment: + - FLASK_APP=server + deploy: + resources: + limits: + memory: 100M + reservations: + memory: 100M + volumes: + - ./annotators/prompt_selector:/src + - ./common:/src/common + ports: + - 8135:8135 +proxy: null diff --git a/annotators/prompt_selector/service_configs/multiskill_ai_assistant/environment.yml b/annotators/prompt_selector/service_configs/multiskill_ai_assistant/environment.yml new file mode 100644 index 0000000000..c43b5fd1af --- /dev/null +++ b/annotators/prompt_selector/service_configs/multiskill_ai_assistant/environment.yml @@ -0,0 +1,5 @@ +SERVICE_PORT: 8135 +SERVICE_NAME: prompt_selector +N_SENTENCES_TO_RETURN: 3 +PROMPTS_TO_CONSIDER: dream_persona,casual_email,meeting_notes,official_email,plan_for_article +FLASK_APP: server diff --git a/annotators/prompt_selector/service_configs/multiskill_ai_assistant/service.yml b/annotators/prompt_selector/service_configs/multiskill_ai_assistant/service.yml new file mode 100644 index 0000000000..ebeafb6185 --- /dev/null +++ b/annotators/prompt_selector/service_configs/multiskill_ai_assistant/service.yml @@ -0,0 +1,30 @@ +name: prompt-selector +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8135 + SERVICE_NAME: prompt_selector + N_SENTENCES_TO_RETURN: 3 + PROMPTS_TO_CONSIDER: dream_persona,casual_email,meeting_notes,official_email,plan_for_article + FLASK_APP: server + context: . + dockerfile: ./annotators/prompt_selector/Dockerfile + command: flask run -h 0.0.0.0 -p 8135 + environment: + - FLASK_APP=server + deploy: + resources: + limits: + memory: 100M + reservations: + memory: 100M + volumes: + - ./annotators/prompt_selector:/src + - ./common:/src/common + ports: + - 8135:8135 +proxy: null diff --git a/annotators/prompt_selector/service_configs/nutrition_assistant/environment.yml b/annotators/prompt_selector/service_configs/nutrition_assistant/environment.yml new file mode 100644 index 0000000000..c1c6d19093 --- /dev/null +++ b/annotators/prompt_selector/service_configs/nutrition_assistant/environment.yml @@ -0,0 +1,5 @@ +SERVICE_PORT: 8135 +SERVICE_NAME: prompt_selector +N_SENTENCES_TO_RETURN: 3 +PROMPTS_TO_CONSIDER: nutrition +FLASK_APP: server diff --git a/annotators/prompt_selector/service_configs/nutrition_assistant/service.yml b/annotators/prompt_selector/service_configs/nutrition_assistant/service.yml new file mode 100644 index 0000000000..418fe5fbf6 --- /dev/null +++ b/annotators/prompt_selector/service_configs/nutrition_assistant/service.yml @@ -0,0 +1,30 @@ +name: prompt-selector +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8135 + SERVICE_NAME: prompt_selector + N_SENTENCES_TO_RETURN: 3 + PROMPTS_TO_CONSIDER: nutrition + FLASK_APP: server + context: . + dockerfile: ./annotators/prompt_selector/Dockerfile + command: flask run -h 0.0.0.0 -p 8135 + environment: + - FLASK_APP=server + deploy: + resources: + limits: + memory: 100M + reservations: + memory: 100M + volumes: + - ./annotators/prompt_selector:/src + - ./common:/src/common + ports: + - 8135:8135 +proxy: null diff --git a/annotators/prompt_selector/service_configs/prompt-selector-ru/environment.yml b/annotators/prompt_selector/service_configs/prompt-selector-ru/environment.yml new file mode 100644 index 0000000000..34c6caf580 --- /dev/null +++ b/annotators/prompt_selector/service_configs/prompt-selector-ru/environment.yml @@ -0,0 +1,5 @@ +SERVICE_PORT: 8135 +SERVICE_NAME: prompt_selector +N_SENTENCES_TO_RETURN: 3 +PROMPTS_TO_CONSIDER: dream_persona_ru +FLASK_APP: server \ No newline at end of file diff --git a/annotators/prompt_selector/service_configs/prompt-selector-ru/service.yml b/annotators/prompt_selector/service_configs/prompt-selector-ru/service.yml new file mode 100644 index 0000000000..f622c5feb8 --- /dev/null +++ b/annotators/prompt_selector/service_configs/prompt-selector-ru/service.yml @@ -0,0 +1,30 @@ +name: prompt-selector-ru +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8135 + SERVICE_NAME: prompt_selector + N_SENTENCES_TO_RETURN: 3 + PROMPTS_TO_CONSIDER: dream_persona_ru + FLASK_APP: server + context: . + dockerfile: ./annotators/prompt_selector/Dockerfile + command: flask run -h 0.0.0.0 -p 8135 + environment: + - FLASK_APP=server + deploy: + resources: + limits: + memory: 100M + reservations: + memory: 100M + volumes: + - ./annotators/prompt_selector:/src + - ./common:/src/common + ports: + - 8135:8135 +proxy: null diff --git a/annotators/prompt_selector/template.yml b/annotators/prompt_selector/template.yml new file mode 100644 index 0000000000..9fb28e7103 --- /dev/null +++ b/annotators/prompt_selector/template.yml @@ -0,0 +1,13 @@ +- name: prompt_selector_template + display_name: Prompt Selector Template + author: publisher@deeppavlov.ai +# is_customizable: true + description: Template for creating Prompt Selector + endpoints: + - group: annotators + endpoint: respond + config_keys: +# SERVICE_PORT: int + SERVICE_NAME: str + N_SENTENCES_TO_RETURN: int + PROMPTS_TO_CONSIDER: list diff --git a/annotators/property_extraction/component.yml b/annotators/property_extraction/component.yml deleted file mode 100644 index 020966bad0..0000000000 --- a/annotators/property_extraction/component.yml +++ /dev/null @@ -1,23 +0,0 @@ -property-extraction: - name: property_extraction - display_name: Property Extraction - container_name: property-extraction - component_type: null - model_type: ML-based - is_customizable: false - author: DeepPavlov - description: extracts user attributes from utterances - ram_usage: 6.3G - gpu_usage: null - port: 8136 - endpoints: - - group: annotators - endpoint: respond - - group: response_annotators - endpoint: respond - build_args: - CONFIG: t5_generative_ie_lite_infer.json - SERVICE_PORT: 8136 - SRC_DIR: annotators/property_extraction/ - SERVICE_NAME: property_extraction - date_created: '2023-03-16T09:45:32' diff --git a/annotators/property_extraction/service_configs/property-extraction/environment.yml b/annotators/property_extraction/service_configs/property-extraction/environment.yml new file mode 100644 index 0000000000..1e71bb7ee0 --- /dev/null +++ b/annotators/property_extraction/service_configs/property-extraction/environment.yml @@ -0,0 +1,5 @@ +CONFIG: t5_generative_ie_lite_infer.json +SERVICE_PORT: 8136 +SRC_DIR: annotators/property_extraction/ +SERVICE_NAME: property_extraction +FLASK_APP: server diff --git a/annotators/property_extraction/service_configs/property-extraction/service.yml b/annotators/property_extraction/service_configs/property-extraction/service.yml new file mode 100644 index 0000000000..72ad58fdb0 --- /dev/null +++ b/annotators/property_extraction/service_configs/property-extraction/service.yml @@ -0,0 +1,40 @@ +name: property-extraction +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + CONFIG: t5_generative_ie_lite_infer.json + SERVICE_PORT: 8136 + SRC_DIR: annotators/property_extraction/ + SERVICE_NAME: property_extraction + FLASK_APP: server + context: ./ + dockerfile: annotators/property_extraction/Dockerfile + command: flask run -h 0.0.0.0 -p 8136 + environment: + - FLASK_APP=server + deploy: + resources: + limits: + memory: 7G + reservations: + memory: 7G + volumes: + - ./annotators/property_extraction:/src + - ~/.deeppavlov:/root/.deeppavlov + ports: + - 8136:8136 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8136 + - PORT=8136 diff --git a/annotators/rake_keywords/component.yml b/annotators/rake_keywords/component.yml deleted file mode 100644 index b10a0ff8f8..0000000000 --- a/annotators/rake_keywords/component.yml +++ /dev/null @@ -1,19 +0,0 @@ -rake-keywords: - name: rake_keywords - display_name: Rake Keywords - container_name: rake-keywords - component_type: null - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: extracts keywords from utterances with the help of RAKE algorithm - ram_usage: 100M - gpu_usage: null - port: 8007 - endpoints: - - group: annotators - endpoint: respond - build_args: - SERVICE_PORT: 8007 - SERVICE_NAME: rake_keywords - date_created: '2023-03-16T09:45:32' diff --git a/annotators/rake_keywords/pipeline.yml b/annotators/rake_keywords/pipeline.yml deleted file mode 100644 index f61844ea20..0000000000 --- a/annotators/rake_keywords/pipeline.yml +++ /dev/null @@ -1,11 +0,0 @@ -rake-keywords: -- group: annotators - connector: - protocol: http - timeout: 1.0 - url: http://rake-keywords:8007/respond - dialog_formatter: state_formatters.dp_formatters:preproc_last_human_utt_dialog - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - annotators.spelling_preprocessing - state_manager_method: add_annotation diff --git a/annotators/rake_keywords/service_configs/rake-keywords/environment.yml b/annotators/rake_keywords/service_configs/rake-keywords/environment.yml new file mode 100644 index 0000000000..cb8bddb2c7 --- /dev/null +++ b/annotators/rake_keywords/service_configs/rake-keywords/environment.yml @@ -0,0 +1,3 @@ +SERVICE_PORT: 8007 +SERVICE_NAME: rake_keywords +FLASK_APP: server diff --git a/annotators/rake_keywords/service_configs/rake-keywords/service.yml b/annotators/rake_keywords/service_configs/rake-keywords/service.yml new file mode 100644 index 0000000000..c98bdc0387 --- /dev/null +++ b/annotators/rake_keywords/service_configs/rake-keywords/service.yml @@ -0,0 +1,37 @@ +name: rake-keywords +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8007 + SERVICE_NAME: rake_keywords + FLASK_APP: server + context: . + dockerfile: ./annotators/rake_keywords/Dockerfile + command: flask run -h 0.0.0.0 -p 8007 + environment: + - FLASK_APP=server + deploy: + resources: + limits: + memory: 256M + reservations: + memory: 256M + volumes: + - ./annotators/rake_keywords:/src + ports: + - 8007:8007 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8007 + - PORT=8007 diff --git a/annotators/relative_persona_extractor/component.yml b/annotators/relative_persona_extractor/component.yml deleted file mode 100644 index 221db3b2c6..0000000000 --- a/annotators/relative_persona_extractor/component.yml +++ /dev/null @@ -1,21 +0,0 @@ -relative-persona-extractor: - name: relative_persona_extractor - display_name: Relative Persona Extractor - container_name: relative-persona-extractor - component_type: null - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: Annotator utilizing Sentence Ranker to rank persona sentences and selecting - `N_SENTENCES_TO_RETURN` the most relevant sentences - ram_usage: 100M - gpu_usage: null - port: 8133 - endpoints: - - group: annotators - endpoint: respond - build_args: - SERVICE_PORT: 8133 - SERVICE_NAME: relative_persona_extractor - N_SENTENCES_TO_RETURN: 3 - date_created: '2023-03-16T09:45:32' diff --git a/annotators/relative_persona_extractor/pipeline.yml b/annotators/relative_persona_extractor/pipeline.yml deleted file mode 100644 index 30ae5a1f2a..0000000000 --- a/annotators/relative_persona_extractor/pipeline.yml +++ /dev/null @@ -1,11 +0,0 @@ -relative-persona-extractor: -- group: annotators - connector: - protocol: http - timeout: 2.0 - url: http://relative-persona-extractor:8133/respond - dialog_formatter: state_formatters.dp_formatters:context_formatter_dialog - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - annotators.spelling_preprocessing - state_manager_method: add_annotation diff --git a/annotators/relative_persona_extractor/service_configs/relative-persona-extractor/environment.yml b/annotators/relative_persona_extractor/service_configs/relative-persona-extractor/environment.yml new file mode 100644 index 0000000000..2dc9d41ae6 --- /dev/null +++ b/annotators/relative_persona_extractor/service_configs/relative-persona-extractor/environment.yml @@ -0,0 +1,4 @@ +SERVICE_PORT: 8133 +SERVICE_NAME: relative_persona_extractor +N_SENTENCES_TO_RETURN: 3 +FLASK_APP: server diff --git a/annotators/relative_persona_extractor/service_configs/relative-persona-extractor/service.yml b/annotators/relative_persona_extractor/service_configs/relative-persona-extractor/service.yml new file mode 100644 index 0000000000..5058329630 --- /dev/null +++ b/annotators/relative_persona_extractor/service_configs/relative-persona-extractor/service.yml @@ -0,0 +1,39 @@ +name: relative-persona-extractor +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8133 + SERVICE_NAME: relative_persona_extractor + N_SENTENCES_TO_RETURN: 3 + FLASK_APP: server + context: . + dockerfile: ./annotators/relative_persona_extractor/Dockerfile + command: flask run -h 0.0.0.0 -p 8133 + environment: + - FLASK_APP=server + deploy: + resources: + limits: + memory: 100M + reservations: + memory: 100M + volumes: + - ./annotators/relative_persona_extractor:/src + - ./common:/src/common + ports: + - 8133:8133 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8133 + - PORT=8133 diff --git a/annotators/sentseg_ru/component.yml b/annotators/sentseg_ru/component.yml deleted file mode 100644 index 3706010471..0000000000 --- a/annotators/sentseg_ru/component.yml +++ /dev/null @@ -1,23 +0,0 @@ -sentseg-ru: - name: sentseg - display_name: Sentence Segmentation - container_name: sentseg-ru - component_type: null - model_type: NN-based - is_customizable: false - author: DeepPavlov - description: recovers punctuation using ruBert-based (pyTorch) model and splits - into sentences - ram_usage: 2.4G - gpu_usage: 4.9G - port: 8011 - endpoints: - - group: annotators - endpoint: sentseg - - group: response_annotators - endpoint: sentseg - build_args: - CONFIG: sentseg_ru_bert_torch.json - SERVICE_PORT: '8011' - SERVICE_NAME: sentseg - date_created: '2023-03-16T09:45:32' diff --git a/annotators/sentseg_ru/pipeline.yml b/annotators/sentseg_ru/pipeline.yml deleted file mode 100644 index 42860c666e..0000000000 --- a/annotators/sentseg_ru/pipeline.yml +++ /dev/null @@ -1,21 +0,0 @@ -sentseg-ru: -- group: annotators - connector: - protocol: http - timeout: 1.5 - url: http://sentseg-ru:8011/sentseg - dialog_formatter: state_formatters.dp_formatters:preproc_last_human_utt_dialog - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - annotators.spelling_preprocessing - state_manager_method: add_annotation -- group: response_annotators - connector: - protocol: http - timeout: 1.5 - url: http://sentseg-ru:8011/sentseg - dialog_formatter: state_formatters.dp_formatters:last_bot_utt_dialog - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - response_annotator_selectors - state_manager_method: add_annotation_prev_bot_utt diff --git a/annotators/sentseg_ru/service_configs/sentseg-ru/environment.yml b/annotators/sentseg_ru/service_configs/sentseg-ru/environment.yml new file mode 100644 index 0000000000..cf27864f7e --- /dev/null +++ b/annotators/sentseg_ru/service_configs/sentseg-ru/environment.yml @@ -0,0 +1,3 @@ +CONFIG: sentseg_ru_bert_torch.json +CUDA_VISIBLE_DEVICES: '0' +FLASK_APP: server diff --git a/annotators/sentseg_ru/service_configs/sentseg-ru/service.yml b/annotators/sentseg_ru/service_configs/sentseg-ru/service.yml new file mode 100644 index 0000000000..f4a9a31d5a --- /dev/null +++ b/annotators/sentseg_ru/service_configs/sentseg-ru/service.yml @@ -0,0 +1,28 @@ +name: sentseg-ru +endpoints: +- sentseg +compose: + env_file: + - .env_ru + build: + args: + CONFIG: sentseg_ru_bert_torch.json + CUDA_VISIBLE_DEVICES: '0' + FLASK_APP: server + context: ./annotators/sentseg_ru + command: flask run -h 0.0.0.0 -p 8011 + environment: + - CUDA_VISIBLE_DEVICES=0 + - FLASK_APP=server + deploy: + resources: + limits: + memory: 3G + reservations: + memory: 3G + volumes: + - ./annotators/sentseg_ru:/src + - ~/.deeppavlov:/root/.deeppavlov + ports: + - 8011:8011 +proxy: null diff --git a/annotators/spacy_annotator/component.yml b/annotators/spacy_annotator/component.yml deleted file mode 100644 index bcf4a277f5..0000000000 --- a/annotators/spacy_annotator/component.yml +++ /dev/null @@ -1,25 +0,0 @@ -spacy-annotator-ru: - name: spacy_annotator - display_name: Spacy Annotator - container_name: spacy-annotator-ru - component_type: null - model_type: ML-based - is_customizable: false - author: DeepPavlov - description: token-wise annotations by Spacy - ram_usage: 250M - gpu_usage: null - port: 8129 - endpoints: - - group: annotators - endpoint: respond - - group: candidate_annotators - endpoint: respond_batch - build_args: - SERVICE_PORT: 8129 - SRC_DIR: annotators/spacy_annotator - SPACY_MODEL: ru_core_news_sm - TOKEN_ATTRIBUTES: pos_|dep_|lemma_|ent_iob_|ent_type_|morph - ANNOTATE_BATCH_WITH_TOKENS_ONLY: 1 - SERVICE_NAME: spacy_annotator - date_created: '2023-03-16T09:45:32' diff --git a/annotators/spacy_annotator/pipeline.yml b/annotators/spacy_annotator/pipeline.yml deleted file mode 100644 index 9880682af5..0000000000 --- a/annotators/spacy_annotator/pipeline.yml +++ /dev/null @@ -1,19 +0,0 @@ -spacy-annotator-ru: -- group: annotators - connector: - protocol: http - timeout: 1.0 - url: http://spacy-annotator-ru:8129/respond - dialog_formatter: state_formatters.dp_formatters:last_utt_dialog - response_formatter: state_formatters.dp_formatters:simple_formatter_service - state_manager_method: add_annotation_and_reset_human_attributes_for_first_turn -- group: candidate_annotators - connector: - protocol: http - timeout: 1.0 - url: http://spacy-annotator-ru:8129/respond_batch - dialog_formatter: state_formatters.dp_formatters:hypotheses_list - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - skills - state_manager_method: add_hypothesis_annotation_batch diff --git a/annotators/spacy_annotator/service_configs/spacy-annotator-ru/environment.yml b/annotators/spacy_annotator/service_configs/spacy-annotator-ru/environment.yml new file mode 100644 index 0000000000..9e0bb13d55 --- /dev/null +++ b/annotators/spacy_annotator/service_configs/spacy-annotator-ru/environment.yml @@ -0,0 +1,6 @@ +SERVICE_PORT: 8129 +SRC_DIR: annotators/spacy_annotator +SPACY_MODEL: ru_core_news_sm +TOKEN_ATTRIBUTES: pos_|dep_|lemma_|ent_iob_|ent_type_|morph +ANNOTATE_BATCH_WITH_TOKENS_ONLY: 1 +FLASK_APP: server diff --git a/annotators/spacy_annotator/service_configs/spacy-annotator-ru/service.yml b/annotators/spacy_annotator/service_configs/spacy-annotator-ru/service.yml new file mode 100644 index 0000000000..1ea7b5188e --- /dev/null +++ b/annotators/spacy_annotator/service_configs/spacy-annotator-ru/service.yml @@ -0,0 +1,31 @@ +name: spacy-annotator-ru +endpoints: +- respond +- respond_batch +compose: + env_file: + - .env_ru + build: + args: + SERVICE_PORT: 8129 + SRC_DIR: annotators/spacy_annotator + SPACY_MODEL: ru_core_news_sm + TOKEN_ATTRIBUTES: pos_|dep_|lemma_|ent_iob_|ent_type_|morph + ANNOTATE_BATCH_WITH_TOKENS_ONLY: 1 + FLASK_APP: server + context: ./ + dockerfile: annotators/spacy_annotator/Dockerfile + command: flask run -h 0.0.0.0 -p 8129 + environment: + - FLASK_APP=server + deploy: + resources: + limits: + memory: 256M + reservations: + memory: 256M + volumes: + - ./annotators/spacy_annotator:/src + ports: + - 8129:8129 +proxy: null diff --git a/annotators/spacy_nounphrases/component.yml b/annotators/spacy_nounphrases/component.yml deleted file mode 100644 index 61fcf51e17..0000000000 --- a/annotators/spacy_nounphrases/component.yml +++ /dev/null @@ -1,23 +0,0 @@ -spacy-nounphrases: - name: spacy_nounphrases - display_name: Spacy Nounphrases - container_name: spacy-nounphrases - component_type: null - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: extracts nounphrases using Spacy and filters out generic ones - ram_usage: 180M - gpu_usage: null - port: 8006 - endpoints: - - group: annotators - endpoint: respond - - group: response_annotators - endpoint: respond - - group: candidate_annotators - endpoint: respond_batch - build_args: - SERVICE_PORT: 8006 - SERVICE_NAME: spacy_nounphrases - date_created: '2023-03-16T09:45:32' diff --git a/annotators/spacy_nounphrases/pipeline.yml b/annotators/spacy_nounphrases/pipeline.yml deleted file mode 100644 index b464c4877c..0000000000 --- a/annotators/spacy_nounphrases/pipeline.yml +++ /dev/null @@ -1,31 +0,0 @@ -spacy-nounphrases: -- group: annotators - connector: - protocol: http - timeout: 1.0 - url: http://spacy-nounphrases:8006/respond - dialog_formatter: state_formatters.dp_formatters:preproc_last_human_utt_dialog - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - annotators.spelling_preprocessing - state_manager_method: add_annotation -- group: response_annotators - connector: - protocol: http - timeout: 1.0 - url: http://spacy-nounphrases:8006/respond - dialog_formatter: state_formatters.dp_formatters:last_bot_utt_dialog - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - skills - state_manager_method: add_annotation_prev_bot_utt -- group: candidate_annotators - connector: - protocol: http - timeout: 1.0 - url: http://spacy-nounphrases:8006/respond_batch - dialog_formatter: state_formatters.dp_formatters:hypotheses_list - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - skills - state_manager_method: add_hypothesis_annotation_batch diff --git a/annotators/spacy_nounphrases/service_configs/spacy-nounphrases/environment.yml b/annotators/spacy_nounphrases/service_configs/spacy-nounphrases/environment.yml new file mode 100644 index 0000000000..d7c56b707d --- /dev/null +++ b/annotators/spacy_nounphrases/service_configs/spacy-nounphrases/environment.yml @@ -0,0 +1,3 @@ +SERVICE_PORT: 8006 +SERVICE_NAME: spacy_nounphrases +FLASK_APP: server diff --git a/annotators/spacy_nounphrases/service_configs/spacy-nounphrases/service.yml b/annotators/spacy_nounphrases/service_configs/spacy-nounphrases/service.yml new file mode 100644 index 0000000000..2613528a07 --- /dev/null +++ b/annotators/spacy_nounphrases/service_configs/spacy-nounphrases/service.yml @@ -0,0 +1,39 @@ +name: spacy-nounphrases +endpoints: +- respond +- respond_batch +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8006 + SERVICE_NAME: spacy_nounphrases + FLASK_APP: server + context: . + dockerfile: ./annotators/spacy_nounphrases/Dockerfile + command: flask run -h 0.0.0.0 -p 8006 + environment: + - FLASK_APP=server + deploy: + resources: + limits: + memory: 256M + reservations: + memory: 256M + volumes: + - ./annotators/spacy_nounphrases:/src + - ./common:/src/common + ports: + - 8006:8006 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8006 + - PORT=8006 diff --git a/annotators/speech_function_classifier/component.yml b/annotators/speech_function_classifier/component.yml deleted file mode 100644 index 7a74eb3ecf..0000000000 --- a/annotators/speech_function_classifier/component.yml +++ /dev/null @@ -1,24 +0,0 @@ -speech-function-classifier: - name: speech_function_classifier - display_name: Speech Function Classifier - container_name: speech-function-classifier - component_type: null - model_type: NN-based - is_customizable: false - author: DeepPavlov - description: a hierarchical algorithm based on several linear models and a rule-based - approach for the prediction of speech functions described by Eggins and Slade - ram_usage: 1.1G - gpu_usage: 4.5G - port: 8108 - endpoints: - - group: annotators - endpoint: model - - group: response_annotators - endpoint: model - - group: candidate_annotators - endpoint: annotation - build_args: - SERVICE_PORT: 8108 - SERVICE_NAME: speech_function_classifier - date_created: '2023-03-16T09:45:32' diff --git a/annotators/speech_function_classifier/pipeline.yml b/annotators/speech_function_classifier/pipeline.yml deleted file mode 100644 index 30e4123c24..0000000000 --- a/annotators/speech_function_classifier/pipeline.yml +++ /dev/null @@ -1,33 +0,0 @@ -speech-function-classifier: -- group: annotators - connector: - protocol: http - timeout: 5.0 - url: http://speech-function-classifier:8108/model - dialog_formatter: state_formatters.dp_formatters:speech_function_formatter - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - annotators.sentseg - - response_annotators.speech_function_classifier - state_manager_method: add_annotation -- group: response_annotators - connector: - protocol: http - timeout: 5.0 - url: http://speech-function-classifier:8108/model - dialog_formatter: state_formatters.dp_formatters:speech_function_bot_formatter - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - response_annotator_selectors - - response_annotators.sentseg - state_manager_method: add_annotation_prev_bot_utt -- group: candidate_annotators - connector: - protocol: http - timeout: 5.0 - url: http://speech-function-classifier:8108/annotation - dialog_formatter: state_formatters.dp_formatters:speech_function_annotation - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - skills - state_manager_method: add_hypothesis_annotation_batch diff --git a/annotators/speech_function_classifier/service_configs/speech-function-classifier/environment.yml b/annotators/speech_function_classifier/service_configs/speech-function-classifier/environment.yml new file mode 100644 index 0000000000..ed1babdc92 --- /dev/null +++ b/annotators/speech_function_classifier/service_configs/speech-function-classifier/environment.yml @@ -0,0 +1,3 @@ +SERVICE_PORT: 8108 +SERVICE_NAME: speech_function_classifier +CUDA_VISIBLE_DEVICES: '''''' diff --git a/annotators/speech_function_classifier/service_configs/speech-function-classifier/service.yml b/annotators/speech_function_classifier/service_configs/speech-function-classifier/service.yml new file mode 100644 index 0000000000..4844fa6b84 --- /dev/null +++ b/annotators/speech_function_classifier/service_configs/speech-function-classifier/service.yml @@ -0,0 +1,40 @@ +name: speech-function-classifier +endpoints: +- model +- annotation +compose: + build: + args: + SERVICE_PORT: 8108 + SERVICE_NAME: speech_function_classifier + CUDA_VISIBLE_DEVICES: '''''' + context: . + dockerfile: annotators/speech_function_classifier/Dockerfile + command: uvicorn server:app --host 0.0.0.0 --port 8108 + ports: + - 8108:8108 + environment: + - CUDA_VISIBLE_DEVICES='' + deploy: + mode: replicated + replicas: 1 + resources: + limits: + memory: 2.5G + reservations: + memory: 2.5G + volumes: + - ./annotators/speech_function_classifier:/src + - ./common:/src/common + - ~/.deeppavlov/cache:/root/.cache +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=lnsigo.mipt.ru:8108 + - PORT=8108 diff --git a/annotators/speech_function_predictor/component.yml b/annotators/speech_function_predictor/component.yml deleted file mode 100644 index 7474fc7fb3..0000000000 --- a/annotators/speech_function_predictor/component.yml +++ /dev/null @@ -1,22 +0,0 @@ -speech-function-predictor: - name: speech_function_predictor - display_name: Speech Function Predictor - container_name: speech-function-predictor - component_type: null - model_type: NN-based - is_customizable: false - author: DeepPavlov - description: yields probabilities of speech functions that can follow a speech function - predicted by Speech Function Classifier - ram_usage: 1.1G - gpu_usage: 4.5G - port: 8107 - endpoints: - - group: annotators - endpoint: model - - group: candidate_annotators - endpoint: annotation - build_args: - SERVICE_PORT: 8107 - SERVICE_NAME: speech_function_predictor - date_created: '2023-03-16T09:45:32' diff --git a/annotators/speech_function_predictor/pipeline.yml b/annotators/speech_function_predictor/pipeline.yml deleted file mode 100644 index 7b73d0cc49..0000000000 --- a/annotators/speech_function_predictor/pipeline.yml +++ /dev/null @@ -1,21 +0,0 @@ -speech-function-predictor: -- group: annotators - connector: - protocol: http - timeout: 5.0 - url: http://speech-function-predictor:8107/model - dialog_formatter: state_formatters.dp_formatters:speech_function_predictor_formatter - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - annotators.speech_function_classifier - state_manager_method: add_annotation -- group: candidate_annotators - connector: - protocol: http - timeout: 5.0 - url: http://speech-function-predictor:8107/annotation - dialog_formatter: state_formatters.dp_formatters:speech_function_hypotheses_predictor_formatter - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - candidate_annotators.speech_function_classifier - state_manager_method: add_hypothesis_annotation_batch diff --git a/annotators/speech_function_predictor/service_configs/speech-function-predictor/environment.yml b/annotators/speech_function_predictor/service_configs/speech-function-predictor/environment.yml new file mode 100644 index 0000000000..40f12b4017 --- /dev/null +++ b/annotators/speech_function_predictor/service_configs/speech-function-predictor/environment.yml @@ -0,0 +1,2 @@ +SERVICE_PORT: 8107 +SERVICE_NAME: speech_function_predictor diff --git a/annotators/speech_function_predictor/service_configs/speech-function-predictor/service.yml b/annotators/speech_function_predictor/service_configs/speech-function-predictor/service.yml new file mode 100644 index 0000000000..448e96b2ec --- /dev/null +++ b/annotators/speech_function_predictor/service_configs/speech-function-predictor/service.yml @@ -0,0 +1,37 @@ +name: speech-function-predictor +endpoints: +- model +- annotation +compose: + build: + args: + SERVICE_PORT: 8107 + SERVICE_NAME: speech_function_predictor + context: . + dockerfile: annotators/speech_function_predictor/Dockerfile + command: uvicorn server:app --host 0.0.0.0 --port 8107 + ports: + - 8107:8107 + deploy: + mode: replicated + replicas: 1 + resources: + limits: + memory: 768M + reservations: + memory: 768M + volumes: + - ./annotators/speech_function_predictor:/src + - ./common:/src/common + - ~/.deeppavlov/cache:/root/.cache +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=lnsigo.mipt.ru:8107 + - PORT=8107 diff --git a/annotators/spelling_preprocessing/component.yml b/annotators/spelling_preprocessing/component.yml deleted file mode 100644 index 8e761b6664..0000000000 --- a/annotators/spelling_preprocessing/component.yml +++ /dev/null @@ -1,20 +0,0 @@ -spelling-preprocessing: - name: spelling_preprocessing - display_name: Spell Checking - container_name: spelling-preprocessing - component_type: null - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: pattern-based component to rewrite different colloquial expressions - to a more formal style of conversation - ram_usage: 100M - gpu_usage: null - port: 8074 - endpoints: - - group: annotators - endpoint: respond - build_args: - SERVICE_PORT: 8074 - SERVICE_NAME: spelling_preprocessing - date_created: '2023-03-16T09:45:32' diff --git a/annotators/spelling_preprocessing/pipeline.yml b/annotators/spelling_preprocessing/pipeline.yml deleted file mode 100644 index e0d5a53265..0000000000 --- a/annotators/spelling_preprocessing/pipeline.yml +++ /dev/null @@ -1,9 +0,0 @@ -spelling-preprocessing: -- group: annotators - connector: - protocol: http - timeout: 1.0 - url: http://spelling-preprocessing:8074/respond - dialog_formatter: state_formatters.dp_formatters:last_utt_dialog - response_formatter: state_formatters.dp_formatters:simple_formatter_service - state_manager_method: add_annotation_and_reset_human_attributes_for_first_turn diff --git a/annotators/spelling_preprocessing/service_configs/spelling-preprocessing/environment.yml b/annotators/spelling_preprocessing/service_configs/spelling-preprocessing/environment.yml new file mode 100644 index 0000000000..e68033a926 --- /dev/null +++ b/annotators/spelling_preprocessing/service_configs/spelling-preprocessing/environment.yml @@ -0,0 +1,3 @@ +SERVICE_PORT: 8074 +SERVICE_NAME: spelling_preprocessing +FLASK_APP: server diff --git a/annotators/spelling_preprocessing/service_configs/spelling-preprocessing/service.yml b/annotators/spelling_preprocessing/service_configs/spelling-preprocessing/service.yml new file mode 100644 index 0000000000..7ed6de3052 --- /dev/null +++ b/annotators/spelling_preprocessing/service_configs/spelling-preprocessing/service.yml @@ -0,0 +1,36 @@ +name: spelling-preprocessing +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8074 + SERVICE_NAME: spelling_preprocessing + FLASK_APP: server + context: ./annotators/spelling_preprocessing/ + command: flask run -h 0.0.0.0 -p 8074 + environment: + - FLASK_APP=server + deploy: + resources: + limits: + memory: 100M + reservations: + memory: 100M + volumes: + - ./annotators/spelling_preprocessing:/src + ports: + - 8074:8074 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8074 + - PORT=8074 diff --git a/annotators/spelling_preprocessing_dp/component.yml b/annotators/spelling_preprocessing_dp/component.yml deleted file mode 100644 index 63cee75cb3..0000000000 --- a/annotators/spelling_preprocessing_dp/component.yml +++ /dev/null @@ -1,23 +0,0 @@ -spelling-preprocessing-ru: - name: spelling_preprocessing - display_name: Spell Checking - container_name: spelling-preprocessing-ru - component_type: null - model_type: ML-based - is_customizable: false - author: DeepPavlov - description: Russian Levenshtein correction model - ram_usage: 8G - gpu_usage: null - port: 8074 - endpoints: - - group: annotators - endpoint: respond - build_args: - CONFIG: levenshtein_corrector_ru.json - SERVICE_PORT: 8074 - SRC_DIR: annotators/spelling_preprocessing_dp - COMMIT: f5117cd9ad1e64f6c2d970ecaa42fc09ccb23144 - LANGUAGE: RU - SERVICE_NAME: spelling_preprocessing - date_created: '2023-03-16T09:45:32' diff --git a/annotators/spelling_preprocessing_dp/pipeline.yml b/annotators/spelling_preprocessing_dp/pipeline.yml deleted file mode 100644 index 9120d29388..0000000000 --- a/annotators/spelling_preprocessing_dp/pipeline.yml +++ /dev/null @@ -1,9 +0,0 @@ -spelling-preprocessing-ru: -- group: annotators - connector: - protocol: http - timeout: 1.0 - url: http://spelling-preprocessing-ru:8074/respond - dialog_formatter: state_formatters.dp_formatters:last_utt_dialog - response_formatter: state_formatters.dp_formatters:simple_formatter_service - state_manager_method: add_annotation_and_reset_human_attributes_for_first_turn diff --git a/annotators/spelling_preprocessing_dp/service_configs/spelling-preprocessing-ru/environment.yml b/annotators/spelling_preprocessing_dp/service_configs/spelling-preprocessing-ru/environment.yml new file mode 100644 index 0000000000..6822dd82e8 --- /dev/null +++ b/annotators/spelling_preprocessing_dp/service_configs/spelling-preprocessing-ru/environment.yml @@ -0,0 +1,6 @@ +CONFIG: levenshtein_corrector_ru.json +SERVICE_PORT: 8074 +SRC_DIR: annotators/spelling_preprocessing_dp +COMMIT: f5117cd9ad1e64f6c2d970ecaa42fc09ccb23144 +LANGUAGE: RU +FLASK_APP: server diff --git a/annotators/spelling_preprocessing_dp/service_configs/spelling-preprocessing-ru/service.yml b/annotators/spelling_preprocessing_dp/service_configs/spelling-preprocessing-ru/service.yml new file mode 100644 index 0000000000..cf5f189b2d --- /dev/null +++ b/annotators/spelling_preprocessing_dp/service_configs/spelling-preprocessing-ru/service.yml @@ -0,0 +1,31 @@ +name: spelling-preprocessing-ru +endpoints: +- respond +compose: + env_file: + - .env_ru + build: + args: + CONFIG: levenshtein_corrector_ru.json + SERVICE_PORT: 8074 + SRC_DIR: annotators/spelling_preprocessing_dp + COMMIT: f5117cd9ad1e64f6c2d970ecaa42fc09ccb23144 + LANGUAGE: RU + FLASK_APP: server + context: ./ + dockerfile: annotators/spelling_preprocessing_dp/Dockerfile + command: flask run -h 0.0.0.0 -p 8074 + environment: + - FLASK_APP=server + deploy: + resources: + limits: + memory: 8G + reservations: + memory: 8G + volumes: + - ./annotators/spelling_preprocessing_dp:/src + - ~/.deeppavlov:/root/.deeppavlov + ports: + - 8074:8074 +proxy: null diff --git a/annotators/topic_recommendation/component.yml b/annotators/topic_recommendation/component.yml deleted file mode 100644 index 98343acd9b..0000000000 --- a/annotators/topic_recommendation/component.yml +++ /dev/null @@ -1,21 +0,0 @@ -topic-recommendation: - name: topic_recommendation - display_name: Topic Recommendation - container_name: topic-recommendation - component_type: null - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: offers a topic for further conversation using the information about - the discussed topics and user's preferences. Current version is based on Reddit - personalities (see Dream Report for Alexa Prize 4). - ram_usage: 100M - gpu_usage: null - port: 8113 - endpoints: - - group: annotators - endpoint: respond - build_args: - SERVICE_PORT: 8113 - SERVICE_NAME: topic_recommendation - date_created: '2023-03-16T09:45:32' diff --git a/annotators/topic_recommendation/pipeline.yml b/annotators/topic_recommendation/pipeline.yml deleted file mode 100644 index c82a0efbe7..0000000000 --- a/annotators/topic_recommendation/pipeline.yml +++ /dev/null @@ -1,13 +0,0 @@ -topic-recommendation: -- group: annotators - connector: - protocol: http - timeout: 2.0 - url: http://topic-recommendation:8113/respond - dialog_formatter: state_formatters.dp_formatters:topic_recommendation_formatter - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - annotators.spelling_preprocessing - - annotators.sentseg - - annotators.combined_classification - state_manager_method: add_annotation diff --git a/annotators/topic_recommendation/service_configs/topic-recommendation/environment.yml b/annotators/topic_recommendation/service_configs/topic-recommendation/environment.yml new file mode 100644 index 0000000000..fe04ff2f8b --- /dev/null +++ b/annotators/topic_recommendation/service_configs/topic-recommendation/environment.yml @@ -0,0 +1,3 @@ +SERVICE_PORT: 8113 +SERVICE_NAME: topic_recommendation +FLASK_APP: server diff --git a/annotators/topic_recommendation/service_configs/topic-recommendation/service.yml b/annotators/topic_recommendation/service_configs/topic-recommendation/service.yml new file mode 100644 index 0000000000..e1f9307e57 --- /dev/null +++ b/annotators/topic_recommendation/service_configs/topic-recommendation/service.yml @@ -0,0 +1,36 @@ +name: topic-recommendation +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8113 + SERVICE_NAME: topic_recommendation + FLASK_APP: server + context: ./annotators/topic_recommendation/ + command: flask run -h 0.0.0.0 -p 8113 + environment: + - FLASK_APP=server + deploy: + resources: + limits: + memory: 256M + reservations: + memory: 256M + volumes: + - ./annotators/topic_recommendation:/src + ports: + - 8113:8113 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8113 + - PORT=8113 diff --git a/annotators/toxic_classification_ru/component.yml b/annotators/toxic_classification_ru/component.yml deleted file mode 100644 index d185cee022..0000000000 --- a/annotators/toxic_classification_ru/component.yml +++ /dev/null @@ -1,23 +0,0 @@ -toxic-classification-ru: - name: toxic_classification - display_name: Toxic Classification - container_name: toxic-classification-ru - component_type: null - model_type: NN-based - is_customizable: false - author: DeepPavlov - description: Toxic classification model from Transformers specified as PRETRAINED_MODEL_NAME_OR_PATH - ram_usage: 3.5G - gpu_usage: 3G - port: 8126 - endpoints: - - group: annotators - endpoint: respond - - group: candidate_annotators - endpoint: respond_batch - build_args: - SERVICE_PORT: 8126 - PRETRAINED_MODEL_NAME_OR_PATH: s-nlp/russian_toxicity_classifier - LANGUAGE: RU - SERVICE_NAME: toxic_classification - date_created: '2023-03-16T09:45:32' diff --git a/annotators/toxic_classification_ru/pipeline.yml b/annotators/toxic_classification_ru/pipeline.yml deleted file mode 100644 index b8ddcaf43a..0000000000 --- a/annotators/toxic_classification_ru/pipeline.yml +++ /dev/null @@ -1,21 +0,0 @@ -toxic-classification-ru: -- group: annotators - connector: - protocol: http - timeout: 1.0 - url: http://toxic-classification-ru:8126/respond - dialog_formatter: state_formatters.dp_formatters:preproc_last_human_utt_dialog - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - annotators.spelling_preprocessing - state_manager_method: add_annotation -- group: candidate_annotators - connector: - protocol: http - timeout: 1.0 - url: http://toxic-classification-ru:8126/respond_batch - dialog_formatter: state_formatters.dp_formatters:hypotheses_list - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - skills - state_manager_method: add_hypothesis_annotation_batch diff --git a/annotators/toxic_classification_ru/service_configs/toxic-classification-ru/environment.yml b/annotators/toxic_classification_ru/service_configs/toxic-classification-ru/environment.yml new file mode 100644 index 0000000000..08f2dc8f4d --- /dev/null +++ b/annotators/toxic_classification_ru/service_configs/toxic-classification-ru/environment.yml @@ -0,0 +1,5 @@ +SERVICE_PORT: 8126 +PRETRAINED_MODEL_NAME_OR_PATH: s-nlp/russian_toxicity_classifier +LANGUAGE: RU +CUDA_VISIBLE_DEVICES: '0' +FLASK_APP: server diff --git a/annotators/toxic_classification_ru/service_configs/toxic-classification-ru/service.yml b/annotators/toxic_classification_ru/service_configs/toxic-classification-ru/service.yml new file mode 100644 index 0000000000..ad295540e1 --- /dev/null +++ b/annotators/toxic_classification_ru/service_configs/toxic-classification-ru/service.yml @@ -0,0 +1,31 @@ +name: toxic-classification-ru +endpoints: +- respond +- respond_batch +compose: + env_file: + - .env_ru + build: + context: ./annotators/toxic_classification_ru/ + args: + SERVICE_PORT: 8126 + PRETRAINED_MODEL_NAME_OR_PATH: s-nlp/russian_toxicity_classifier + LANGUAGE: RU + CUDA_VISIBLE_DEVICES: '0' + FLASK_APP: server + command: flask run -h 0.0.0.0 -p 8126 + environment: + - CUDA_VISIBLE_DEVICES=0 + - FLASK_APP=server + deploy: + resources: + limits: + memory: 3G + reservations: + memory: 3G + volumes: + - ./annotators/toxic_classification_ru:/src + - ~/.deeppavlov/cache:/root/.cache + ports: + - 8126:8126 +proxy: null diff --git a/annotators/user_persona_extractor/component.yml b/annotators/user_persona_extractor/component.yml deleted file mode 100644 index 3b643e53cd..0000000000 --- a/annotators/user_persona_extractor/component.yml +++ /dev/null @@ -1,20 +0,0 @@ -user-persona-extractor: - name: user_persona_extractor - display_name: User Persona Extractor - container_name: user-persona-extractor - component_type: null - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: determines which age category the user belongs to based on some key - words - ram_usage: 100M - gpu_usage: null - port: 8114 - endpoints: - - group: annotators - endpoint: respond - build_args: - SERVICE_PORT: 8114 - SERVICE_NAME: user_persona_extractor - date_created: '2023-03-16T09:45:32' diff --git a/annotators/user_persona_extractor/pipeline.yml b/annotators/user_persona_extractor/pipeline.yml deleted file mode 100644 index b4377d018d..0000000000 --- a/annotators/user_persona_extractor/pipeline.yml +++ /dev/null @@ -1,11 +0,0 @@ -user-persona-extractor: -- group: annotators - connector: - protocol: http - timeout: 1.0 - url: http://user-persona-extractor:8114/respond - dialog_formatter: state_formatters.dp_formatters:utt_non_punct_dialog - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - annotators.spelling_preprocessing - state_manager_method: update_attributes diff --git a/annotators/user_persona_extractor/service_configs/user-persona-extractor/environment.yml b/annotators/user_persona_extractor/service_configs/user-persona-extractor/environment.yml new file mode 100644 index 0000000000..4e59fe9575 --- /dev/null +++ b/annotators/user_persona_extractor/service_configs/user-persona-extractor/environment.yml @@ -0,0 +1,3 @@ +SERVICE_PORT: 8114 +SERVICE_NAME: user_persona_extractor +FLASK_APP: server diff --git a/annotators/user_persona_extractor/service_configs/user-persona-extractor/service.yml b/annotators/user_persona_extractor/service_configs/user-persona-extractor/service.yml new file mode 100644 index 0000000000..a897675cd9 --- /dev/null +++ b/annotators/user_persona_extractor/service_configs/user-persona-extractor/service.yml @@ -0,0 +1,38 @@ +name: user-persona-extractor +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8114 + SERVICE_NAME: user_persona_extractor + FLASK_APP: server + context: . + dockerfile: ./annotators/user_persona_extractor/Dockerfile + command: flask run -h 0.0.0.0 -p 8114 + environment: + - FLASK_APP=server + deploy: + resources: + limits: + memory: 100M + reservations: + memory: 100M + volumes: + - ./annotators/user_persona_extractor:/src + - ./common:/src/common + ports: + - 8114:8114 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8114 + - PORT=8114 diff --git a/annotators/wiki_parser/component.yml b/annotators/wiki_parser/component.yml deleted file mode 100644 index 8d2b0269e4..0000000000 --- a/annotators/wiki_parser/component.yml +++ /dev/null @@ -1,57 +0,0 @@ -wiki-parser: - name: wiki_parser - display_name: Wiki Parser - container_name: wiki-parser - component_type: null - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: extracts Wikidata triplets for the entities detected with Entity Linking - ram_usage: 100M - gpu_usage: null - port: 8077 - endpoints: - - group: annotators - endpoint: model - - group: services - endpoint: model - build_args: - SERVICE_PORT: 8077 - SERVICE_NAME: wiki_parser - WIKI_LITE_DB: http://files.deeppavlov.ai/kbqa/wikidata/wikidata2022.hdt - WIKI_LITE_INDEX_DB: http://files.deeppavlov.ai/kbqa/wikidata/wikidata2022.hdt.index.v1-1 - WIKI_CACHE_DB: http://files.deeppavlov.ai/kbqa/wikidata/wikidata_cache.json - CONFIG: wiki_parser.json - SRC_DIR: annotators/wiki_parser - COMMIT: ff5b156d16a949c3ec99da7fb60ae907dec37a41 - FAST: 1 - date_created: '2023-03-16T09:45:32' -wiki-parser-ru: - name: wiki_parser - display_name: Wiki Parser - container_name: wiki-parser-ru - component_type: null - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: extracts Wikidata triplets for the entities detected with Entity Linking - ram_usage: 100M - gpu_usage: null - port: 8077 - endpoints: - - group: annotators - endpoint: model - - group: services - endpoint: model - build_args: - SERVICE_PORT: 8077 - SERVICE_NAME: wiki_parser - WIKI_LITE_DB: http://files.deeppavlov.ai/kbqa/wikidata/wikidata2022.hdt - WIKI_LITE_INDEX_DB: http://files.deeppavlov.ai/kbqa/wikidata/wikidata2022.hdt.index.v1-1 - WIKI_CACHE_DB: http://files.deeppavlov.ai/kbqa/wikidata/wikidata_cache.json - CONFIG: wiki_parser.json - SRC_DIR: annotators/wiki_parser - COMMIT: ff5b156d16a949c3ec99da7fb60ae907dec37a41 - LANGUAGE: RU - FAST: 1 - date_created: '2023-03-16T09:45:32' diff --git a/annotators/wiki_parser/pipeline.yml b/annotators/wiki_parser/pipeline.yml deleted file mode 100644 index 5264276adf..0000000000 --- a/annotators/wiki_parser/pipeline.yml +++ /dev/null @@ -1,22 +0,0 @@ -wiki-parser: -- group: annotators - connector: - protocol: http - timeout: 1.0 - url: http://wiki-parser:8077/model - dialog_formatter: state_formatters.dp_formatters:wp_formatter_dialog - response_formatter: state_formatters.dp_formatters:simple_formatter_service - required_previous_services: - - annotators.entity_linking - state_manager_method: add_annotation -wiki-parser-ru: -- group: annotators - connector: - protocol: http - timeout: 1.0 - url: http://wiki-parser-ru:8077/model - dialog_formatter: state_formatters.dp_formatters:wp_formatter_dialog - response_formatter: state_formatters.dp_formatters:simple_formatter_service - required_previous_services: - - annotators.entity_linking - state_manager_method: add_annotation diff --git a/annotators/wiki_parser/service_configs/wiki-parser-ru/environment.yml b/annotators/wiki_parser/service_configs/wiki-parser-ru/environment.yml new file mode 100644 index 0000000000..55d82e8822 --- /dev/null +++ b/annotators/wiki_parser/service_configs/wiki-parser-ru/environment.yml @@ -0,0 +1,12 @@ +SERVICE_PORT: 8077 +SERVICE_NAME: wiki_parser +WIKI_LITE_DB: http://files.deeppavlov.ai/kbqa/wikidata/wikidata2022.hdt +WIKI_LITE_INDEX_DB: http://files.deeppavlov.ai/kbqa/wikidata/wikidata2022.hdt.index.v1-1 +WIKI_CACHE_DB: http://files.deeppavlov.ai/kbqa/wikidata/wikidata_cache.json +CONFIG: wiki_parser.json +SRC_DIR: annotators/wiki_parser +COMMIT: ff5b156d16a949c3ec99da7fb60ae907dec37a41 +LANGUAGE: RU +FAST: 1 +CUDA_VISIBLE_DEVICES: '''''' +FLASK_APP: server diff --git a/annotators/wiki_parser/service_configs/wiki-parser-ru/service.yml b/annotators/wiki_parser/service_configs/wiki-parser-ru/service.yml new file mode 100644 index 0000000000..3781633358 --- /dev/null +++ b/annotators/wiki_parser/service_configs/wiki-parser-ru/service.yml @@ -0,0 +1,38 @@ +name: wiki-parser-ru +endpoints: +- model +compose: + env_file: + - .env_ru + build: + args: + SERVICE_PORT: 8077 + SERVICE_NAME: wiki_parser + WIKI_LITE_DB: http://files.deeppavlov.ai/kbqa/wikidata/wikidata2022.hdt + WIKI_LITE_INDEX_DB: http://files.deeppavlov.ai/kbqa/wikidata/wikidata2022.hdt.index.v1-1 + WIKI_CACHE_DB: http://files.deeppavlov.ai/kbqa/wikidata/wikidata_cache.json + CONFIG: wiki_parser.json + SRC_DIR: annotators/wiki_parser + COMMIT: ff5b156d16a949c3ec99da7fb60ae907dec37a41 + LANGUAGE: RU + FAST: 1 + CUDA_VISIBLE_DEVICES: '''''' + FLASK_APP: server + context: ./ + dockerfile: annotators/wiki_parser/Dockerfile + command: flask run -h 0.0.0.0 -p 8077 + environment: + - CUDA_VISIBLE_DEVICES='' + - FLASK_APP=server + deploy: + resources: + limits: + memory: 256M + reservations: + memory: 256M + volumes: + - ./annotators/wiki_parser:/src + - ./common:/src/common + ports: + - 8077:8077 +proxy: null diff --git a/annotators/wiki_parser/service_configs/wiki-parser/environment.yml b/annotators/wiki_parser/service_configs/wiki-parser/environment.yml new file mode 100644 index 0000000000..353d89d23b --- /dev/null +++ b/annotators/wiki_parser/service_configs/wiki-parser/environment.yml @@ -0,0 +1,11 @@ +SERVICE_PORT: 8077 +SERVICE_NAME: wiki_parser +WIKI_LITE_DB: http://files.deeppavlov.ai/kbqa/wikidata/wikidata2022.hdt +WIKI_LITE_INDEX_DB: http://files.deeppavlov.ai/kbqa/wikidata/wikidata2022.hdt.index.v1-1 +WIKI_CACHE_DB: http://files.deeppavlov.ai/kbqa/wikidata/wikidata_cache.json +CONFIG: wiki_parser.json +SRC_DIR: annotators/wiki_parser +COMMIT: ff5b156d16a949c3ec99da7fb60ae907dec37a41 +FAST: 1 +CUDA_VISIBLE_DEVICES: '''''' +FLASK_APP: server diff --git a/annotators/wiki_parser/service_configs/wiki-parser/service.yml b/annotators/wiki_parser/service_configs/wiki-parser/service.yml new file mode 100644 index 0000000000..c3cb225851 --- /dev/null +++ b/annotators/wiki_parser/service_configs/wiki-parser/service.yml @@ -0,0 +1,47 @@ +name: wiki-parser +endpoints: +- model +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8077 + SERVICE_NAME: wiki_parser + WIKI_LITE_DB: http://files.deeppavlov.ai/kbqa/wikidata/wikidata2022.hdt + WIKI_LITE_INDEX_DB: http://files.deeppavlov.ai/kbqa/wikidata/wikidata2022.hdt.index.v1-1 + WIKI_CACHE_DB: http://files.deeppavlov.ai/kbqa/wikidata/wikidata_cache.json + CONFIG: wiki_parser.json + SRC_DIR: annotators/wiki_parser + COMMIT: ff5b156d16a949c3ec99da7fb60ae907dec37a41 + FAST: 1 + CUDA_VISIBLE_DEVICES: '''''' + FLASK_APP: server + context: ./ + dockerfile: annotators/wiki_parser/Dockerfile + command: flask run -h 0.0.0.0 -p 8077 + environment: + - CUDA_VISIBLE_DEVICES='' + - FLASK_APP=server + deploy: + resources: + limits: + memory: 256M + reservations: + memory: 256M + volumes: + - ./annotators/wiki_parser:/src + - ./common:/src/common + ports: + - 8077:8077 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8077 + - PORT=8077 diff --git a/assistant_dists/ai_faq_assistant/pipeline_conf.json b/assistant_dists/ai_faq_assistant/pipeline_conf.json index 28d0a3f521..dd0289e554 100644 --- a/assistant_dists/ai_faq_assistant/pipeline_conf.json +++ b/assistant_dists/ai_faq_assistant/pipeline_conf.json @@ -27,8 +27,8 @@ "last_chance" ], "source": { - "directory": "services/last_chance_service", - "container": "agent" + "component": "components/70NLr5qqOow5.yml", + "service": "services/agent_services/service_configs/ai_faq_assistant" } }, "timeout_service": { @@ -51,8 +51,8 @@ "timeout" ], "source": { - "directory": "services/timeout_service", - "container": "agent" + "component": "components/x8rLTpIWct4P.yml", + "service": "services/agent_services/service_configs/ai_faq_assistant" } }, "response_annotator_selectors": { @@ -69,8 +69,8 @@ ], "is_enabled": true, "source": { - "directory": "services/response_annotator_selectors", - "container": "agent" + "component": "components/LXrJDIf43gwNmPMNXG5Eg.yml", + "service": "services/response_annotator_selectors/service_configs/agent" } }, "response_annotators": { @@ -88,9 +88,8 @@ "state_manager_method": "add_annotation_prev_bot_utt", "is_enabled": true, "source": { - "directory": "annotators/SentSeg", - "container": "sentseg", - "endpoint": "sentseg" + "component": "components/1Q9QXih1U2zhCpVm9zxdsA.yml", + "service": "annotators/SentSeg/service_configs/sentseg" } } }, @@ -103,14 +102,12 @@ }, "dialog_formatter": "state_formatters.dp_formatters:preproc_last_human_utt_dialog", "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", - "previous_services": [ - ], + "previous_services": [], "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/SentSeg", - "container": "sentseg", - "endpoint": "sentseg" + "component": "components/gM4fEjvVqLlSRRRkQfds2g.yml", + "service": "annotators/SentSeg/service_configs/sentseg" } }, "prompt_selector": { @@ -121,14 +118,12 @@ }, "dialog_formatter": "state_formatters.dp_formatters:context_formatter_dialog", "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", - "previous_services": [ - ], + "previous_services": [], "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/prompt_selector", - "container": "prompt-selector", - "endpoint": "respond" + "component": "components/fOud1KbT6qhY.yml", + "service": "annotators/prompt_selector/service_configs/ai_faq_assistant" } } }, @@ -148,8 +143,8 @@ ], "is_enabled": true, "source": { - "directory": "skill_selectors/rule_based_selector", - "container": "agent" + "component": "components/xSwFvtAUdvtQosvzpb7oMg.yml", + "service": "skill_selectors/rule_based_selector/service_configs/agent" } } }, @@ -160,7 +155,10 @@ "timeout": 10.0, "url": "http://dff-ai-faq-prompted-skill:8143/respond" }, - "dialog_formatter": "state_formatters.dp_formatters:dff_ai_faq_prompted_skill_formatter", + "dialog_formatter": { + "name": "state_formatters.dp_formatters:dff_prompted_skill_formatter", + "skill_name": "dff_ai_faq_prompted_skill" + }, "response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service", "previous_services": [ "skill_selectors" @@ -168,9 +166,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_template_prompted_skill", - "container": "dff-ai-faq-prompted-skill", - "endpoint": "respond" + "component": "components/sQjaqWKJjVWjVEIbNuA.yml", + "service": "skills/dff_template_prompted_skill/service_configs/dff-ai-faq-prompted-skill" } }, "dummy_skill": { @@ -186,8 +183,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dummy_skill", - "container": "agent" + "component": "components/uYkoK0vRp4bbIg9akI1yw.yml", + "service": "skills/dummy_skill/service_configs/agent" } } }, @@ -206,9 +203,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "annotators/combined_classification", - "container": "combined-classification", - "endpoint": "batch_model" + "component": "components/PbLNvh4hrvs47rPaf2bfYQ.yml", + "service": "annotators/combined_classification/service_configs/combined-classification" } }, "sentence_ranker": { @@ -225,9 +221,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "services/sentence_ranker", - "container": "sentence-ranker", - "endpoint": "respond" + "component": "components/XGwmAHtAOu0NDqqG3QCJw.yml", + "service": "services/sentence_ranker/service_configs/sentence-ranker" } } }, @@ -246,9 +241,8 @@ "state_manager_method": "add_bot_utterance", "is_enabled": true, "source": { - "directory": "response_selectors/ranking_based_response_selector", - "container": "ranking-based-response-selector", - "endpoint": "respond" + "component": "components/YJzc7NwGrLmKp6gfZJh7X1.yml", + "service": "response_selectors/ranking_based_response_selector/service_configs/ranking-based-response-selector" } } } diff --git a/assistant_dists/deeppavlov_assistant/pipeline_conf.json b/assistant_dists/deeppavlov_assistant/pipeline_conf.json index 24d4e53edb..c6a7dbf58b 100644 --- a/assistant_dists/deeppavlov_assistant/pipeline_conf.json +++ b/assistant_dists/deeppavlov_assistant/pipeline_conf.json @@ -5,16 +5,15 @@ "protocol": "python", "class_name": "PredefinedTextConnector", "response_text": "Sorry, something went wrong inside. Please tell me, what did you say.", - "annotations": { - } + "annotations": {} }, "state_manager_method": "add_bot_utterance_last_chance", "tags": [ "last_chance" ], "source": { - "directory": "services/last_chance_service", - "container": "agent" + "component": "components/XZhbQ6HldVwk.yml", + "service": "services/agent_services/service_configs/deeppavlov_assistant" } }, "timeout_service": { @@ -22,16 +21,15 @@ "protocol": "python", "class_name": "PredefinedTextConnector", "response_text": "Sorry, I need to think more on that. Let's talk about something else.", - "annotations": { - } + "annotations": {} }, "state_manager_method": "add_bot_utterance_last_chance", "tags": [ "timeout" ], "source": { - "directory": "services/timeout_service", - "container": "agent" + "component": "components/HPjIdUO3Ux41.yml", + "service": "services/agent_services/service_configs/deeppavlov_assistant" } }, "response_annotator_selectors": { @@ -48,12 +46,11 @@ ], "is_enabled": true, "source": { - "directory": "services/response_annotator_selectors", - "container": "agent" + "component": "components/LXrJDIf43gwNmPMNXG5Eg.yml", + "service": "services/response_annotator_selectors/service_configs/agent" } }, - "response_annotators": { - }, + "response_annotators": {}, "annotators": { "prompt_selector": { "connector": { @@ -63,14 +60,12 @@ }, "dialog_formatter": "state_formatters.dp_formatters:context_formatter_dialog", "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", - "previous_services": [ - ], + "previous_services": [], "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/prompt_selector", - "container": "prompt-selector", - "endpoint": "respond" + "component": "components/VFdfQBQqBODF.yml", + "service": "annotators/prompt_selector/service_configs/deeppavlov_assistant" } } }, @@ -90,8 +85,8 @@ ], "is_enabled": true, "source": { - "directory": "skill_selectors/rule_based_selector", - "container": "agent" + "component": "components/xSwFvtAUdvtQosvzpb7oMg.yml", + "service": "skill_selectors/rule_based_selector/service_configs/agent" } } }, @@ -102,7 +97,10 @@ "timeout": 15.0, "url": "http://dff-deeppavlov-prompted-skill:8146/respond" }, - "dialog_formatter": "state_formatters.dp_formatters:dff_deeppavlov_prompted_skill_formatter", + "dialog_formatter": { + "name": "state_formatters.dp_formatters:dff_prompted_skill_formatter", + "skill_name": "dff_deeppavlov_prompted_skill" + }, "response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service", "previous_services": [ "skill_selectors" @@ -110,9 +108,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_template_prompted_skill", - "container": "dff-deeppavlov-prompted-skill", - "endpoint": "respond" + "component": "components/1JUPwwo1SZzxuj4RXjI350.yml", + "service": "skills/dff_template_prompted_skill/service_configs/dff-deeppavlov-prompted-skill" } }, "dummy_skill": { @@ -128,8 +125,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dummy_skill", - "container": "agent" + "component": "components/uYkoK0vRp4bbIg9akI1yw.yml", + "service": "skills/dummy_skill/service_configs/agent" } } }, @@ -148,9 +145,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "services/sentence_ranker", - "container": "sentence-ranker", - "endpoint": "respond" + "component": "components/XGwmAHtAOu0NDqqG3QCJw.yml", + "service": "services/sentence_ranker/service_configs/sentence-ranker" } } }, @@ -169,9 +165,8 @@ "state_manager_method": "add_bot_utterance", "is_enabled": true, "source": { - "directory": "response_selectors/ranking_based_response_selector", - "container": "ranking-based-response-selector", - "endpoint": "respond" + "component": "components/YJzc7NwGrLmKp6gfZJh7X1.yml", + "service": "response_selectors/ranking_based_response_selector/service_configs/ranking-based-response-selector" } } } diff --git a/assistant_dists/deepy_adv/pipeline_conf.json b/assistant_dists/deepy_adv/pipeline_conf.json index 1c0ee86c75..92ca48e3ba 100644 --- a/assistant_dists/deepy_adv/pipeline_conf.json +++ b/assistant_dists/deepy_adv/pipeline_conf.json @@ -13,8 +13,8 @@ ], "is_enabled": true, "source": { - "directory": "services/last_chance_service", - "container": "agent" + "component": "components/CJSHsz2Ac5ul.yml", + "service": "services/agent_services/service_configs/deepy_adv" } }, "timeout_service": { @@ -29,8 +29,8 @@ ], "is_enabled": true, "source": { - "directory": "services/timeout_service", - "container": "agent" + "component": "components/zM6WUEh2x3PC.yml", + "service": "services/agent_services/service_configs/deepy_adv" } }, "annotators": { @@ -42,12 +42,12 @@ }, "dialog_formatter": "state_formatters.dp_formatters:last_utt_dialog", "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", + "previous_services": [], "state_manager_method": "add_annotation_and_reset_human_attributes_for_first_turn", "is_enabled": true, "source": { - "directory": "annotators/spelling_preprocessing", - "container": "spelling-preprocessing", - "endpoint": "respond" + "component": "components/pGxj32ic41pvquRXUdqc7A.yml", + "service": "annotators/spelling_preprocessing/service_configs/spelling-preprocessing" } }, "entity_linking": { @@ -60,9 +60,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/entity_linking_deepy", - "container": "entity-linking-deepy", - "endpoint": "model" + "component": "components/1hNMgFlLT00Lc1s41yqbxA.yml", + "service": "annotators/entity_linking_deepy/service_configs/entity-linking-deepy" } }, "sentseg": { @@ -76,9 +75,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/SentSeg", - "container": "sentseg", - "endpoint": "sentseg" + "component": "components/gM4fEjvVqLlSRRRkQfds2g.yml", + "service": "annotators/SentSeg/service_configs/sentseg" } }, "intent_catcher": { @@ -89,19 +87,36 @@ }, "dialog_formatter": "state_formatters.dp_formatters:last_utt_sentseg_segments_dialog", "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", - "required_previous_services": [ + "previous_services": [ "annotators.spelling_preprocessing", "annotators.sentseg" ], "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/IntentCatcherTransformers", - "container": "intent-catcher", - "endpoint": "detect" + "component": "components/1IjC3r9b1VJ082ceINXzHQ.yml", + "service": "annotators/IntentCatcherTransformers/service_configs/intent-catcher" } } }, + "response_annotator_selectors": { + "connector": { + "protocol": "python", + "class_name": "skill_selectors.post_annotator_selector.connector:PostAnnotatorSelectorConnector", + "annotator_names": [ + "sentseg" + ] + }, + "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", + "tags": [ + "selector" + ], + "is_enabled": true, + "source": { + "component": "components/LXrJDIf43gwNmPMNXG5Eg.yml", + "service": "services/response_annotator_selectors/service_configs/agent" + } + }, "response_annotators": { "emotion_classification": { "connector": { @@ -117,12 +132,12 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "annotators/emotion_classification_deepy", - "container": "emotion-classification-deepy", - "endpoint": "model" + "component": "components/7dhiDqHqK6TYOAJAKK7grg.yml", + "service": "annotators/emotion_classification_deepy/service_configs/emotion-classification-deepy" } } }, + "skill_selectors": {}, "skills": { "harvesters_maintenance_gobot_skill": { "connector": { @@ -137,9 +152,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/harvesters_maintenance_gobot_skill_deepy", - "container": "harvesters-maintenance-gobot-skill", - "endpoint": "respond" + "component": "components/LUSJ19c38uOLAVZWYs5U8g.yml", + "service": "skills/harvesters_maintenance_gobot_skill_deepy/service_configs/harvesters-maintenance-gobot-skill" } }, "dff_program_y_skill": { @@ -156,12 +170,12 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_program_y_skill", - "container": "dff-program-y-skill", - "endpoint": "respond" + "component": "components/ckUclxqUplyzwmnYyixEw.yml", + "service": "skills/dff_program_y_skill/service_configs/dff-program-y-skill" } } }, + "candidate_annotators": {}, "response_selectors": { "response_selector": { "connector": { @@ -176,9 +190,8 @@ "state_manager_method": "add_bot_utterance", "is_enabled": true, "source": { - "directory": "response_selectors/rule_based_response_selector", - "container": "rule-based-response-selector", - "endpoint": "respond" + "component": "components/KX4drAocVa5APcivWHeBNQ.yml", + "service": "response_selectors/rule_based_response_selector/service_configs/rule-based-response-selector" } } } diff --git a/assistant_dists/deepy_assistant/pipeline_conf.json b/assistant_dists/deepy_assistant/pipeline_conf.json index 8d8ff20128..2aa95c4507 100644 --- a/assistant_dists/deepy_assistant/pipeline_conf.json +++ b/assistant_dists/deepy_assistant/pipeline_conf.json @@ -5,16 +5,15 @@ "protocol": "python", "class_name": "PredefinedTextConnector", "response_text": "Sorry, something went wrong inside. Please tell me, what did you say.", - "annotations": { - } + "annotations": {} }, "state_manager_method": "add_bot_utterance_last_chance", "tags": [ "last_chance" ], "source": { - "directory": "services/last_chance_service", - "container": "agent" + "component": "components/5CCnaSNbKTaB.yml", + "service": "services/agent_services/service_configs/deepy_assistant" } }, "timeout_service": { @@ -22,16 +21,15 @@ "protocol": "python", "class_name": "PredefinedTextConnector", "response_text": "Sorry, I need to think more on that. Let's talk about something else.", - "annotations": { - } + "annotations": {} }, "state_manager_method": "add_bot_utterance_last_chance", "tags": [ "timeout" ], "source": { - "directory": "services/timeout_service", - "container": "agent" + "component": "components/szmBYf8nY11l.yml", + "service": "services/agent_services/service_configs/deepy_assistant" } }, "response_annotator_selectors": { @@ -48,12 +46,11 @@ ], "is_enabled": true, "source": { - "directory": "services/response_annotator_selectors", - "container": "agent" + "component": "components/LXrJDIf43gwNmPMNXG5Eg.yml", + "service": "services/response_annotator_selectors/service_configs/agent" } }, - "response_annotators": { - }, + "response_annotators": {}, "annotators": { "prompt_selector": { "connector": { @@ -63,14 +60,12 @@ }, "dialog_formatter": "state_formatters.dp_formatters:context_formatter_dialog", "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", - "previous_services": [ - ], + "previous_services": [], "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/prompt_selector", - "container": "prompt-selector", - "endpoint": "respond" + "component": "components/P6oHJQFf89qG.yml", + "service": "annotators/prompt_selector/service_configs/deepy_assistant" } } }, @@ -90,8 +85,8 @@ ], "is_enabled": true, "source": { - "directory": "skill_selectors/rule_based_selector", - "container": "agent" + "component": "components/xSwFvtAUdvtQosvzpb7oMg.yml", + "service": "skill_selectors/rule_based_selector/service_configs/agent" } } }, @@ -99,10 +94,13 @@ "dff_deepy_prompted_skill": { "connector": { "protocol": "http", - "timeout": 7.0, + "timeout": 10.0, "url": "http://dff-deepy-prompted-skill:8148/respond" }, - "dialog_formatter": "state_formatters.dp_formatters:dff_deepy_prompted_skill_formatter", + "dialog_formatter": { + "name": "state_formatters.dp_formatters:dff_prompted_skill_formatter", + "skill_name": "dff_deepy_prompted_skill" + }, "response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service", "previous_services": [ "skill_selectors" @@ -110,9 +108,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_template_prompted_skill", - "container": "dff-deepy-prompted-skill", - "endpoint": "respond" + "component": "components/IiXGzRszejsDfy8VcgI9A.yml", + "service": "skills/dff_template_prompted_skill/service_configs/dff-deepy-prompted-skill" } }, "dummy_skill": { @@ -128,8 +125,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dummy_skill", - "container": "agent" + "component": "components/uYkoK0vRp4bbIg9akI1yw.yml", + "service": "skills/dummy_skill/service_configs/agent" } } }, @@ -148,9 +145,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "services/sentence_ranker", - "container": "sentence-ranker", - "endpoint": "respond" + "component": "components/XGwmAHtAOu0NDqqG3QCJw.yml", + "service": "services/sentence_ranker/service_configs/sentence-ranker" } } }, @@ -169,9 +165,8 @@ "state_manager_method": "add_bot_utterance", "is_enabled": true, "source": { - "directory": "response_selectors/ranking_based_response_selector", - "container": "ranking-based-response-selector", - "endpoint": "respond" + "component": "components/YJzc7NwGrLmKp6gfZJh7X1.yml", + "service": "response_selectors/ranking_based_response_selector/service_configs/ranking-based-response-selector" } } } diff --git a/assistant_dists/deepy_base/pipeline_conf.json b/assistant_dists/deepy_base/pipeline_conf.json index b33d247af1..a0b8c743b0 100644 --- a/assistant_dists/deepy_base/pipeline_conf.json +++ b/assistant_dists/deepy_base/pipeline_conf.json @@ -13,8 +13,8 @@ ], "is_enabled": true, "source": { - "directory": "services/last_chance_service", - "container": "agent" + "component": "components/JC93rfUXvRXa.yml", + "service": "services/agent_services/service_configs/deepy_base" } }, "timeout_service": { @@ -29,8 +29,8 @@ ], "is_enabled": true, "source": { - "directory": "services/timeout_service", - "container": "agent" + "component": "components/JqdQTo5rdzNI.yml", + "service": "services/agent_services/service_configs/deepy_base" } }, "annotators": { @@ -42,15 +42,33 @@ }, "dialog_formatter": "state_formatters.dp_formatters:last_utt_dialog", "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", + "previous_services": [], "state_manager_method": "add_annotation_and_reset_human_attributes_for_first_turn", "is_enabled": true, "source": { - "directory": "annotators/spelling_preprocessing", - "container": "spelling-preprocessing", - "endpoint": "respond" + "component": "components/pGxj32ic41pvquRXUdqc7A.yml", + "service": "annotators/spelling_preprocessing/service_configs/spelling-preprocessing" } } }, + "response_annotator_selectors": { + "connector": { + "protocol": "python", + "class_name": "skill_selectors.post_annotator_selector.connector:PostAnnotatorSelectorConnector", + "annotator_names": [ + "sentseg" + ] + }, + "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", + "tags": [ + "selector" + ], + "is_enabled": true, + "source": { + "component": "components/LXrJDIf43gwNmPMNXG5Eg.yml", + "service": "services/response_annotator_selectors/service_configs/agent" + } + }, "response_annotators": { "emotion_classification": { "connector": { @@ -66,12 +84,12 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "annotators/emotion_classification_deepy", - "container": "emotion-classification-deepy", - "endpoint": "model" + "component": "components/7dhiDqHqK6TYOAJAKK7grg.yml", + "service": "annotators/emotion_classification_deepy/service_configs/emotion-classification-deepy" } } }, + "skill_selectors": {}, "skills": { "harvesters_maintenance_skill": { "connector": { @@ -86,9 +104,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/harvesters_maintenance_skill_deepy", - "container": "harvesters-maintenance-skill", - "endpoint": "respond" + "component": "components/hScAhxQyky9hbpHFZ2bFPg.yml", + "service": "skills/harvesters_maintenance_skill_deepy/service_configs/harvesters-maintenance-skill" } }, "dff_program_y_skill": { @@ -105,12 +122,12 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_program_y_skill", - "container": "dff-program-y-skill", - "endpoint": "respond" + "component": "components/ckUclxqUplyzwmnYyixEw.yml", + "service": "skills/dff_program_y_skill/service_configs/dff-program-y-skill" } } }, + "candidate_annotators": {}, "response_selectors": { "response_selector": { "connector": { @@ -125,9 +142,8 @@ "state_manager_method": "add_bot_utterance", "is_enabled": true, "source": { - "directory": "response_selectors/rule_based_response_selector", - "container": "rule-based-response-selector", - "endpoint": "respond" + "component": "components/KX4drAocVa5APcivWHeBNQ.yml", + "service": "response_selectors/rule_based_response_selector/service_configs/rule-based-response-selector" } } } diff --git a/assistant_dists/deepy_faq/pipeline_conf.json b/assistant_dists/deepy_faq/pipeline_conf.json index 00d2f9e25a..29942136f9 100644 --- a/assistant_dists/deepy_faq/pipeline_conf.json +++ b/assistant_dists/deepy_faq/pipeline_conf.json @@ -13,8 +13,8 @@ ], "is_enabled": true, "source": { - "directory": "services/last_chance_service", - "container": "agent" + "component": "components/OpwVmWKiYYsK.yml", + "service": "services/agent_services/service_configs/deepy_faq" } }, "timeout_service": { @@ -29,8 +29,8 @@ ], "is_enabled": true, "source": { - "directory": "services/timeout_service", - "container": "agent" + "component": "components/LB9M2ATJRuRM.yml", + "service": "services/agent_services/service_configs/deepy_faq" } }, "annotators": { @@ -42,15 +42,33 @@ }, "dialog_formatter": "state_formatters.dp_formatters:last_utt_dialog", "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", + "previous_services": [], "state_manager_method": "add_annotation_and_reset_human_attributes_for_first_turn", "is_enabled": true, "source": { - "directory": "annotators/spelling_preprocessing", - "container": "spelling-preprocessing", - "endpoint": "respond" + "component": "components/pGxj32ic41pvquRXUdqc7A.yml", + "service": "annotators/spelling_preprocessing/service_configs/spelling-preprocessing" } } }, + "response_annotator_selectors": { + "connector": { + "protocol": "python", + "class_name": "skill_selectors.post_annotator_selector.connector:PostAnnotatorSelectorConnector", + "annotator_names": [ + "sentseg" + ] + }, + "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", + "tags": [ + "selector" + ], + "is_enabled": true, + "source": { + "component": "components/LXrJDIf43gwNmPMNXG5Eg.yml", + "service": "services/response_annotator_selectors/service_configs/agent" + } + }, "response_annotators": { "emotion_classification": { "connector": { @@ -66,12 +84,12 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "annotators/emotion_classification_deepy", - "container": "emotion-classification-deepy", - "endpoint": "model" + "component": "components/7dhiDqHqK6TYOAJAKK7grg.yml", + "service": "annotators/emotion_classification_deepy/service_configs/emotion-classification-deepy" } } }, + "skill_selectors": {}, "skills": { "faq_skill": { "connector": { @@ -86,9 +104,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/faq_skill_deepy", - "container": "faq-skill", - "endpoint": "respond" + "component": "components/Tlo3lSEJHo570onfHN8w.yml", + "service": "skills/faq_skill_deepy/service_configs/faq-skill" } }, "dff_program_y_skill": { @@ -105,12 +122,12 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_program_y_skill", - "container": "dff-program-y-skill", - "endpoint": "respond" + "component": "components/ckUclxqUplyzwmnYyixEw.yml", + "service": "skills/dff_program_y_skill/service_configs/dff-program-y-skill" } } }, + "candidate_annotators": {}, "response_selectors": { "response_selector": { "connector": { @@ -125,9 +142,8 @@ "state_manager_method": "add_bot_utterance", "is_enabled": true, "source": { - "directory": "response_selectors/rule_based_response_selector", - "container": "rule-based-response-selector", - "endpoint": "respond" + "component": "components/KX4drAocVa5APcivWHeBNQ.yml", + "service": "response_selectors/rule_based_response_selector/service_configs/rule-based-response-selector" } } } diff --git a/assistant_dists/deepy_gobot_base/pipeline_conf.json b/assistant_dists/deepy_gobot_base/pipeline_conf.json index 7a8cbe8e7e..e3a0cb40a8 100644 --- a/assistant_dists/deepy_gobot_base/pipeline_conf.json +++ b/assistant_dists/deepy_gobot_base/pipeline_conf.json @@ -13,8 +13,8 @@ ], "is_enabled": true, "source": { - "directory": "services/last_chance_service", - "container": "agent" + "component": "components/2MB4WF8B3XFI.yml", + "service": "services/agent_services/service_configs/deepy_gobot_base" } }, "timeout_service": { @@ -29,8 +29,8 @@ ], "is_enabled": true, "source": { - "directory": "services/timeout_service", - "container": "agent" + "component": "components/NX76VAAIuvSF.yml", + "service": "services/agent_services/service_configs/deepy_gobot_base" } }, "annotators": { @@ -42,15 +42,33 @@ }, "dialog_formatter": "state_formatters.dp_formatters:last_utt_dialog", "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", + "previous_services": [], "state_manager_method": "add_annotation_and_reset_human_attributes_for_first_turn", "is_enabled": true, "source": { - "directory": "annotators/spelling_preprocessing", - "container": "spelling-preprocessing", - "endpoint": "respond" + "component": "components/pGxj32ic41pvquRXUdqc7A.yml", + "service": "annotators/spelling_preprocessing/service_configs/spelling-preprocessing" } } }, + "response_annotator_selectors": { + "connector": { + "protocol": "python", + "class_name": "skill_selectors.post_annotator_selector.connector:PostAnnotatorSelectorConnector", + "annotator_names": [ + "sentseg" + ] + }, + "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", + "tags": [ + "selector" + ], + "is_enabled": true, + "source": { + "component": "components/LXrJDIf43gwNmPMNXG5Eg.yml", + "service": "services/response_annotator_selectors/service_configs/agent" + } + }, "response_annotators": { "emotion_classification": { "connector": { @@ -66,12 +84,12 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "annotators/emotion_classification_deepy", - "container": "emotion-classification-deepy", - "endpoint": "model" + "component": "components/7dhiDqHqK6TYOAJAKK7grg.yml", + "service": "annotators/emotion_classification_deepy/service_configs/emotion-classification-deepy" } } }, + "skill_selectors": {}, "skills": { "harvesters_maintenance_gobot_skill": { "connector": { @@ -86,9 +104,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/harvesters_maintenance_gobot_skill_deepy", - "container": "harvesters-maintenance-gobot-skill", - "endpoint": "respond" + "component": "components/LUSJ19c38uOLAVZWYs5U8g.yml", + "service": "skills/harvesters_maintenance_gobot_skill_deepy/service_configs/harvesters-maintenance-gobot-skill" } }, "dff_program_y_skill": { @@ -105,12 +122,12 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_program_y_skill", - "container": "dff-program-y-skill", - "endpoint": "respond" + "component": "components/ckUclxqUplyzwmnYyixEw.yml", + "service": "skills/dff_program_y_skill/service_configs/dff-program-y-skill" } } }, + "candidate_annotators": {}, "response_selectors": { "response_selector": { "connector": { @@ -125,9 +142,8 @@ "state_manager_method": "add_bot_utterance", "is_enabled": true, "source": { - "directory": "response_selectors/rule_based_response_selector", - "container": "rule-based-response-selector", - "endpoint": "respond" + "component": "components/KX4drAocVa5APcivWHeBNQ.yml", + "service": "response_selectors/rule_based_response_selector/service_configs/rule-based-response-selector" } } } diff --git a/assistant_dists/dream/pipeline_conf.json b/assistant_dists/dream/pipeline_conf.json index b54063d5ea..8b076b77f8 100644 --- a/assistant_dists/dream/pipeline_conf.json +++ b/assistant_dists/dream/pipeline_conf.json @@ -47,8 +47,8 @@ ], "is_enabled": true, "source": { - "directory": "services/last_chance_service", - "container": "agent" + "component": "components/sbDcAqiNqxFz.yml", + "service": "services/agent_services/service_configs/dream" } }, "timeout_service": { @@ -81,8 +81,8 @@ ], "is_enabled": true, "source": { - "directory": "services/timeout_service", - "container": "agent" + "component": "components/rFC0YJOoDFvS.yml", + "service": "services/agent_services/service_configs/dream" } }, "annotators": { @@ -94,12 +94,12 @@ }, "dialog_formatter": "state_formatters.dp_formatters:last_utt_dialog", "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", + "previous_services": [], "state_manager_method": "add_annotation_and_reset_human_attributes_for_first_turn", "is_enabled": true, "source": { - "directory": "annotators/spelling_preprocessing", - "container": "spelling-preprocessing", - "endpoint": "respond" + "component": "components/pGxj32ic41pvquRXUdqc7A.yml", + "service": "annotators/spelling_preprocessing/service_configs/spelling-preprocessing" } }, "sentseg": { @@ -116,9 +116,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/SentSeg", - "container": "sentseg", - "endpoint": "sentseg" + "component": "components/gM4fEjvVqLlSRRRkQfds2g.yml", + "service": "annotators/SentSeg/service_configs/sentseg" } }, "spacy_nounphrases": { @@ -135,9 +134,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/spacy_nounphrases", - "container": "spacy-nounphrases", - "endpoint": "respond" + "component": "components/dswI5sRZbFPmgcNQKH5iPg.yml", + "service": "annotators/spacy_nounphrases/service_configs/spacy-nounphrases" } }, "rake_keywords": { @@ -154,9 +152,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/rake_keywords", - "container": "rake-keywords", - "endpoint": "respond" + "component": "components/WhchMmh929YzMMs3MoxCfw.yml", + "service": "annotators/rake_keywords/service_configs/rake-keywords" } }, "comet_conceptnet": { @@ -175,9 +172,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/COMeT", - "container": "comet-conceptnet", - "endpoint": "comet_annotator" + "component": "components/eOCFQOgp1Un10NyBC8MPow.yml", + "service": "annotators/COMeT/service_configs/comet-conceptnet" } }, "badlisted_words": { @@ -194,9 +190,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/BadlistedWordsDetector", - "container": "badlisted-words", - "endpoint": "badlisted_words" + "component": "components/gySZ51dyqYi9TOFr6zY5kA.yml", + "service": "annotators/BadlistedWordsDetector/service_configs/badlisted-words" } }, "asr": { @@ -210,9 +205,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/asr", - "container": "asr", - "endpoint": "asr_check" + "component": "components/2Fck28uscKzZBviQ8WZTg.yml", + "service": "annotators/asr/service_configs/asr" } }, "intent_catcher": { @@ -230,9 +224,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/IntentCatcherTransformers", - "container": "intent-catcher", - "endpoint": "detect" + "component": "components/1IjC3r9b1VJ082ceINXzHQ.yml", + "service": "annotators/IntentCatcherTransformers/service_configs/intent-catcher" } }, "fact_random": { @@ -251,9 +244,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/fact_random", - "container": "fact-random", - "endpoint": "respond" + "component": "components/QqTMvljZNeJGkLykBRUAw.yml", + "service": "annotators/fact_random/service_configs/fact-random" } }, "fact_retrieval": { @@ -272,9 +264,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/fact_retrieval", - "container": "fact-retrieval", - "endpoint": "model" + "component": "components/sVjXygxsPhjLEWd2acwcEA.yml", + "service": "annotators/fact_retrieval/service_configs/fact-retrieval" } }, "ner": { @@ -292,9 +283,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/NER_deeppavlov", - "container": "ner", - "endpoint": "ner" + "component": "components/3RDNPBdybjBlSQZqcc7nGQ.yml", + "service": "annotators/NER_deeppavlov/service_configs/ner" } }, "entity_detection": { @@ -312,9 +302,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/entity_detection", - "container": "entity-detection", - "endpoint": "respond" + "component": "components/05PqJXVd7gV7DqslN5z3A.yml", + "service": "annotators/entity_detection/service_configs/entity-detection" } }, "kbqa": { @@ -331,9 +320,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/kbqa", - "container": "kbqa", - "endpoint": "model" + "component": "components/3clxaNOTpI3oHR0fHRaCnQ.yml", + "service": "annotators/kbqa/service_configs/kbqa" } }, "entity_linking": { @@ -352,9 +340,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/entity_linking", - "container": "entity-linking", - "endpoint": "model" + "component": "components/M1sE6hOm20EGBWBdr0vIOw.yml", + "service": "annotators/entity_linking/service_configs/entity-linking" } }, "wiki_parser": { @@ -371,9 +358,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/wiki_parser", - "container": "wiki-parser", - "endpoint": "model" + "component": "components/O4FVnkAwjay1mL1FbuRGWw.yml", + "service": "annotators/wiki_parser/service_configs/wiki-parser" } }, "sentrewrite": { @@ -393,9 +379,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/SentRewrite", - "container": "sentrewrite", - "endpoint": "sentrewrite" + "component": "components/2qgyiVeuSZnotxkaBe3cw.yml", + "service": "annotators/SentRewrite/service_configs/sentrewrite" } }, "combined_classification": { @@ -412,9 +397,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/combined_classification", - "container": "combined-classification", - "endpoint": "model" + "component": "components/PbLNvh4hrvs47rPaf2bfYQ.yml", + "service": "annotators/combined_classification/service_configs/combined-classification" } }, "entity_storer": { @@ -432,9 +416,8 @@ "state_manager_method": "update_attributes", "is_enabled": true, "source": { - "directory": "annotators/entity_storer", - "container": "entity-storer", - "endpoint": "respond" + "component": "components/KSNMJJOS15MN2lsyS8fjBg.yml", + "service": "annotators/entity_storer/service_configs/entity-storer" } }, "news_api_annotator": { @@ -455,9 +438,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/news_api", - "container": "news-api-annotator", - "endpoint": "respond" + "component": "components/DKpAPqrBbakAcoSbx6hibg.yml", + "service": "annotators/news_api/service_configs/news-api-annotator" } }, "topic_recommendation": { @@ -476,9 +458,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/topic_recommendation", - "container": "topic-recommendation", - "endpoint": "respond" + "component": "components/iZluV29Xg8AwaHPGijaeLg.yml", + "service": "annotators/topic_recommendation/service_configs/topic-recommendation" } }, "user_persona_extractor": { @@ -495,9 +476,8 @@ "state_manager_method": "update_attributes", "is_enabled": true, "source": { - "directory": "annotators/user_persona_extractor", - "container": "user-persona-extractor", - "endpoint": "respond" + "component": "components/g4GQdGsud4N4VUB8NideA.yml", + "service": "annotators/user_persona_extractor/service_configs/user-persona-extractor" } }, "midas_predictor": { @@ -514,9 +494,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/midas_predictor", - "container": "midas-predictor", - "endpoint": "respond" + "component": "components/V2iGM38Tkgmf1OcURQnAg.yml", + "service": "annotators/midas_predictor/service_configs/midas-predictor" } }, "relative_persona_extractor": { @@ -533,9 +512,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/relative_persona_extractor", - "container": "relative-persona-extractor", - "endpoint": "respond" + "component": "components/VkkvnRwjgB5GwrH98k5EKA.yml", + "service": "annotators/relative_persona_extractor/service_configs/relative-persona-extractor" } } }, @@ -554,9 +532,8 @@ "state_manager_method": "add_annotation_prev_bot_utt", "is_enabled": true, "source": { - "directory": "annotators/SentSeg", - "container": "sentseg", - "endpoint": "sentseg" + "component": "components/1Q9QXih1U2zhCpVm9zxdsA.yml", + "service": "annotators/SentSeg/service_configs/sentseg" } }, "ner": { @@ -574,9 +551,8 @@ "state_manager_method": "add_annotation_prev_bot_utt", "is_enabled": true, "source": { - "directory": "annotators/NER_deeppavlov", - "container": "ner", - "endpoint": "ner" + "component": "components/3RDNPBdybjBlSQZqcc7nGQ.yml", + "service": "annotators/NER_deeppavlov/service_configs/ner" } }, "sentrewrite": { @@ -595,9 +571,8 @@ "state_manager_method": "add_annotation_prev_bot_utt", "is_enabled": true, "source": { - "directory": "annotators/SentRewrite", - "container": "sentrewrite", - "endpoint": "sentrewrite" + "component": "components/2qgyiVeuSZnotxkaBe3cw.yml", + "service": "annotators/SentRewrite/service_configs/sentrewrite" } }, "spacy_nounphrases": { @@ -614,9 +589,8 @@ "state_manager_method": "add_annotation_prev_bot_utt", "is_enabled": true, "source": { - "directory": "annotators/spacy_nounphrases", - "container": "spacy-nounphrases", - "endpoint": "respond" + "component": "components/dswI5sRZbFPmgcNQKH5iPg.yml", + "service": "annotators/spacy_nounphrases/service_configs/spacy-nounphrases" } } }, @@ -637,8 +611,8 @@ ], "is_enabled": true, "source": { - "directory": "services/response_annotator_selectors", - "container": "agent" + "component": "components/LXrJDIf43gwNmPMNXG5Eg.yml", + "service": "services/response_annotator_selectors/service_configs/agent" } }, "candidate_annotators": { @@ -656,9 +630,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "annotators/BadlistedWordsDetector", - "container": "badlisted-words", - "endpoint": "badlisted_words_batch" + "component": "components/gySZ51dyqYi9TOFr6zY5kA.yml", + "service": "annotators/BadlistedWordsDetector/service_configs/badlisted-words" } }, "convers_evaluator_annotator": { @@ -675,9 +648,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "annotators/ConversationEvaluator", - "container": "convers-evaluator-annotator", - "endpoint": "batch_model" + "component": "components/n1HuqlV7EoNrWXcv8WaIQ.yml", + "service": "annotators/ConversationEvaluator/service_configs/convers-evaluator-annotator" } }, "spacy_nounphrases": { @@ -694,9 +666,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "annotators/spacy_nounphrases", - "container": "spacy-nounphrases", - "endpoint": "respond_batch" + "component": "components/dswI5sRZbFPmgcNQKH5iPg.yml", + "service": "annotators/spacy_nounphrases/service_configs/spacy-nounphrases" } }, "entity_detection": { @@ -713,9 +684,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "annotators/entity_detection", - "container": "entity-detection", - "endpoint": "respond_batch" + "component": "components/05PqJXVd7gV7DqslN5z3A.yml", + "service": "annotators/entity_detection/service_configs/entity-detection" } }, "combined_classification": { @@ -732,9 +702,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "annotators/combined_classification", - "container": "combined-classification", - "endpoint": "batch_model" + "component": "components/PbLNvh4hrvs47rPaf2bfYQ.yml", + "service": "annotators/combined_classification/service_configs/combined-classification" } } }, @@ -754,8 +723,8 @@ ], "is_enabled": true, "source": { - "directory": "skill_selectors/rule_based_selector", - "container": "agent" + "component": "components/xSwFvtAUdvtQosvzpb7oMg.yml", + "service": "skill_selectors/rule_based_selector/service_configs/agent" } } }, @@ -774,9 +743,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_sport_skill", - "container": "dff-sport-skill", - "endpoint": "respond" + "component": "components/pjNkr5Kenxb0NMODp9u2Dw.yml", + "service": "skills/dff_sport_skill/service_configs/dff-sport-skill" } }, "eliza": { @@ -793,9 +761,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/eliza", - "container": "eliza", - "endpoint": "respond" + "component": "components/hc1VGhVPyuOIDiMYUp0Q.yml", + "service": "skills/eliza/service_configs/eliza" } }, "dff_program_y_skill": { @@ -812,9 +779,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_program_y_skill", - "container": "dff-program-y-skill", - "endpoint": "respond" + "component": "components/ckUclxqUplyzwmnYyixEw.yml", + "service": "skills/dff_program_y_skill/service_configs/dff-program-y-skill" } }, "personality_catcher": { @@ -831,9 +797,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/personality_catcher", - "container": "personality-catcher", - "endpoint": "personality_catcher" + "component": "components/AkgtzbAdOaly7bBjaOQvg.yml", + "service": "skills/personality_catcher/service_configs/personality-catcher" } }, "dff_intent_responder_skill": { @@ -850,9 +815,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_intent_responder_skill", - "container": "dff-intent-responder-skill", - "endpoint": "respond" + "component": "components/CmQGq1Xn5YOaMwNIb4bEpA.yml", + "service": "skills/dff_intent_responder_skill/service_configs/dff-intent-responder-skill" } }, "dummy_skill": { @@ -868,8 +832,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dummy_skill", - "container": "agent" + "component": "components/uYkoK0vRp4bbIg9akI1yw.yml", + "service": "skills/dummy_skill/service_configs/agent" } }, "alexa_handler": { @@ -885,8 +849,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/alexa_handler", - "container": "agent" + "component": "components/CGfUfSJOGK2diPRLlsXYFA.yml", + "service": "skills/alexa_handler/service_configs/agent" } }, "dummy_skill_dialog": { @@ -903,9 +867,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dummy_skill_dialog", - "container": "dummy-skill-dialog", - "endpoint": "respond" + "component": "components/vC2zMO3Jf1evuVj6KqEK6A.yml", + "service": "skills/dummy_skill_dialog/service_configs/dummy-skill-dialog" } }, "misheard_asr": { @@ -922,9 +885,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/misheard_asr", - "container": "misheard-asr", - "endpoint": "misheard_respond" + "component": "components/uBfG9guHvNVxErmJ3QZxw.yml", + "service": "skills/misheard_asr/service_configs/misheard-asr" } }, "dff_program_y_dangerous_skill": { @@ -941,9 +903,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_program_y_dangerous_skill", - "container": "dff-program-y-dangerous-skill", - "endpoint": "respond" + "component": "components/VFltJVPpaCZ7Mquk2N7qg.yml", + "service": "skills/dff_program_y_dangerous_skill/service_configs/dff-program-y-dangerous-skill" } }, "dff_movie_skill": { @@ -960,9 +921,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_movie_skill", - "container": "dff-movie-skill", - "endpoint": "respond" + "component": "components/4yA8wZWOEnafRfz6Po9nvA.yml", + "service": "skills/dff_movie_skill/service_configs/dff-movie-skill" } }, "emotion_skill": { @@ -979,9 +939,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/emotion_skill", - "container": "emotion-skill", - "endpoint": "respond" + "component": "components/GUBU1VTsOaAmXsPId4c9tg.yml", + "service": "skills/emotion_skill/service_configs/emotion-skill" } }, "convert_reddit": { @@ -998,9 +957,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/convert_reddit", - "container": "convert-reddit", - "endpoint": "convert_reddit" + "component": "components/HxZwtabTqPYokTZ9yJ3MQ.yml", + "service": "skills/convert_reddit/service_configs/convert-reddit" } }, "personal_info_skill": { @@ -1017,9 +975,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/personal_info_skill", - "container": "personal-info-skill", - "endpoint": "respond" + "component": "components/jduT06J4H7FsxAfQRFcjIQ.yml", + "service": "skills/personal_info_skill/service_configs/personal-info-skill" } }, "dff_coronavirus_skill": { @@ -1036,9 +993,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_coronavirus_skill", - "container": "dff-coronavirus-skill", - "endpoint": "respond" + "component": "components/ytOAJhcgTY7jGhIuqShU7w.yml", + "service": "skills/dff_coronavirus_skill/service_configs/dff-coronavirus-skill" } }, "dff_weather_skill": { @@ -1055,9 +1011,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_weather_skill", - "container": "dff-weather-skill", - "endpoint": "respond" + "component": "components/USXkrUZRNdXbwACjKhO6KQ.yml", + "service": "skills/dff_weather_skill/service_configs/dff-weather-skill" } }, "dff_short_story_skill": { @@ -1074,9 +1029,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_short_story_skill", - "container": "dff-short-story-skill", - "endpoint": "respond" + "component": "components/U7OP1e0KcceldKplIDMvg.yml", + "service": "skills/dff_short_story_skill/service_configs/dff-short-story-skill" } }, "meta_script_skill": { @@ -1093,9 +1047,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/meta_script_skill", - "container": "meta-script-skill", - "endpoint": "meta_script" + "component": "components/XnOc0ygtsgoaEdDdzSJQ.yml", + "service": "skills/meta_script_skill/service_configs/meta-script-skill" } }, "small_talk_skill": { @@ -1112,9 +1065,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/small_talk_skill", - "container": "small-talk-skill", - "endpoint": "respond" + "component": "components/EvuPQO29N28izuWLBtxew.yml", + "service": "skills/small_talk_skill/service_configs/small-talk-skill" } }, "game_cooperative_skill": { @@ -1131,9 +1083,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/game_cooperative_skill", - "container": "game-cooperative-skill", - "endpoint": "respond" + "component": "components/zR8WrA2O9QEzhdMnsVMPg.yml", + "service": "skills/game_cooperative_skill/service_configs/game-cooperative-skill" } }, "dff_program_y_wide_skill": { @@ -1150,9 +1101,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_program_y_wide_skill", - "container": "dff-program-y-wide-skill", - "endpoint": "respond" + "component": "components/1HucxpdVamyoS0GEl3l7A.yml", + "service": "skills/dff_program_y_wide_skill/service_configs/dff-program-y-wide-skill" } }, "news_api_skill": { @@ -1169,9 +1119,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/news_api_skill", - "container": "news-api-skill", - "endpoint": "respond" + "component": "components/kQnGkibrJH20J8sYTbF5rg.yml", + "service": "skills/news_api_skill/service_configs/news-api-skill" } }, "comet_dialog_skill": { @@ -1188,9 +1137,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/meta_script_skill", - "container": "meta-script-skill", - "endpoint": "comet_dialog" + "component": "components/XnOc0ygtsgoaEdDdzSJQ.yml", + "service": "skills/meta_script_skill/service_configs/meta-script-skill" } }, "dff_grounding_skill": { @@ -1207,9 +1155,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_grounding_skill", - "container": "dff-grounding-skill", - "endpoint": "respond" + "component": "components/mUjJLckDDozfREkbYOjk5g.yml", + "service": "skills/dff_grounding_skill/service_configs/dff-grounding-skill" } }, "factoid_qa": { @@ -1226,9 +1173,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/factoid_qa", - "container": "factoid-qa", - "endpoint": "respond" + "component": "components/qx0j5QHAzog0b39nRnuA.yml", + "service": "skills/factoid_qa/service_configs/factoid-qa" } }, "dff_animals_skill": { @@ -1245,9 +1191,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_animals_skill", - "container": "dff-animals-skill", - "endpoint": "respond" + "component": "components/w3uS7t7cW72QFYo0Ugf29w.yml", + "service": "skills/dff_animals_skill/service_configs/dff-animals-skill" } }, "dff_gaming_skill": { @@ -1264,9 +1209,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_gaming_skill", - "container": "dff-gaming-skill", - "endpoint": "respond" + "component": "components/V21kCVvTaCv8J0c4rDV4RA.yml", + "service": "skills/dff_gaming_skill/service_configs/dff-gaming-skill" } }, "dff_friendship_skill": { @@ -1283,9 +1227,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_friendship_skill", - "container": "dff-friendship-skill", - "endpoint": "respond" + "component": "components/haBUc1rsCitGmBzndrKl5w.yml", + "service": "skills/dff_friendship_skill/service_configs/dff-friendship-skill" } }, "knowledge_grounding_skill": { @@ -1302,9 +1245,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/knowledge_grounding_skill", - "container": "knowledge-grounding-skill", - "endpoint": "respond" + "component": "components/ciuEzuXBNAXpidbSBXTyw.yml", + "service": "skills/knowledge_grounding_skill/service_configs/knowledge-grounding-skill" } }, "dff_travel_skill": { @@ -1321,9 +1263,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_travel_skill", - "container": "dff-travel-skill", - "endpoint": "respond" + "component": "components/DbHXjhwWHORIms84Z3WJbA.yml", + "service": "skills/dff_travel_skill/service_configs/dff-travel-skill" } }, "dff_food_skill": { @@ -1340,9 +1281,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_food_skill", - "container": "dff-food-skill", - "endpoint": "respond" + "component": "components/ED4eLNB6JK3U8sUGHsQ.yml", + "service": "skills/dff_food_skill/service_configs/dff-food-skill" } }, "dff_science_skill": { @@ -1359,9 +1299,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_science_skill", - "container": "dff-science-skill", - "endpoint": "respond" + "component": "components/0sXrpFc5dMQSbhydkrrq7A.yml", + "service": "skills/dff_science_skill/service_configs/dff-science-skill" } }, "dff_music_skill": { @@ -1378,9 +1317,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_music_skill", - "container": "dff-music-skill", - "endpoint": "respond" + "component": "components/TUMYgqCicowHdORbycHBow.yml", + "service": "skills/dff_music_skill/service_configs/dff-music-skill" } }, "dff_funfact_skill": { @@ -1397,9 +1335,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_funfact_skill", - "container": "dff-funfact-skill", - "endpoint": "respond" + "component": "components/pciAVHGPCYBn8m14ZZsLg.yml", + "service": "skills/dff_funfact_skill/service_configs/dff-funfact-skill" } }, "dff_gossip_skill": { @@ -1418,9 +1355,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_gossip_skill", - "container": "dff-gossip-skill", - "endpoint": "respond" + "component": "components/NxFeriz1ymjSuvPITEJOQ.yml", + "service": "skills/dff_gossip_skill/service_configs/dff-gossip-skill" } }, "dff_bot_persona_skill": { @@ -1437,9 +1373,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_bot_persona_skill", - "container": "dff-bot-persona-skill", - "endpoint": "respond" + "component": "components/GYa5X3Q4snGIgQzAFc7Gg.yml", + "service": "skills/dff_bot_persona_skill/service_configs/dff-bot-persona-skill" } }, "dff_wiki_skill": { @@ -1456,9 +1391,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_wiki_skill", - "container": "dff-wiki-skill", - "endpoint": "respond" + "component": "components/pD4b43nPu73ev5T4Bf3RKw.yml", + "service": "skills/dff_wiki_skill/service_configs/dff-wiki-skill" } }, "dff_book_skill": { @@ -1475,9 +1409,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_book_skill", - "container": "dff-book-skill", - "endpoint": "respond" + "component": "components/IyLt06tlM1Ad13bQ2VQ9Vg.yml", + "service": "skills/dff_book_skill/service_configs/dff-book-skill" } }, "dff_art_skill": { @@ -1494,9 +1427,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_art_skill", - "container": "dff-art-skill", - "endpoint": "respond" + "component": "components/VVQgKT69i36HzEqbJKoWqQ.yml", + "service": "skills/dff_art_skill/service_configs/dff-art-skill" } }, "dialogpt": { @@ -1513,9 +1445,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "services/dialogpt", - "container": "dialogpt", - "endpoint": "respond" + "component": "components/7Dxjy1ZpQEAoPcEeABGBLg.yml", + "service": "services/dialogpt/service_configs/dialogpt" } }, "seq2seq_persona_based": { @@ -1532,9 +1463,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "services/seq2seq_persona_based", - "container": "seq2seq-persona-based", - "endpoint": "respond" + "component": "components/Zs3hq7LIexcITcvlU39Cjw.yml", + "service": "services/seq2seq_persona_based/service_configs/seq2seq-persona-based" } }, "dff_template_skill": { @@ -1551,9 +1481,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_template_skill", - "container": "dff-template-skill", - "endpoint": "respond" + "component": "components/pC342KBWtheQNnXjIni6A.yml", + "service": "skills/dff_template_skill/service_configs/dff-template-skill" } } }, @@ -1572,9 +1501,8 @@ "state_manager_method": "add_bot_utterance", "is_enabled": true, "source": { - "directory": "response_selectors/convers_evaluation_based_selector", - "container": "convers-evaluation-selector", - "endpoint": "respond" + "component": "components/ly2AVNtIcJpTWz1qJ1mvKQ.yml", + "service": "response_selectors/convers_evaluation_based_selector/service_configs/convers-evaluation-selector" } } } diff --git a/assistant_dists/dream_alexa/pipeline_conf.json b/assistant_dists/dream_alexa/pipeline_conf.json index cc4a05aca0..f393ea1258 100644 --- a/assistant_dists/dream_alexa/pipeline_conf.json +++ b/assistant_dists/dream_alexa/pipeline_conf.json @@ -47,8 +47,8 @@ ], "is_enabled": true, "source": { - "directory": "services/last_chance_service", - "container": "agent" + "component": "components/pTsBXK2TYUNp.yml", + "service": "services/agent_services/service_configs/dream_alexa" } }, "timeout_service": { @@ -81,8 +81,8 @@ ], "is_enabled": true, "source": { - "directory": "services/timeout_service", - "container": "agent" + "component": "components/JF1gG7lJb3qz.yml", + "service": "services/agent_services/service_configs/dream_alexa" } }, "annotators": { @@ -94,12 +94,12 @@ }, "dialog_formatter": "state_formatters.dp_formatters:last_utt_dialog", "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", + "previous_services": [], "state_manager_method": "add_annotation_and_reset_human_attributes_for_first_turn", "is_enabled": true, "source": { - "directory": "annotators/spelling_preprocessing", - "container": "spelling-preprocessing", - "endpoint": "respond" + "component": "components/pGxj32ic41pvquRXUdqc7A.yml", + "service": "annotators/spelling_preprocessing/service_configs/spelling-preprocessing" } }, "sentseg": { @@ -116,9 +116,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/SentSeg", - "container": "sentseg", - "endpoint": "sentseg" + "component": "components/gM4fEjvVqLlSRRRkQfds2g.yml", + "service": "annotators/SentSeg/service_configs/sentseg" } }, "spacy_nounphrases": { @@ -135,9 +134,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/spacy_nounphrases", - "container": "spacy-nounphrases", - "endpoint": "respond" + "component": "components/dswI5sRZbFPmgcNQKH5iPg.yml", + "service": "annotators/spacy_nounphrases/service_configs/spacy-nounphrases" } }, "comet_conceptnet": { @@ -156,9 +154,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/COMeT", - "container": "comet-conceptnet", - "endpoint": "comet_annotator" + "component": "components/eOCFQOgp1Un10NyBC8MPow.yml", + "service": "annotators/COMeT/service_configs/comet-conceptnet" } }, "badlisted_words": { @@ -175,9 +172,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/BadlistedWordsDetector", - "container": "badlisted-words", - "endpoint": "badlisted_words" + "component": "components/gySZ51dyqYi9TOFr6zY5kA.yml", + "service": "annotators/BadlistedWordsDetector/service_configs/badlisted-words" } }, "asr": { @@ -191,9 +187,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/asr", - "container": "asr", - "endpoint": "asr_check" + "component": "components/2Fck28uscKzZBviQ8WZTg.yml", + "service": "annotators/asr/service_configs/asr" } }, "intent_catcher": { @@ -211,9 +206,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/IntentCatcherTransformers", - "container": "intent-catcher", - "endpoint": "detect" + "component": "components/1IjC3r9b1VJ082ceINXzHQ.yml", + "service": "annotators/IntentCatcherTransformers/service_configs/intent-catcher" } }, "fact_random": { @@ -232,9 +226,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/fact_random", - "container": "fact-random", - "endpoint": "respond" + "component": "components/QqTMvljZNeJGkLykBRUAw.yml", + "service": "annotators/fact_random/service_configs/fact-random" } }, "fact_retrieval": { @@ -253,9 +246,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/fact_retrieval", - "container": "fact-retrieval", - "endpoint": "model" + "component": "components/sVjXygxsPhjLEWd2acwcEA.yml", + "service": "annotators/fact_retrieval/service_configs/fact-retrieval" } }, "ner": { @@ -273,9 +265,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/NER_deeppavlov", - "container": "ner", - "endpoint": "ner" + "component": "components/3RDNPBdybjBlSQZqcc7nGQ.yml", + "service": "annotators/NER_deeppavlov/service_configs/ner" } }, "entity_detection": { @@ -293,9 +284,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/entity_detection", - "container": "entity-detection", - "endpoint": "respond" + "component": "components/05PqJXVd7gV7DqslN5z3A.yml", + "service": "annotators/entity_detection/service_configs/entity-detection" } }, "kbqa": { @@ -312,9 +302,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/kbqa", - "container": "kbqa", - "endpoint": "model" + "component": "components/3clxaNOTpI3oHR0fHRaCnQ.yml", + "service": "annotators/kbqa/service_configs/kbqa" } }, "entity_linking": { @@ -333,9 +322,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/entity_linking", - "container": "entity-linking", - "endpoint": "model" + "component": "components/M1sE6hOm20EGBWBdr0vIOw.yml", + "service": "annotators/entity_linking/service_configs/entity-linking" } }, "wiki_parser": { @@ -352,9 +340,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/wiki_parser", - "container": "wiki-parser", - "endpoint": "model" + "component": "components/O4FVnkAwjay1mL1FbuRGWw.yml", + "service": "annotators/wiki_parser/service_configs/wiki-parser" } }, "sentrewrite": { @@ -374,9 +361,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/SentRewrite", - "container": "sentrewrite", - "endpoint": "sentrewrite" + "component": "components/2qgyiVeuSZnotxkaBe3cw.yml", + "service": "annotators/SentRewrite/service_configs/sentrewrite" } }, "midas_classification": { @@ -394,9 +380,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/midas_classification", - "container": "midas-classification", - "endpoint": "model" + "component": "components/eAupU7hg2SeSkZV1OpaLkw.yml", + "service": "annotators/midas_classification/service_configs/midas-classification" } }, "combined_classification": { @@ -413,9 +398,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/combined_classification", - "container": "combined-classification", - "endpoint": "model" + "component": "components/PbLNvh4hrvs47rPaf2bfYQ.yml", + "service": "annotators/combined_classification/service_configs/combined-classification" } }, "entity_storer": { @@ -433,9 +417,8 @@ "state_manager_method": "update_attributes", "is_enabled": true, "source": { - "directory": "annotators/entity_storer", - "container": "entity-storer", - "endpoint": "respond" + "component": "components/KSNMJJOS15MN2lsyS8fjBg.yml", + "service": "annotators/entity_storer/service_configs/entity-storer" } }, "news_api_annotator": { @@ -456,9 +439,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/news_api", - "container": "news-api-annotator", - "endpoint": "respond" + "component": "components/DKpAPqrBbakAcoSbx6hibg.yml", + "service": "annotators/news_api/service_configs/news-api-annotator" } }, "topic_recommendation": { @@ -477,9 +459,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/topic_recommendation", - "container": "topic-recommendation", - "endpoint": "respond" + "component": "components/iZluV29Xg8AwaHPGijaeLg.yml", + "service": "annotators/topic_recommendation/service_configs/topic-recommendation" } }, "user_persona_extractor": { @@ -496,9 +477,8 @@ "state_manager_method": "update_attributes", "is_enabled": true, "source": { - "directory": "annotators/user_persona_extractor", - "container": "user-persona-extractor", - "endpoint": "respond" + "component": "components/g4GQdGsud4N4VUB8NideA.yml", + "service": "annotators/user_persona_extractor/service_configs/user-persona-extractor" } } }, @@ -517,9 +497,8 @@ "state_manager_method": "add_annotation_prev_bot_utt", "is_enabled": true, "source": { - "directory": "annotators/SentSeg", - "container": "sentseg", - "endpoint": "sentseg" + "component": "components/1Q9QXih1U2zhCpVm9zxdsA.yml", + "service": "annotators/SentSeg/service_configs/sentseg" } }, "ner": { @@ -537,9 +516,8 @@ "state_manager_method": "add_annotation_prev_bot_utt", "is_enabled": true, "source": { - "directory": "annotators/NER_deeppavlov", - "container": "ner", - "endpoint": "ner" + "component": "components/3RDNPBdybjBlSQZqcc7nGQ.yml", + "service": "annotators/NER_deeppavlov/service_configs/ner" } }, "sentrewrite": { @@ -558,9 +536,8 @@ "state_manager_method": "add_annotation_prev_bot_utt", "is_enabled": true, "source": { - "directory": "annotators/SentRewrite", - "container": "sentrewrite", - "endpoint": "sentrewrite" + "component": "components/2qgyiVeuSZnotxkaBe3cw.yml", + "service": "annotators/SentRewrite/service_configs/sentrewrite" } }, "spacy_nounphrases": { @@ -577,9 +554,8 @@ "state_manager_method": "add_annotation_prev_bot_utt", "is_enabled": true, "source": { - "directory": "annotators/spacy_nounphrases", - "container": "spacy-nounphrases", - "endpoint": "respond" + "component": "components/dswI5sRZbFPmgcNQKH5iPg.yml", + "service": "annotators/spacy_nounphrases/service_configs/spacy-nounphrases" } } }, @@ -600,8 +576,8 @@ ], "is_enabled": true, "source": { - "directory": "services/response_annotator_selectors", - "container": "agent" + "component": "components/LXrJDIf43gwNmPMNXG5Eg.yml", + "service": "services/response_annotator_selectors/service_configs/agent" } }, "candidate_annotators": { @@ -619,9 +595,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "annotators/BadlistedWordsDetector", - "container": "badlisted-words", - "endpoint": "badlisted_words_batch" + "component": "components/gySZ51dyqYi9TOFr6zY5kA.yml", + "service": "annotators/BadlistedWordsDetector/service_configs/badlisted-words" } }, "convers_evaluator_annotator": { @@ -638,9 +613,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "annotators/ConversationEvaluator", - "container": "convers-evaluator-annotator", - "endpoint": "batch_model" + "component": "components/n1HuqlV7EoNrWXcv8WaIQ.yml", + "service": "annotators/ConversationEvaluator/service_configs/convers-evaluator-annotator" } }, "spacy_nounphrases": { @@ -657,9 +631,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "annotators/spacy_nounphrases", - "container": "spacy-nounphrases", - "endpoint": "respond_batch" + "component": "components/dswI5sRZbFPmgcNQKH5iPg.yml", + "service": "annotators/spacy_nounphrases/service_configs/spacy-nounphrases" } }, "entity_detection": { @@ -676,9 +649,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "annotators/entity_detection", - "container": "entity-detection", - "endpoint": "respond_batch" + "component": "components/05PqJXVd7gV7DqslN5z3A.yml", + "service": "annotators/entity_detection/service_configs/entity-detection" } }, "midas_classification": { @@ -696,9 +668,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/midas_classification", - "container": "midas-classification", - "endpoint": "model" + "component": "components/eAupU7hg2SeSkZV1OpaLkw.yml", + "service": "annotators/midas_classification/service_configs/midas-classification" } }, "combined_classification": { @@ -715,9 +686,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "annotators/combined_classification", - "container": "combined-classification", - "endpoint": "batch_model" + "component": "components/PbLNvh4hrvs47rPaf2bfYQ.yml", + "service": "annotators/combined_classification/service_configs/combined-classification" } } }, @@ -737,8 +707,8 @@ ], "is_enabled": true, "source": { - "directory": "skill_selectors/rule_based_selector", - "container": "agent" + "component": "components/xSwFvtAUdvtQosvzpb7oMg.yml", + "service": "skill_selectors/rule_based_selector/service_configs/agent" } } }, @@ -757,9 +727,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_sport_skill", - "container": "dff-sport-skill", - "endpoint": "respond" + "component": "components/pjNkr5Kenxb0NMODp9u2Dw.yml", + "service": "skills/dff_sport_skill/service_configs/dff-sport-skill" } }, "eliza": { @@ -776,9 +745,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/eliza", - "container": "eliza", - "endpoint": "respond" + "component": "components/hc1VGhVPyuOIDiMYUp0Q.yml", + "service": "skills/eliza/service_configs/eliza" } }, "dff_program_y_skill": { @@ -795,9 +763,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_program_y_skill", - "container": "dff-program-y-skill", - "endpoint": "respond" + "component": "components/ckUclxqUplyzwmnYyixEw.yml", + "service": "skills/dff_program_y_skill/service_configs/dff-program-y-skill" } }, "personality_catcher": { @@ -814,9 +781,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/personality_catcher", - "container": "personality-catcher", - "endpoint": "personality_catcher" + "component": "components/AkgtzbAdOaly7bBjaOQvg.yml", + "service": "skills/personality_catcher/service_configs/personality-catcher" } }, "dff_intent_responder_skill": { @@ -833,9 +799,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_intent_responder_skill", - "container": "dff-intent-responder-skill", - "endpoint": "respond" + "component": "components/CmQGq1Xn5YOaMwNIb4bEpA.yml", + "service": "skills/dff_intent_responder_skill/service_configs/dff-intent-responder-skill" } }, "dummy_skill": { @@ -851,8 +816,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dummy_skill", - "container": "agent" + "component": "components/uYkoK0vRp4bbIg9akI1yw.yml", + "service": "skills/dummy_skill/service_configs/agent" } }, "alexa_handler": { @@ -868,8 +833,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/alexa_handler", - "container": "agent" + "component": "components/CGfUfSJOGK2diPRLlsXYFA.yml", + "service": "skills/alexa_handler/service_configs/agent" } }, "dummy_skill_dialog": { @@ -886,9 +851,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dummy_skill_dialog", - "container": "dummy-skill-dialog", - "endpoint": "respond" + "component": "components/vC2zMO3Jf1evuVj6KqEK6A.yml", + "service": "skills/dummy_skill_dialog/service_configs/dummy-skill-dialog" } }, "misheard_asr": { @@ -905,9 +869,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/misheard_asr", - "container": "misheard-asr", - "endpoint": "misheard_respond" + "component": "components/uBfG9guHvNVxErmJ3QZxw.yml", + "service": "skills/misheard_asr/service_configs/misheard-asr" } }, "dff_program_y_dangerous_skill": { @@ -924,9 +887,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_program_y_dangerous_skill", - "container": "dff-program-y-dangerous-skill", - "endpoint": "respond" + "component": "components/VFltJVPpaCZ7Mquk2N7qg.yml", + "service": "skills/dff_program_y_dangerous_skill/service_configs/dff-program-y-dangerous-skill" } }, "dff_movie_skill": { @@ -943,9 +905,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_movie_skill", - "container": "dff-movie-skill", - "endpoint": "respond" + "component": "components/4yA8wZWOEnafRfz6Po9nvA.yml", + "service": "skills/dff_movie_skill/service_configs/dff-movie-skill" } }, "emotion_skill": { @@ -962,9 +923,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/emotion_skill", - "container": "emotion-skill", - "endpoint": "respond" + "component": "components/GUBU1VTsOaAmXsPId4c9tg.yml", + "service": "skills/emotion_skill/service_configs/emotion-skill" } }, "convert_reddit": { @@ -981,9 +941,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/convert_reddit", - "container": "convert-reddit", - "endpoint": "convert_reddit" + "component": "components/HxZwtabTqPYokTZ9yJ3MQ.yml", + "service": "skills/convert_reddit/service_configs/convert-reddit" } }, "personal_info_skill": { @@ -1000,9 +959,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/personal_info_skill", - "container": "personal-info-skill", - "endpoint": "respond" + "component": "components/jduT06J4H7FsxAfQRFcjIQ.yml", + "service": "skills/personal_info_skill/service_configs/personal-info-skill" } }, "dff_coronavirus_skill": { @@ -1019,9 +977,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_coronavirus_skill", - "container": "dff-coronavirus-skill", - "endpoint": "respond" + "component": "components/ytOAJhcgTY7jGhIuqShU7w.yml", + "service": "skills/dff_coronavirus_skill/service_configs/dff-coronavirus-skill" } }, "dff_weather_skill": { @@ -1038,9 +995,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_weather_skill", - "container": "dff-weather-skill", - "endpoint": "respond" + "component": "components/USXkrUZRNdXbwACjKhO6KQ.yml", + "service": "skills/dff_weather_skill/service_configs/dff-weather-skill" } }, "meta_script_skill": { @@ -1057,9 +1013,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/meta_script_skill", - "container": "meta-script-skill", - "endpoint": "meta_script" + "component": "components/XnOc0ygtsgoaEdDdzSJQ.yml", + "service": "skills/meta_script_skill/service_configs/meta-script-skill" } }, "small_talk_skill": { @@ -1076,9 +1031,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/small_talk_skill", - "container": "small-talk-skill", - "endpoint": "respond" + "component": "components/EvuPQO29N28izuWLBtxew.yml", + "service": "skills/small_talk_skill/service_configs/small-talk-skill" } }, "game_cooperative_skill": { @@ -1095,9 +1049,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/game_cooperative_skill", - "container": "game-cooperative-skill", - "endpoint": "respond" + "component": "components/zR8WrA2O9QEzhdMnsVMPg.yml", + "service": "skills/game_cooperative_skill/service_configs/game-cooperative-skill" } }, "dff_program_y_wide_skill": { @@ -1114,9 +1067,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_program_y_wide_skill", - "container": "dff-program-y-wide-skill", - "endpoint": "respond" + "component": "components/1HucxpdVamyoS0GEl3l7A.yml", + "service": "skills/dff_program_y_wide_skill/service_configs/dff-program-y-wide-skill" } }, "news_api_skill": { @@ -1133,9 +1085,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/news_api_skill", - "container": "news-api-skill", - "endpoint": "respond" + "component": "components/kQnGkibrJH20J8sYTbF5rg.yml", + "service": "skills/news_api_skill/service_configs/news-api-skill" } }, "comet_dialog_skill": { @@ -1152,9 +1103,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/meta_script_skill", - "container": "meta-script-skill", - "endpoint": "comet_dialog" + "component": "components/XnOc0ygtsgoaEdDdzSJQ.yml", + "service": "skills/meta_script_skill/service_configs/meta-script-skill" } }, "dff_grounding_skill": { @@ -1171,9 +1121,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_grounding_skill", - "container": "dff-grounding-skill", - "endpoint": "respond" + "component": "components/mUjJLckDDozfREkbYOjk5g.yml", + "service": "skills/dff_grounding_skill/service_configs/dff-grounding-skill" } }, "factoid_qa": { @@ -1190,9 +1139,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/factoid_qa", - "container": "factoid-qa", - "endpoint": "respond" + "component": "components/qx0j5QHAzog0b39nRnuA.yml", + "service": "skills/factoid_qa/service_configs/factoid-qa" } }, "dff_animals_skill": { @@ -1209,9 +1157,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_animals_skill", - "container": "dff-animals-skill", - "endpoint": "respond" + "component": "components/w3uS7t7cW72QFYo0Ugf29w.yml", + "service": "skills/dff_animals_skill/service_configs/dff-animals-skill" } }, "dff_gaming_skill": { @@ -1228,9 +1175,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_gaming_skill", - "container": "dff-gaming-skill", - "endpoint": "respond" + "component": "components/V21kCVvTaCv8J0c4rDV4RA.yml", + "service": "skills/dff_gaming_skill/service_configs/dff-gaming-skill" } }, "dff_friendship_skill": { @@ -1247,9 +1193,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_friendship_skill", - "container": "dff-friendship-skill", - "endpoint": "respond" + "component": "components/haBUc1rsCitGmBzndrKl5w.yml", + "service": "skills/dff_friendship_skill/service_configs/dff-friendship-skill" } }, "knowledge_grounding_skill": { @@ -1266,9 +1211,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/knowledge_grounding_skill", - "container": "knowledge-grounding-skill", - "endpoint": "respond" + "component": "components/ciuEzuXBNAXpidbSBXTyw.yml", + "service": "skills/knowledge_grounding_skill/service_configs/knowledge-grounding-skill" } }, "dff_travel_skill": { @@ -1285,9 +1229,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_travel_skill", - "container": "dff-travel-skill", - "endpoint": "respond" + "component": "components/DbHXjhwWHORIms84Z3WJbA.yml", + "service": "skills/dff_travel_skill/service_configs/dff-travel-skill" } }, "dff_food_skill": { @@ -1304,9 +1247,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_food_skill", - "container": "dff-food-skill", - "endpoint": "respond" + "component": "components/ED4eLNB6JK3U8sUGHsQ.yml", + "service": "skills/dff_food_skill/service_configs/dff-food-skill" } }, "dff_science_skill": { @@ -1323,9 +1265,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_science_skill", - "container": "dff-science-skill", - "endpoint": "respond" + "component": "components/0sXrpFc5dMQSbhydkrrq7A.yml", + "service": "skills/dff_science_skill/service_configs/dff-science-skill" } }, "dff_music_skill": { @@ -1342,9 +1283,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_music_skill", - "container": "dff-music-skill", - "endpoint": "respond" + "component": "components/TUMYgqCicowHdORbycHBow.yml", + "service": "skills/dff_music_skill/service_configs/dff-music-skill" } }, "dff_funfact_skill": { @@ -1361,9 +1301,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_funfact_skill", - "container": "dff-funfact-skill", - "endpoint": "respond" + "component": "components/pciAVHGPCYBn8m14ZZsLg.yml", + "service": "skills/dff_funfact_skill/service_configs/dff-funfact-skill" } }, "dff_gossip_skill": { @@ -1382,9 +1321,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_gossip_skill", - "container": "dff-gossip-skill", - "endpoint": "respond" + "component": "components/NxFeriz1ymjSuvPITEJOQ.yml", + "service": "skills/dff_gossip_skill/service_configs/dff-gossip-skill" } }, "dff_bot_persona_skill": { @@ -1401,9 +1339,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_bot_persona_skill", - "container": "dff-bot-persona-skill", - "endpoint": "respond" + "component": "components/GYa5X3Q4snGIgQzAFc7Gg.yml", + "service": "skills/dff_bot_persona_skill/service_configs/dff-bot-persona-skill" } }, "dff_wiki_skill": { @@ -1420,9 +1357,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_wiki_skill", - "container": "dff-wiki-skill", - "endpoint": "respond" + "component": "components/pD4b43nPu73ev5T4Bf3RKw.yml", + "service": "skills/dff_wiki_skill/service_configs/dff-wiki-skill" } }, "dff_book_skill": { @@ -1439,9 +1375,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_book_skill", - "container": "dff-book-skill", - "endpoint": "respond" + "component": "components/IyLt06tlM1Ad13bQ2VQ9Vg.yml", + "service": "skills/dff_book_skill/service_configs/dff-book-skill" } }, "dff_art_skill": { @@ -1458,9 +1393,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_art_skill", - "container": "dff-art-skill", - "endpoint": "respond" + "component": "components/VVQgKT69i36HzEqbJKoWqQ.yml", + "service": "skills/dff_art_skill/service_configs/dff-art-skill" } }, "dialogpt": { @@ -1477,9 +1411,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "services/dialogpt", - "container": "dialogpt", - "endpoint": "respond" + "component": "components/7Dxjy1ZpQEAoPcEeABGBLg.yml", + "service": "services/dialogpt/service_configs/dialogpt" } }, "dff_template_skill": { @@ -1496,9 +1429,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_template_skill", - "container": "dff-template-skill", - "endpoint": "respond" + "component": "components/pC342KBWtheQNnXjIni6A.yml", + "service": "skills/dff_template_skill/service_configs/dff-template-skill" } } }, @@ -1517,9 +1449,8 @@ "state_manager_method": "add_bot_utterance", "is_enabled": true, "source": { - "directory": "response_selectors/convers_evaluation_based_selector", - "container": "scripts-priority-selector", - "endpoint": "respond" + "component": "components/3vsfbB89yVpQm5OVW0YcvQ.yml", + "service": "response_selectors/convers_evaluation_based_selector/service_configs/scripts-priority-selector" } } } diff --git a/assistant_dists/dream_mini/pipeline_conf.json b/assistant_dists/dream_mini/pipeline_conf.json index 1a6bcfdb59..93f865ec7c 100644 --- a/assistant_dists/dream_mini/pipeline_conf.json +++ b/assistant_dists/dream_mini/pipeline_conf.json @@ -28,8 +28,8 @@ ], "is_enabled": true, "source": { - "directory": "services/last_chance_service", - "container": "agent" + "component": "components/JBT6ELvDDQed.yml", + "service": "services/agent_services/service_configs/dream_mini" } }, "timeout_service": { @@ -53,8 +53,8 @@ ], "is_enabled": true, "source": { - "directory": "services/timeout_service", - "container": "agent" + "component": "components/8amq2jANl7xb.yml", + "service": "services/agent_services/service_configs/dream_mini" } }, "annotators": { @@ -66,12 +66,12 @@ }, "dialog_formatter": "state_formatters.dp_formatters:last_utt_dialog", "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", + "previous_services": [], "state_manager_method": "add_annotation_and_reset_human_attributes_for_first_turn", "is_enabled": true, "source": { - "directory": "annotators/spelling_preprocessing", - "container": "spelling-preprocessing", - "endpoint": "respond" + "component": "components/pGxj32ic41pvquRXUdqc7A.yml", + "service": "annotators/spelling_preprocessing/service_configs/spelling-preprocessing" } }, "sentseg": { @@ -88,9 +88,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/SentSeg", - "container": "sentseg", - "endpoint": "sentseg" + "component": "components/gM4fEjvVqLlSRRRkQfds2g.yml", + "service": "annotators/SentSeg/service_configs/sentseg" } }, "badlisted_words": { @@ -107,9 +106,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/BadlistedWordsDetector", - "container": "badlisted-words", - "endpoint": "badlisted_words" + "component": "components/gySZ51dyqYi9TOFr6zY5kA.yml", + "service": "annotators/BadlistedWordsDetector/service_configs/badlisted-words" } }, "intent_catcher": { @@ -127,9 +125,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/IntentCatcherTransformers", - "container": "intent-catcher", - "endpoint": "detect" + "component": "components/1IjC3r9b1VJ082ceINXzHQ.yml", + "service": "annotators/IntentCatcherTransformers/service_configs/intent-catcher" } } }, @@ -148,9 +145,8 @@ "state_manager_method": "add_annotation_prev_bot_utt", "is_enabled": true, "source": { - "directory": "annotators/SentSeg", - "container": "sentseg", - "endpoint": "sentseg" + "component": "components/1Q9QXih1U2zhCpVm9zxdsA.yml", + "service": "annotators/SentSeg/service_configs/sentseg" } } }, @@ -168,8 +164,8 @@ ], "is_enabled": true, "source": { - "directory": "services/response_annotator_selectors", - "container": "agent" + "component": "components/LXrJDIf43gwNmPMNXG5Eg.yml", + "service": "services/response_annotator_selectors/service_configs/agent" } }, "candidate_annotators": { @@ -187,9 +183,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "annotators/BadlistedWordsDetector", - "container": "badlisted-words", - "endpoint": "badlisted_words_batch" + "component": "components/gySZ51dyqYi9TOFr6zY5kA.yml", + "service": "annotators/BadlistedWordsDetector/service_configs/badlisted-words" } }, "sentence_ranker": { @@ -206,9 +201,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "services/sentence_ranker", - "container": "sentence-ranker", - "endpoint": "respond" + "component": "components/XGwmAHtAOu0NDqqG3QCJw.yml", + "service": "services/sentence_ranker/service_configs/sentence-ranker" } } }, @@ -228,8 +222,8 @@ ], "is_enabled": true, "source": { - "directory": "skill_selectors/rule_based_selector", - "container": "agent" + "component": "components/xSwFvtAUdvtQosvzpb7oMg.yml", + "service": "skill_selectors/rule_based_selector/service_configs/agent" } } }, @@ -248,9 +242,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_program_y_skill", - "container": "dff-program-y-skill", - "endpoint": "respond" + "component": "components/ckUclxqUplyzwmnYyixEw.yml", + "service": "skills/dff_program_y_skill/service_configs/dff-program-y-skill" } }, "dff_intent_responder_skill": { @@ -267,9 +260,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_intent_responder_skill", - "container": "dff-intent-responder-skill", - "endpoint": "respond" + "component": "components/CmQGq1Xn5YOaMwNIb4bEpA.yml", + "service": "skills/dff_intent_responder_skill/service_configs/dff-intent-responder-skill" } }, "dummy_skill": { @@ -285,8 +277,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dummy_skill", - "container": "agent" + "component": "components/uYkoK0vRp4bbIg9akI1yw.yml", + "service": "skills/dummy_skill/service_configs/agent" } }, "dialogpt": { @@ -303,9 +295,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "services/dialogpt", - "container": "dialogpt", - "endpoint": "respond" + "component": "components/7Dxjy1ZpQEAoPcEeABGBLg.yml", + "service": "services/dialogpt/service_configs/dialogpt" } } }, @@ -324,9 +315,8 @@ "state_manager_method": "add_bot_utterance", "is_enabled": true, "source": { - "directory": "response_selectors/convers_evaluation_based_selector", - "container": "convers-evaluation-selector", - "endpoint": "respond" + "component": "components/ly2AVNtIcJpTWz1qJ1mvKQ.yml", + "service": "response_selectors/convers_evaluation_based_selector/service_configs/convers-evaluation-selector" } } } diff --git a/assistant_dists/dream_mini_persona_based/pipeline_conf.json b/assistant_dists/dream_mini_persona_based/pipeline_conf.json index 63b2f435cd..bb7ee42bf0 100644 --- a/assistant_dists/dream_mini_persona_based/pipeline_conf.json +++ b/assistant_dists/dream_mini_persona_based/pipeline_conf.json @@ -28,8 +28,8 @@ ], "is_enabled": true, "source": { - "directory": "services/last_chance_service", - "container": "agent" + "component": "components/ma8V138JayP8.yml", + "service": "services/agent_services/service_configs/dream_mini_persona_based" } }, "timeout_service": { @@ -53,8 +53,8 @@ ], "is_enabled": true, "source": { - "directory": "services/timeout_service", - "container": "agent" + "component": "components/Aq8BKfuOs07Q.yml", + "service": "services/agent_services/service_configs/dream_mini_persona_based" } }, "annotators": { @@ -66,12 +66,12 @@ }, "dialog_formatter": "state_formatters.dp_formatters:last_utt_dialog", "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", + "previous_services": [], "state_manager_method": "add_annotation_and_reset_human_attributes_for_first_turn", "is_enabled": true, "source": { - "directory": "annotators/spelling_preprocessing", - "container": "spelling-preprocessing", - "endpoint": "respond" + "component": "components/pGxj32ic41pvquRXUdqc7A.yml", + "service": "annotators/spelling_preprocessing/service_configs/spelling-preprocessing" } }, "sentseg": { @@ -88,9 +88,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/SentSeg", - "container": "sentseg", - "endpoint": "sentseg" + "component": "components/gM4fEjvVqLlSRRRkQfds2g.yml", + "service": "annotators/SentSeg/service_configs/sentseg" } }, "badlisted_words": { @@ -107,9 +106,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/BadlistedWordsDetector", - "container": "badlisted-words", - "endpoint": "badlisted_words" + "component": "components/gySZ51dyqYi9TOFr6zY5kA.yml", + "service": "annotators/BadlistedWordsDetector/service_configs/badlisted-words" } }, "intent_catcher": { @@ -127,9 +125,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/IntentCatcherTransformers", - "container": "intent-catcher", - "endpoint": "detect" + "component": "components/1IjC3r9b1VJ082ceINXzHQ.yml", + "service": "annotators/IntentCatcherTransformers/service_configs/intent-catcher" } }, "relative_persona_extractor": { @@ -146,9 +143,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/relative_persona_extractor", - "container": "relative-persona-extractor", - "endpoint": "respond" + "component": "components/VkkvnRwjgB5GwrH98k5EKA.yml", + "service": "annotators/relative_persona_extractor/service_configs/relative-persona-extractor" } }, "midas_classification": { @@ -166,9 +162,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/midas_classification", - "container": "midas-classification", - "endpoint": "model" + "component": "components/eAupU7hg2SeSkZV1OpaLkw.yml", + "service": "annotators/midas_classification/service_configs/midas-classification" } } }, @@ -187,9 +182,8 @@ "state_manager_method": "add_annotation_prev_bot_utt", "is_enabled": true, "source": { - "directory": "annotators/SentSeg", - "container": "sentseg", - "endpoint": "sentseg" + "component": "components/1Q9QXih1U2zhCpVm9zxdsA.yml", + "service": "annotators/SentSeg/service_configs/sentseg" } } }, @@ -207,8 +201,8 @@ ], "is_enabled": true, "source": { - "directory": "services/response_annotator_selectors", - "container": "agent" + "component": "components/LXrJDIf43gwNmPMNXG5Eg.yml", + "service": "services/response_annotator_selectors/service_configs/agent" } }, "candidate_annotators": { @@ -226,9 +220,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "annotators/BadlistedWordsDetector", - "container": "badlisted-words", - "endpoint": "badlisted_words_batch" + "component": "components/gySZ51dyqYi9TOFr6zY5kA.yml", + "service": "annotators/BadlistedWordsDetector/service_configs/badlisted-words" } }, "sentence_ranker": { @@ -245,9 +238,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "services/sentence_ranker", - "container": "sentence-ranker", - "endpoint": "respond" + "component": "components/XGwmAHtAOu0NDqqG3QCJw.yml", + "service": "services/sentence_ranker/service_configs/sentence-ranker" } } }, @@ -267,8 +259,8 @@ ], "is_enabled": true, "source": { - "directory": "skill_selectors/rule_based_selector", - "container": "agent" + "component": "components/xSwFvtAUdvtQosvzpb7oMg.yml", + "service": "skill_selectors/rule_based_selector/service_configs/agent" } } }, @@ -287,9 +279,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_intent_responder_skill", - "container": "dff-intent-responder-skill", - "endpoint": "respond" + "component": "components/CmQGq1Xn5YOaMwNIb4bEpA.yml", + "service": "skills/dff_intent_responder_skill/service_configs/dff-intent-responder-skill" } }, "dummy_skill": { @@ -305,8 +296,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dummy_skill", - "container": "agent" + "component": "components/uYkoK0vRp4bbIg9akI1yw.yml", + "service": "skills/dummy_skill/service_configs/agent" } }, "dialogpt": { @@ -323,9 +314,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "services/dialogpt", - "container": "dialogpt", - "endpoint": "respond" + "component": "components/7Dxjy1ZpQEAoPcEeABGBLg.yml", + "service": "services/dialogpt/service_configs/dialogpt" } }, "seq2seq_persona_based": { @@ -342,9 +332,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "services/seq2seq_persona_based", - "container": "seq2seq-persona-based", - "endpoint": "respond" + "component": "components/Zs3hq7LIexcITcvlU39Cjw.yml", + "service": "services/seq2seq_persona_based/service_configs/seq2seq-persona-based" } } }, @@ -363,9 +352,8 @@ "state_manager_method": "add_bot_utterance", "is_enabled": true, "source": { - "directory": "response_selectors/convers_evaluation_based_selector", - "container": "convers-evaluation-selector", - "endpoint": "respond" + "component": "components/ly2AVNtIcJpTWz1qJ1mvKQ.yml", + "service": "response_selectors/convers_evaluation_based_selector/service_configs/convers-evaluation-selector" } } } diff --git a/assistant_dists/dream_multilingual/pipeline_conf.json b/assistant_dists/dream_multilingual/pipeline_conf.json index d3dc5e81d6..8d18414941 100755 --- a/assistant_dists/dream_multilingual/pipeline_conf.json +++ b/assistant_dists/dream_multilingual/pipeline_conf.json @@ -1,5 +1,53 @@ { "services": { + "last_chance_service": { + "connector": { + "protocol": "python", + "class_name": "PredefinedTextConnector", + "response_text": "Sorry, something went wrong inside. Please tell me, what did you say.", + "annotations": { + "sentseg": { + "punct_sent": "Sorry, something went wrong inside. Please tell me, what did you say.", + "segments": [ + "Sorry, something went wrong inside.", + "Please tell me, what did you say." + ] + } + } + }, + "state_manager_method": "add_bot_utterance_last_chance", + "tags": [ + "last_chance" + ], + "source": { + "component": "components/TvtHFEgVjuut.yml", + "service": "services/agent_services/service_configs/dream_multilingual" + } + }, + "timeout_service": { + "connector": { + "protocol": "python", + "class_name": "PredefinedTextConnector", + "response_text": "Sorry, I need to think more on that. Let's talk about something else.", + "annotations": { + "sentseg": { + "punct_sent": "Sorry, I need to think more on that. Let's talk about something else.", + "segments": [ + "Sorry, I need to think more on that.", + "Let's talk about something else." + ] + } + } + }, + "state_manager_method": "add_bot_utterance_last_chance", + "tags": [ + "timeout" + ], + "source": { + "component": "components/HvYsrVCd5c52.yml", + "service": "services/agent_services/service_configs/dream_multilingual" + } + }, "annotators": { "toxic_classification": { "connector": { @@ -9,12 +57,12 @@ }, "dialog_formatter": "state_formatters.dp_formatters:preproc_last_human_utt_dialog", "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", + "previous_services": [], "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/MultilingualToxicClassification", - "container": "toxic-classification-multilingual", - "endpoint": "respond" + "component": "components/XE0P0D9hrEvJAu4a8QRw.yml", + "service": "annotators/MultilingualToxicClassification/service_configs/toxic-classification-multilingual" } }, "sentiment_classification": { @@ -28,9 +76,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/MultilingualSentimentClassification", - "container": "sentiment-classification-multilingual", - "endpoint": "respond" + "component": "components/ci8xMlIVkTwcjOOQ5ztZ2g.yml", + "service": "annotators/MultilingualSentimentClassification/service_configs/sentiment-classification-multilingual" } } }, @@ -49,9 +96,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "services/sentence_ranker", - "container": "sentence-ranker-multilingual", - "endpoint": "respond" + "component": "components/HFemvyS0tyqChUVAuCZt7g.yml", + "service": "services/sentence_ranker/service_configs/sentence-ranker-multilingual" } }, "toxic_classification": { @@ -68,9 +114,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "annotators/MultilingualToxicClassification", - "container": "toxic-classification-multilingual", - "endpoint": "respond_batch" + "component": "components/XE0P0D9hrEvJAu4a8QRw.yml", + "service": "annotators/MultilingualToxicClassification/service_configs/toxic-classification-multilingual" } }, "sentiment_classification": { @@ -87,9 +132,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "annotators/MultilingualSentimentClassification", - "container": "sentiment-classification-multilingual", - "endpoint": "respond_batch" + "component": "components/ci8xMlIVkTwcjOOQ5ztZ2g.yml", + "service": "annotators/MultilingualSentimentClassification/service_configs/sentiment-classification-multilingual" } } }, @@ -109,8 +153,8 @@ ], "is_enabled": true, "source": { - "directory": "skill_selectors/rule_based_selector", - "container": "agent" + "component": "components/xSwFvtAUdvtQosvzpb7oMg.yml", + "service": "skill_selectors/rule_based_selector/service_configs/agent" } } }, @@ -129,9 +173,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "services/gpt2_generator", - "container": "gpt2-multilingual", - "endpoint": "respond" + "component": "components/XgWzjx4qHTsfx1ijyDcsw.yml", + "service": "services/gpt2_generator/service_configs/gpt2-multilingual" } } }, @@ -150,12 +193,30 @@ "state_manager_method": "add_bot_utterance", "is_enabled": true, "source": { - "directory": "response_selectors/convers_evaluation_based_selector", - "container": "convers-evaluation-selector", - "endpoint": "respond" + "component": "components/ly2AVNtIcJpTWz1qJ1mvKQ.yml", + "service": "response_selectors/convers_evaluation_based_selector/service_configs/convers-evaluation-selector" } } - } + }, + "response_annotator_selectors": { + "connector": { + "protocol": "python", + "class_name": "skill_selectors.post_annotator_selector.connector:PostAnnotatorSelectorConnector", + "annotator_names": [ + "sentseg" + ] + }, + "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", + "tags": [ + "selector" + ], + "is_enabled": true, + "source": { + "component": "components/LXrJDIf43gwNmPMNXG5Eg.yml", + "service": "services/response_annotator_selectors/service_configs/agent" + } + }, + "response_annotators": {} }, "metadata": { "display_name": "Dream Multilingual", diff --git a/assistant_dists/dream_multimodal/pipeline_conf.json b/assistant_dists/dream_multimodal/pipeline_conf.json index a62d3db6ba..19dcfa47c6 100644 --- a/assistant_dists/dream_multimodal/pipeline_conf.json +++ b/assistant_dists/dream_multimodal/pipeline_conf.json @@ -28,8 +28,8 @@ ], "is_enabled": true, "source": { - "directory": "services/last_chance_service", - "container": "agent" + "component": "components/dBe4eyhkP0Dj.yml", + "service": "services/agent_services/service_configs/dream_multimodal" } }, "timeout_service": { @@ -53,8 +53,8 @@ ], "is_enabled": true, "source": { - "directory": "services/timeout_service", - "container": "agent" + "component": "components/w5FfsS2I9Zpz.yml", + "service": "services/agent_services/service_configs/dream_multimodal" } }, "annotators": { @@ -66,12 +66,12 @@ }, "dialog_formatter": "state_formatters.dp_formatters:last_utt_dialog", "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", + "previous_services": [], "state_manager_method": "add_annotation_and_reset_human_attributes_for_first_turn", "is_enabled": true, "source": { - "directory": "annotators/spelling_preprocessing", - "container": "spelling-preprocessing", - "endpoint": "respond" + "component": "components/pGxj32ic41pvquRXUdqc7A.yml", + "service": "annotators/spelling_preprocessing/service_configs/spelling-preprocessing" } }, "sentseg": { @@ -88,9 +88,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/SentSeg", - "container": "sentseg", - "endpoint": "sentseg" + "component": "components/gM4fEjvVqLlSRRRkQfds2g.yml", + "service": "annotators/SentSeg/service_configs/sentseg" } }, "badlisted_words": { @@ -107,9 +106,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/BadlistedWordsDetector", - "container": "badlisted-words", - "endpoint": "badlisted_words" + "component": "components/gySZ51dyqYi9TOFr6zY5kA.yml", + "service": "annotators/BadlistedWordsDetector/service_configs/badlisted-words" } }, "intent_catcher": { @@ -127,9 +125,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/IntentCatcherTransformers", - "container": "intent-catcher", - "endpoint": "detect" + "component": "components/1IjC3r9b1VJ082ceINXzHQ.yml", + "service": "annotators/IntentCatcherTransformers/service_configs/intent-catcher" } }, "image_captioning": { @@ -143,9 +140,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "services/image_captioning", - "container": "image-captioning", - "endpoint": "respond" + "component": "components/f2hECzXDTTfljm5mweoMFA.yml", + "service": "services/image_captioning/service_configs/image-captioning" } } }, @@ -164,9 +160,8 @@ "state_manager_method": "add_annotation_prev_bot_utt", "is_enabled": true, "source": { - "directory": "annotators/SentSeg", - "container": "sentseg", - "endpoint": "sentseg" + "component": "components/1Q9QXih1U2zhCpVm9zxdsA.yml", + "service": "annotators/SentSeg/service_configs/sentseg" } } }, @@ -184,8 +179,8 @@ ], "is_enabled": true, "source": { - "directory": "services/response_annotator_selectors", - "container": "agent" + "component": "components/LXrJDIf43gwNmPMNXG5Eg.yml", + "service": "services/response_annotator_selectors/service_configs/agent" } }, "candidate_annotators": { @@ -203,9 +198,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "annotators/BadlistedWordsDetector", - "container": "badlisted-words", - "endpoint": "badlisted_words_batch" + "component": "components/gySZ51dyqYi9TOFr6zY5kA.yml", + "service": "annotators/BadlistedWordsDetector/service_configs/badlisted-words" } }, "sentence_ranker": { @@ -222,9 +216,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "services/sentence_ranker", - "container": "sentence-ranker", - "endpoint": "respond" + "component": "components/XGwmAHtAOu0NDqqG3QCJw.yml", + "service": "services/sentence_ranker/service_configs/sentence-ranker" } } }, @@ -244,8 +237,8 @@ ], "is_enabled": true, "source": { - "directory": "skill_selectors/rule_based_selector", - "container": "agent" + "component": "components/xSwFvtAUdvtQosvzpb7oMg.yml", + "service": "skill_selectors/rule_based_selector/service_configs/agent" } } }, @@ -264,9 +257,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_program_y_skill", - "container": "dff-program-y-skill", - "endpoint": "respond" + "component": "components/ckUclxqUplyzwmnYyixEw.yml", + "service": "skills/dff_program_y_skill/service_configs/dff-program-y-skill" } }, "dff_intent_responder_skill": { @@ -283,9 +275,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_intent_responder_skill", - "container": "dff-intent-responder-skill", - "endpoint": "respond" + "component": "components/CmQGq1Xn5YOaMwNIb4bEpA.yml", + "service": "skills/dff_intent_responder_skill/service_configs/dff-intent-responder-skill" } }, "dummy_skill": { @@ -301,8 +292,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dummy_skill", - "container": "agent" + "component": "components/uYkoK0vRp4bbIg9akI1yw.yml", + "service": "skills/dummy_skill/service_configs/agent" } }, "dialogpt": { @@ -319,9 +310,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "services/dialogpt", - "container": "dialogpt", - "endpoint": "respond" + "component": "components/7Dxjy1ZpQEAoPcEeABGBLg.yml", + "service": "services/dialogpt/service_configs/dialogpt" } }, "dff_image_skill": { @@ -338,9 +328,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_image_skill", - "container": "dff-image-skill", - "endpoint": "respond" + "component": "components/unB9cRBV3MRGqKtrbQDPA.yml", + "service": "skills/dff_image_skill/service_configs/dff-image-skill" } } }, @@ -359,9 +348,8 @@ "state_manager_method": "add_bot_utterance", "is_enabled": true, "source": { - "directory": "response_selectors/convers_evaluation_based_selector", - "container": "convers-evaluation-selector", - "endpoint": "respond" + "component": "components/ly2AVNtIcJpTWz1qJ1mvKQ.yml", + "service": "response_selectors/convers_evaluation_based_selector/service_configs/convers-evaluation-selector" } } } diff --git a/assistant_dists/dream_persona_openai_prompted/pipeline_conf.json b/assistant_dists/dream_persona_openai_prompted/pipeline_conf.json index ed9bac6b97..a215c9a5df 100644 --- a/assistant_dists/dream_persona_openai_prompted/pipeline_conf.json +++ b/assistant_dists/dream_persona_openai_prompted/pipeline_conf.json @@ -27,8 +27,8 @@ "last_chance" ], "source": { - "directory": "services/last_chance_service", - "container": "agent" + "component": "components/ORrfDhL6aqYS.yml", + "service": "services/agent_services/service_configs/dream_persona_openai_prompted" } }, "timeout_service": { @@ -51,8 +51,8 @@ "timeout" ], "source": { - "directory": "services/timeout_service", - "container": "agent" + "component": "components/sRlBA8KUwLyO.yml", + "service": "services/agent_services/service_configs/dream_persona_openai_prompted" } }, "response_annotator_selectors": { @@ -69,8 +69,8 @@ ], "is_enabled": true, "source": { - "directory": "services/response_annotator_selectors", - "container": "agent" + "component": "components/LXrJDIf43gwNmPMNXG5Eg.yml", + "service": "services/response_annotator_selectors/service_configs/agent" } }, "response_annotators": { @@ -88,9 +88,8 @@ "state_manager_method": "add_annotation_prev_bot_utt", "is_enabled": true, "source": { - "directory": "annotators/SentSeg", - "container": "sentseg", - "endpoint": "sentseg" + "component": "components/1Q9QXih1U2zhCpVm9zxdsA.yml", + "service": "annotators/SentSeg/service_configs/sentseg" } } }, @@ -103,14 +102,12 @@ }, "dialog_formatter": "state_formatters.dp_formatters:preproc_last_human_utt_dialog", "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", - "previous_services": [ - ], + "previous_services": [], "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/SentSeg", - "container": "sentseg", - "endpoint": "sentseg" + "component": "components/gM4fEjvVqLlSRRRkQfds2g.yml", + "service": "annotators/SentSeg/service_configs/sentseg" } }, "prompt_selector": { @@ -121,14 +118,12 @@ }, "dialog_formatter": "state_formatters.dp_formatters:context_formatter_dialog", "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", - "previous_services": [ - ], + "previous_services": [], "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/prompt_selector", - "container": "prompt-selector", - "endpoint": "respond" + "component": "components/tK0hTk4TyMj7.yml", + "service": "annotators/prompt_selector/service_configs/dream_persona_openai_prompted" } } }, @@ -148,8 +143,8 @@ ], "is_enabled": true, "source": { - "directory": "skill_selectors/rule_based_selector", - "container": "agent" + "component": "components/xSwFvtAUdvtQosvzpb7oMg.yml", + "service": "skill_selectors/rule_based_selector/service_configs/agent" } } }, @@ -157,10 +152,13 @@ "dff_dream_persona_prompted_skill": { "connector": { "protocol": "http", - "timeout": 7.0, + "timeout": 10.0, "url": "http://dff-dream-persona-davinci3-prompted-skill:8137/respond" }, - "dialog_formatter": "state_formatters.dp_formatters:dff_dream_persona_prompted_skill_formatter", + "dialog_formatter": { + "name": "state_formatters.dp_formatters:dff_prompted_skill_formatter", + "skill_name": "dff_dream_persona_prompted_skill" + }, "response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service", "previous_services": [ "skill_selectors" @@ -168,9 +166,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_template_prompted_skill", - "container": "dff-dream-persona-davinci3-prompted-skill", - "endpoint": "respond" + "component": "components/W6hdAGshQyMwdQukRXXuKA.yml", + "service": "skills/dff_template_prompted_skill/service_configs/dff-dream-persona-davinci3-prompted-skill" } }, "dummy_skill": { @@ -186,8 +183,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dummy_skill", - "container": "agent" + "component": "components/uYkoK0vRp4bbIg9akI1yw.yml", + "service": "skills/dummy_skill/service_configs/agent" } } }, @@ -206,9 +203,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "annotators/combined_classification", - "container": "combined-classification", - "endpoint": "batch_model" + "component": "components/PbLNvh4hrvs47rPaf2bfYQ.yml", + "service": "annotators/combined_classification/service_configs/combined-classification" } }, "sentence_ranker": { @@ -225,9 +221,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "services/sentence_ranker", - "container": "sentence-ranker", - "endpoint": "respond" + "component": "components/XGwmAHtAOu0NDqqG3QCJw.yml", + "service": "services/sentence_ranker/service_configs/sentence-ranker" } } }, @@ -246,9 +241,8 @@ "state_manager_method": "add_bot_utterance", "is_enabled": true, "source": { - "directory": "response_selectors/ranking_based_response_selector", - "container": "ranking-based-response-selector", - "endpoint": "respond" + "component": "components/YJzc7NwGrLmKp6gfZJh7X1.yml", + "service": "response_selectors/ranking_based_response_selector/service_configs/ranking-based-response-selector" } } } diff --git a/assistant_dists/dream_persona_prompted/README.md b/assistant_dists/dream_persona_prompted/README.md index ea714cee56..af6fe2f388 100644 --- a/assistant_dists/dream_persona_prompted/README.md +++ b/assistant_dists/dream_persona_prompted/README.md @@ -101,7 +101,10 @@ If one wants to create a new prompted distribution (distribution containing prom "timeout": 4.5, "url": "http://dff-dream-persona-gpt-j-prompted-skill:8134/respond" }, - "dialog_formatter": "state_formatters.dp_formatters:dff_dream_persona_prompted_skill_formatter", + "dialog_formatter": { + "name": "state_formatters.dp_formatters:dff_prompted_skill_formatter", + "skill_name": "dff_dream_persona_prompted_skill" + }, "response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service", "previous_services": [ "skill_selectors" diff --git a/assistant_dists/dream_persona_prompted/pipeline_conf.json b/assistant_dists/dream_persona_prompted/pipeline_conf.json index 49bf3fa02e..477f38691d 100644 --- a/assistant_dists/dream_persona_prompted/pipeline_conf.json +++ b/assistant_dists/dream_persona_prompted/pipeline_conf.json @@ -26,9 +26,10 @@ "tags": [ "last_chance" ], + "is_enabled": true, "source": { - "directory": "services/last_chance_service", - "container": "agent" + "component": "components/uBwLe0Jusl7Q.yml", + "service": "services/agent_services/service_configs/dream_persona_prompted" } }, "timeout_service": { @@ -50,27 +51,44 @@ "tags": [ "timeout" ], + "is_enabled": true, "source": { - "directory": "services/timeout_service", - "container": "agent" + "component": "components/Vi0jGZfqNIU8.yml", + "service": "services/agent_services/service_configs/dream_persona_prompted" } }, - "response_annotator_selectors": { - "connector": { - "protocol": "python", - "class_name": "skill_selectors.post_annotator_selector.connector:PostAnnotatorSelectorConnector", - "annotator_names": [ - "sentseg" - ] + "annotators": { + "sentseg": { + "connector": { + "protocol": "http", + "timeout": 1.5, + "url": "http://sentseg:8011/sentseg" + }, + "dialog_formatter": "state_formatters.dp_formatters:preproc_last_human_utt_dialog", + "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", + "previous_services": [], + "state_manager_method": "add_annotation", + "is_enabled": true, + "source": { + "component": "components/gM4fEjvVqLlSRRRkQfds2g.yml", + "service": "annotators/SentSeg/service_configs/sentseg" + } }, - "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", - "tags": [ - "selector" - ], - "is_enabled": true, - "source": { - "directory": "services/response_annotator_selectors", - "container": "agent" + "prompt_selector": { + "connector": { + "protocol": "http", + "timeout": 2.0, + "url": "http://prompt-selector:8135/respond" + }, + "dialog_formatter": "state_formatters.dp_formatters:context_formatter_dialog", + "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", + "previous_services": [], + "state_manager_method": "add_annotation", + "is_enabled": true, + "source": { + "component": "components/Wps5FHxkwj3Z.yml", + "service": "annotators/prompt_selector/service_configs/dream_persona_prompted" + } } }, "response_annotators": { @@ -88,47 +106,64 @@ "state_manager_method": "add_annotation_prev_bot_utt", "is_enabled": true, "source": { - "directory": "annotators/SentSeg", - "container": "sentseg", - "endpoint": "sentseg" + "component": "components/1Q9QXih1U2zhCpVm9zxdsA.yml", + "service": "annotators/SentSeg/service_configs/sentseg" } } }, - "annotators": { - "sentseg": { + "response_annotator_selectors": { + "connector": { + "protocol": "python", + "class_name": "skill_selectors.post_annotator_selector.connector:PostAnnotatorSelectorConnector", + "annotator_names": [ + "sentseg" + ] + }, + "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", + "tags": [ + "selector" + ], + "is_enabled": true, + "source": { + "component": "components/LXrJDIf43gwNmPMNXG5Eg.yml", + "service": "services/response_annotator_selectors/service_configs/agent" + } + }, + "candidate_annotators": { + "combined_classification": { "connector": { "protocol": "http", - "timeout": 1.5, - "url": "http://sentseg:8011/sentseg" + "timeout": 2.0, + "url": "http://combined-classification:8087/batch_model" }, - "dialog_formatter": "state_formatters.dp_formatters:preproc_last_human_utt_dialog", + "dialog_formatter": "state_formatters.dp_formatters:hypothesis_histories_list", "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", "previous_services": [ + "skills" ], - "state_manager_method": "add_annotation", + "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "annotators/SentSeg", - "container": "sentseg", - "endpoint": "sentseg" + "component": "components/PbLNvh4hrvs47rPaf2bfYQ.yml", + "service": "annotators/combined_classification/service_configs/combined-classification" } }, - "prompt_selector": { + "sentence_ranker": { "connector": { "protocol": "http", - "timeout": 2.0, - "url": "http://prompt-selector:8135/respond" + "timeout": 1.0, + "url": "http://sentence-ranker:8128/respond" }, - "dialog_formatter": "state_formatters.dp_formatters:context_formatter_dialog", + "dialog_formatter": "state_formatters.dp_formatters:sentence_ranker_formatter", "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", "previous_services": [ + "skills" ], - "state_manager_method": "add_annotation", + "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "annotators/prompt_selector", - "container": "prompt-selector", - "endpoint": "respond" + "component": "components/XGwmAHtAOu0NDqqG3QCJw.yml", + "service": "services/sentence_ranker/service_configs/sentence-ranker" } } }, @@ -148,8 +183,8 @@ ], "is_enabled": true, "source": { - "directory": "skill_selectors/rule_based_selector", - "container": "agent" + "component": "components/xSwFvtAUdvtQosvzpb7oMg.yml", + "service": "skill_selectors/rule_based_selector/service_configs/agent" } } }, @@ -157,10 +192,13 @@ "dff_dream_persona_prompted_skill": { "connector": { "protocol": "http", - "timeout": 10.0, + "timeout": 5.0, "url": "http://dff-dream-persona-gpt-j-prompted-skill:8134/respond" }, - "dialog_formatter": "state_formatters.dp_formatters:dff_dream_persona_prompted_skill_formatter", + "dialog_formatter": { + "name": "state_formatters.dp_formatters:dff_prompted_skill_formatter", + "skill_name": "dff_dream_persona_prompted_skill" + }, "response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service", "previous_services": [ "skill_selectors" @@ -168,9 +206,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_template_prompted_skill", - "container": "dff-dream-persona-gpt-j-prompted-skill", - "endpoint": "respond" + "component": "components/6lLhP7zuoiI0bxJEDLWUg.yml", + "service": "skills/dff_template_prompted_skill/service_configs/dff-dream-persona-gpt-j-prompted-skill" } }, "dummy_skill": { @@ -186,48 +223,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dummy_skill", - "container": "agent" - } - } - }, - "candidate_annotators": { - "combined_classification": { - "connector": { - "protocol": "http", - "timeout": 2.0, - "url": "http://combined-classification:8087/batch_model" - }, - "dialog_formatter": "state_formatters.dp_formatters:hypothesis_histories_list", - "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", - "previous_services": [ - "skills" - ], - "state_manager_method": "add_hypothesis_annotation_batch", - "is_enabled": true, - "source": { - "directory": "annotators/combined_classification", - "container": "combined-classification", - "endpoint": "batch_model" - } - }, - "sentence_ranker": { - "connector": { - "protocol": "http", - "timeout": 1.0, - "url": "http://sentence-ranker:8128/respond" - }, - "dialog_formatter": "state_formatters.dp_formatters:sentence_ranker_formatter", - "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", - "previous_services": [ - "skills" - ], - "state_manager_method": "add_hypothesis_annotation_batch", - "is_enabled": true, - "source": { - "directory": "services/sentence_ranker", - "container": "sentence-ranker", - "endpoint": "respond" + "component": "components/uYkoK0vRp4bbIg9akI1yw.yml", + "service": "skills/dummy_skill/service_configs/agent" } } }, @@ -246,9 +243,8 @@ "state_manager_method": "add_bot_utterance", "is_enabled": true, "source": { - "directory": "response_selectors/ranking_based_response_selector", - "container": "ranking-based-response-selector", - "endpoint": "respond" + "component": "components/YJzc7NwGrLmKp6gfZJh7X1.yml", + "service": "response_selectors/ranking_based_response_selector/service_configs/ranking-based-response-selector" } } } diff --git a/assistant_dists/dream_persona_rullama_prompted/docker-compose.override.yml b/assistant_dists/dream_persona_rullama_prompted/docker-compose.override.yml index 359d6afa12..28ed90d69b 100644 --- a/assistant_dists/dream_persona_rullama_prompted/docker-compose.override.yml +++ b/assistant_dists/dream_persona_rullama_prompted/docker-compose.override.yml @@ -103,7 +103,7 @@ services: PROMPT_FILE: common/prompts/dream_persona_ru.json GENERATIVE_SERVICE_URL: http://transformers-lm-llama7bru:8149/respond GENERATIVE_TIMEOUT: 10 - N_UTTERANCES_CONTEXT: 3 + N_UTTERANCES_CONTEXT: 7 context: . dockerfile: ./skills/dff_template_prompted_skill/Dockerfile command: gunicorn --workers=1 server:app -b 0.0.0.0:8151 --reload diff --git a/assistant_dists/dream_persona_rullama_prompted/pipeline_conf.json b/assistant_dists/dream_persona_rullama_prompted/pipeline_conf.json index 4052273fa0..fd4ea63fc6 100644 --- a/assistant_dists/dream_persona_rullama_prompted/pipeline_conf.json +++ b/assistant_dists/dream_persona_rullama_prompted/pipeline_conf.json @@ -21,8 +21,8 @@ ], "is_enabled": true, "source": { - "directory": "services/last_chance_service", - "container": "agent" + "component": "components/H1bbLiJ4B8Fg77NPDgGjA.yml", + "service": "services/last_chance_service/service_configs/agent" } }, "timeout_service": { @@ -46,8 +46,8 @@ ], "is_enabled": true, "source": { - "directory": "services/timeout_service", - "container": "agent" + "component": "components/nbRgFzod7Qx6M7GL6oiPg.yml", + "service": "services/timeout_service/service_configs/agent" } }, "annotators": { @@ -59,14 +59,12 @@ }, "dialog_formatter": "state_formatters.dp_formatters:context_formatter_dialog", "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", - "previous_services": [ - ], + "previous_services": [], "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/prompt_selector", - "container": "prompt-selector-ru", - "endpoint": "respond" + "component": "components/5jR1Tq88W5OckWnTV8VIYL.yml", + "service": "annotators/prompt_selector/service_configs/prompt-selector-ru" } } }, @@ -85,12 +83,30 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "services/dialogrpt_ru", - "container": "dialogrpt-ru", - "endpoint": "respond" + "component": "components/DUW2u7FwPMyhBOWrK1HTg.yml", + "service": "services/dialogrpt_ru/service_configs/dialogrpt-ru" } } }, + "response_annotators": {}, + "response_annotator_selectors": { + "connector": { + "protocol": "python", + "class_name": "skill_selectors.post_annotator_selector.connector:PostAnnotatorSelectorConnector", + "annotator_names": [ + "sentseg" + ] + }, + "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", + "tags": [ + "selector" + ], + "is_enabled": true, + "source": { + "component": "components/LXrJDIf43gwNmPMNXG5Eg.yml", + "service": "services/response_annotator_selectors/service_configs/agent" + } + }, "skill_selectors": { "rule_based_selector": { "connector": { @@ -107,8 +123,8 @@ ], "is_enabled": true, "source": { - "directory": "skill_selectors/rule_based_selector", - "container": "agent" + "component": "components/xSwFvtAUdvtQosvzpb7oMg.yml", + "service": "skill_selectors/rule_based_selector/service_configs/agent" } } }, @@ -119,7 +135,10 @@ "timeout": 10.0, "url": "http://dff-dream-persona-llama7bru-prompted-skill:8151/respond" }, - "dialog_formatter": "state_formatters.dp_formatters:dff_dream_persona_ru_prompted_skill_formatter", + "dialog_formatter": { + "name": "state_formatters.dp_formatters:dff_prompted_skill_formatter", + "skill_name": "dff_dream_persona_ru_prompted_skill" + }, "response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service", "previous_services": [ "skill_selectors" @@ -127,9 +146,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_template_prompted_skill", - "container": "dff-dream-persona-llama7bru-prompted-skill", - "endpoint": "respond" + "component": "components/iGAodokVchB6IJ7Jlggdkw.yml", + "service": "skills/dff_template_prompted_skill/service_configs/dff-dream-persona-llama7bru-prompted-skill" } }, "dummy_skill": { @@ -145,8 +163,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dummy_skill", - "container": "agent" + "component": "components/uYkoK0vRp4bbIg9akI1yw.yml", + "service": "skills/dummy_skill/service_configs/agent" } } }, @@ -165,9 +183,8 @@ "state_manager_method": "add_bot_utterance", "is_enabled": true, "source": { - "directory": "response_selectors/ranking_based_response_selector", - "container": "ranking-based-response-selector-ru", - "endpoint": "respond" + "component": "components/hE12LfxAkX3K9gU0nU4yE2.yml", + "service": "response_selectors/ranking_based_response_selector/service_configs/ranking-based-response-selector-ru" } } } diff --git a/assistant_dists/dream_russian/pipeline_conf.json b/assistant_dists/dream_russian/pipeline_conf.json index 2d8d39a6a0..cbae91e28f 100644 --- a/assistant_dists/dream_russian/pipeline_conf.json +++ b/assistant_dists/dream_russian/pipeline_conf.json @@ -36,8 +36,8 @@ ], "is_enabled": true, "source": { - "directory": "services/last_chance_service", - "container": "agent" + "component": "components/ofdqbJszMago.yml", + "service": "services/agent_services/service_configs/dream_russian" } }, "timeout_service": { @@ -64,8 +64,8 @@ ], "is_enabled": true, "source": { - "directory": "services/timeout_service", - "container": "agent" + "component": "components/o11NkX9o26nr.yml", + "service": "services/agent_services/service_configs/dream_russian" } }, "annotators": { @@ -77,12 +77,12 @@ }, "dialog_formatter": "state_formatters.dp_formatters:last_utt_dialog", "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", + "previous_services": [], "state_manager_method": "add_annotation_and_reset_human_attributes_for_first_turn", "is_enabled": true, "source": { - "directory": "annotators/spelling_preprocessing_dp", - "container": "spelling-preprocessing-ru", - "endpoint": "respond" + "component": "components/OOF0PmuxswPuZintDoAlXw.yml", + "service": "annotators/spelling_preprocessing_dp/service_configs/spelling-preprocessing-ru" } }, "spacy_annotator": { @@ -96,9 +96,8 @@ "state_manager_method": "add_annotation_and_reset_human_attributes_for_first_turn", "is_enabled": true, "source": { - "directory": "annotators/spacy_annotator", - "container": "spacy-annotator-ru", - "endpoint": "respond" + "component": "components/2U9da1Fyq1KvANddliIN5g.yml", + "service": "annotators/spacy_annotator/service_configs/spacy-annotator-ru" } }, "sentseg": { @@ -115,9 +114,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/sentseg_ru", - "container": "sentseg-ru", - "endpoint": "sentseg" + "component": "components/Nw2SnrS4DGoALg6Cu58Zw.yml", + "service": "annotators/sentseg_ru/service_configs/sentseg-ru" } }, "badlisted_words": { @@ -135,9 +133,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/BadlistedWordsDetector_ru", - "container": "badlisted-words-ru", - "endpoint": "badlisted_words" + "component": "components/WzIX0HJ0Xyo4V8ItwLew.yml", + "service": "annotators/BadlistedWordsDetector_ru/service_configs/badlisted-words-ru" } }, "toxic_classification": { @@ -154,9 +151,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/toxic_classification_ru", - "container": "toxic-classification-ru", - "endpoint": "respond" + "component": "components/3DTP1sVdmFIBYrC8OjRYA.yml", + "service": "annotators/toxic_classification_ru/service_configs/toxic-classification-ru" } }, "intent_catcher": { @@ -174,9 +170,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/IntentCatcherTransformers", - "container": "intent-catcher-ru", - "endpoint": "detect" + "component": "components/v2RpT5Ryi2ke97ANZxRnJg.yml", + "service": "annotators/IntentCatcherTransformers/service_configs/intent-catcher-ru" } }, "ner": { @@ -194,9 +189,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/NER_deeppavlov", - "container": "ner-ru", - "endpoint": "ner" + "component": "components/Jlk28u7nVCSNqrT1YpLAQ.yml", + "service": "annotators/NER_deeppavlov/service_configs/ner-ru" } }, "entity_detection": { @@ -214,9 +208,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/entity_detection_rus", - "container": "entity-detection-ru", - "endpoint": "respond" + "component": "components/1VPCe8n0dmU8o2hC0NeeWQ.yml", + "service": "annotators/entity_detection_rus/service_configs/entity-detection-ru" } }, "entity_linking": { @@ -234,9 +227,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/entity_linking_rus", - "container": "entity-linking-ru", - "endpoint": "model" + "component": "components/m30AHfu4VgC51bUU6Jo7A.yml", + "service": "annotators/entity_linking_rus/service_configs/entity-linking-ru" } }, "fact_retrieval": { @@ -253,9 +245,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/fact_retrieval_rus", - "container": "fact-retrieval-ru", - "endpoint": "respond" + "component": "components/vE3pRKimWyPc5qaeW8Q1Q.yml", + "service": "annotators/fact_retrieval_rus/service_configs/fact-retrieval-ru" } }, "wiki_parser": { @@ -272,9 +263,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/wiki_parser", - "container": "wiki-parser-ru", - "endpoint": "model" + "component": "components/feDgqHKLibnMNM3HSbnmA.yml", + "service": "annotators/wiki_parser/service_configs/wiki-parser-ru" } } }, @@ -293,9 +283,8 @@ "state_manager_method": "add_annotation_prev_bot_utt", "is_enabled": true, "source": { - "directory": "annotators/sentseg_ru", - "container": "sentseg-ru", - "endpoint": "sentseg" + "component": "components/4SJxJlf3E8TTM94Uiqt5Xg.yml", + "service": "annotators/sentseg_ru/service_configs/sentseg-ru" } }, "ner": { @@ -313,9 +302,8 @@ "state_manager_method": "add_annotation_prev_bot_utt", "is_enabled": true, "source": { - "directory": "annotators/NER_deeppavlov", - "container": "ner-ru", - "endpoint": "ner" + "component": "components/Jlk28u7nVCSNqrT1YpLAQ.yml", + "service": "annotators/NER_deeppavlov/service_configs/ner-ru" } } }, @@ -334,8 +322,8 @@ ], "is_enabled": true, "source": { - "directory": "services/response_annotator_selectors", - "container": "agent" + "component": "components/LXrJDIf43gwNmPMNXG5Eg.yml", + "service": "services/response_annotator_selectors/service_configs/agent" } }, "candidate_annotators": { @@ -353,9 +341,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "annotators/spacy_annotator", - "container": "spacy-annotator-ru", - "endpoint": "respond_batch" + "component": "components/2U9da1Fyq1KvANddliIN5g.yml", + "service": "annotators/spacy_annotator/service_configs/spacy-annotator-ru" } }, "badlisted_words": { @@ -372,9 +359,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "annotators/BadlistedWordsDetector_ru", - "container": "badlisted-words-ru", - "endpoint": "badlisted_words_batch" + "component": "components/gySZ51dyqYi9TOFr6zY5kA.yml", + "service": "annotators/BadlistedWordsDetector_ru/service_configs/badlisted-words-ru" } }, "toxic_classification": { @@ -391,9 +377,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "annotators/toxic_classification_ru", - "container": "toxic-classification-ru", - "endpoint": "respond_batch" + "component": "components/3DTP1sVdmFIBYrC8OjRYA.yml", + "service": "annotators/toxic_classification_ru/service_configs/toxic-classification-ru" } }, "entity_detection": { @@ -410,9 +395,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "annotators/entity_detection", - "container": "entity-detection", - "endpoint": "respond_batch" + "component": "components/05PqJXVd7gV7DqslN5z3A.yml", + "service": "annotators/entity_detection/service_configs/entity-detection" } }, "dialogrpt": { @@ -429,9 +413,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "services/dialogrpt_ru", - "container": "dialogrpt-ru", - "endpoint": "respond" + "component": "components/DUW2u7FwPMyhBOWrK1HTg.yml", + "service": "services/dialogrpt_ru/service_configs/dialogrpt-ru" } } }, @@ -451,8 +434,8 @@ ], "is_enabled": true, "source": { - "directory": "skill_selectors/rule_based_selector", - "container": "agent" + "component": "components/xSwFvtAUdvtQosvzpb7oMg.yml", + "service": "skill_selectors/rule_based_selector/service_configs/agent" } } }, @@ -471,9 +454,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_program_y_skill", - "container": "dff-program-y-ru-skill", - "endpoint": "respond" + "component": "components/rJL2LobMLcELiot0Fy9w.yml", + "service": "skills/dff_program_y_skill/service_configs/dff-program-y-ru-skill" } }, "dff_intent_responder_skill": { @@ -490,9 +472,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_intent_responder_skill", - "container": "dff-intent-responder-ru-skill", - "endpoint": "respond" + "component": "components/qJPPqfjKviUyvDTCn2Xw.yml", + "service": "skills/dff_intent_responder_skill/service_configs/dff-intent-responder-ru-skill" } }, "dummy_skill": { @@ -508,8 +489,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dummy_skill", - "container": "agent" + "component": "components/uYkoK0vRp4bbIg9akI1yw.yml", + "service": "skills/dummy_skill/service_configs/agent" } }, "personal_info_skill": { @@ -526,9 +507,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/personal_info_skill", - "container": "personal-info-ru-skill", - "endpoint": "respond" + "component": "components/RJuoKZw7krAuB4LrP5fQ.yml", + "service": "skills/personal_info_skill/service_configs/personal-info-ru-skill" } }, "dff_friendship_skill": { @@ -545,9 +525,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_friendship_skill", - "container": "dff-friendship-ru-skill", - "endpoint": "respond" + "component": "components/cyCwlcQF9mAtDNcxOS6CA.yml", + "service": "skills/dff_friendship_skill/service_configs/dff-friendship-ru-skill" } }, "dff_generative_skill": { @@ -564,9 +543,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_generative_skill", - "container": "dff-generative-ru-skill", - "endpoint": "respond" + "component": "components/FJpakzPR4IC8F1sos7FSg.yml", + "service": "skills/dff_generative_skill/service_configs/dff-generative-ru-skill" } }, "dff_template_skill": { @@ -583,9 +561,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_template_skill", - "container": "dff-template-skill", - "endpoint": "respond" + "component": "components/pC342KBWtheQNnXjIni6A.yml", + "service": "skills/dff_template_skill/service_configs/dff-template-skill" } }, "text_qa": { @@ -602,9 +579,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "services/text_qa", - "container": "text-qa-ru", - "endpoint": "model" + "component": "components/mtdRL2FMMYwzdfEeRtVmug.yml", + "service": "services/text_qa/service_configs/text-qa-ru" } } }, @@ -623,9 +599,8 @@ "state_manager_method": "add_bot_utterance", "is_enabled": true, "source": { - "directory": "response_selectors/convers_evaluation_based_selector", - "container": "convers-evaluation-selector-ru", - "endpoint": "respond" + "component": "components/SFiPofc4cGq6IRlit38e8A.yml", + "service": "response_selectors/convers_evaluation_based_selector/service_configs/convers-evaluation-selector-ru" } } } diff --git a/assistant_dists/dream_sfc/pipeline_conf.json b/assistant_dists/dream_sfc/pipeline_conf.json index 5196d67fb3..b90eb31b94 100644 --- a/assistant_dists/dream_sfc/pipeline_conf.json +++ b/assistant_dists/dream_sfc/pipeline_conf.json @@ -47,8 +47,8 @@ ], "is_enabled": true, "source": { - "directory": "services/last_chance_service", - "container": "agent" + "component": "components/iNIe7QE1KUf0.yml", + "service": "services/agent_services/service_configs/dream_sfc" } }, "timeout_service": { @@ -81,8 +81,8 @@ ], "is_enabled": true, "source": { - "directory": "services/timeout_service", - "container": "agent" + "component": "components/RZzyxv06mT3Y.yml", + "service": "services/agent_services/service_configs/dream_sfc" } }, "annotators": { @@ -94,12 +94,12 @@ }, "dialog_formatter": "state_formatters.dp_formatters:last_utt_dialog", "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", + "previous_services": [], "state_manager_method": "add_annotation_and_reset_human_attributes_for_first_turn", "is_enabled": true, "source": { - "directory": "annotators/spelling_preprocessing", - "container": "spelling-preprocessing", - "endpoint": "respond" + "component": "components/pGxj32ic41pvquRXUdqc7A.yml", + "service": "annotators/spelling_preprocessing/service_configs/spelling-preprocessing" } }, "sentseg": { @@ -116,9 +116,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/SentSeg", - "container": "sentseg", - "endpoint": "sentseg" + "component": "components/gM4fEjvVqLlSRRRkQfds2g.yml", + "service": "annotators/SentSeg/service_configs/sentseg" } }, "spacy_nounphrases": { @@ -135,9 +134,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/spacy_nounphrases", - "container": "spacy-nounphrases", - "endpoint": "respond" + "component": "components/dswI5sRZbFPmgcNQKH5iPg.yml", + "service": "annotators/spacy_nounphrases/service_configs/spacy-nounphrases" } }, "comet_conceptnet": { @@ -156,9 +154,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/COMeT", - "container": "comet-conceptnet", - "endpoint": "comet_annotator" + "component": "components/eOCFQOgp1Un10NyBC8MPow.yml", + "service": "annotators/COMeT/service_configs/comet-conceptnet" } }, "badlisted_words": { @@ -175,9 +172,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/BadlistedWordsDetector", - "container": "badlisted-words", - "endpoint": "badlisted_words" + "component": "components/gySZ51dyqYi9TOFr6zY5kA.yml", + "service": "annotators/BadlistedWordsDetector/service_configs/badlisted-words" } }, "asr": { @@ -191,9 +187,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/asr", - "container": "asr", - "endpoint": "asr_check" + "component": "components/2Fck28uscKzZBviQ8WZTg.yml", + "service": "annotators/asr/service_configs/asr" } }, "intent_catcher": { @@ -211,9 +206,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/IntentCatcherTransformers", - "container": "intent-catcher", - "endpoint": "detect" + "component": "components/1IjC3r9b1VJ082ceINXzHQ.yml", + "service": "annotators/IntentCatcherTransformers/service_configs/intent-catcher" } }, "fact_random": { @@ -232,9 +226,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/fact_random", - "container": "fact-random", - "endpoint": "respond" + "component": "components/QqTMvljZNeJGkLykBRUAw.yml", + "service": "annotators/fact_random/service_configs/fact-random" } }, "fact_retrieval": { @@ -253,9 +246,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/fact_retrieval", - "container": "fact-retrieval", - "endpoint": "model" + "component": "components/sVjXygxsPhjLEWd2acwcEA.yml", + "service": "annotators/fact_retrieval/service_configs/fact-retrieval" } }, "ner": { @@ -273,9 +265,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/NER_deeppavlov", - "container": "ner", - "endpoint": "ner" + "component": "components/3RDNPBdybjBlSQZqcc7nGQ.yml", + "service": "annotators/NER_deeppavlov/service_configs/ner" } }, "entity_detection": { @@ -293,9 +284,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/entity_detection", - "container": "entity-detection", - "endpoint": "respond" + "component": "components/05PqJXVd7gV7DqslN5z3A.yml", + "service": "annotators/entity_detection/service_configs/entity-detection" } }, "kbqa": { @@ -312,9 +302,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/kbqa", - "container": "kbqa", - "endpoint": "model" + "component": "components/3clxaNOTpI3oHR0fHRaCnQ.yml", + "service": "annotators/kbqa/service_configs/kbqa" } }, "entity_linking": { @@ -333,9 +322,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/entity_linking", - "container": "entity-linking", - "endpoint": "model" + "component": "components/M1sE6hOm20EGBWBdr0vIOw.yml", + "service": "annotators/entity_linking/service_configs/entity-linking" } }, "wiki_parser": { @@ -352,9 +340,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/wiki_parser", - "container": "wiki-parser", - "endpoint": "model" + "component": "components/O4FVnkAwjay1mL1FbuRGWw.yml", + "service": "annotators/wiki_parser/service_configs/wiki-parser" } }, "sentrewrite": { @@ -374,9 +361,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/SentRewrite", - "container": "sentrewrite", - "endpoint": "sentrewrite" + "component": "components/2qgyiVeuSZnotxkaBe3cw.yml", + "service": "annotators/SentRewrite/service_configs/sentrewrite" } }, "combined_classification": { @@ -393,9 +379,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/combined_classification", - "container": "combined-classification", - "endpoint": "model" + "component": "components/PbLNvh4hrvs47rPaf2bfYQ.yml", + "service": "annotators/combined_classification/service_configs/combined-classification" } }, "entity_storer": { @@ -413,9 +398,8 @@ "state_manager_method": "update_attributes", "is_enabled": true, "source": { - "directory": "annotators/entity_storer", - "container": "entity-storer", - "endpoint": "respond" + "component": "components/KSNMJJOS15MN2lsyS8fjBg.yml", + "service": "annotators/entity_storer/service_configs/entity-storer" } }, "news_api_annotator": { @@ -436,9 +420,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/news_api", - "container": "news-api-annotator", - "endpoint": "respond" + "component": "components/DKpAPqrBbakAcoSbx6hibg.yml", + "service": "annotators/news_api/service_configs/news-api-annotator" } }, "topic_recommendation": { @@ -457,9 +440,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/topic_recommendation", - "container": "topic-recommendation", - "endpoint": "respond" + "component": "components/iZluV29Xg8AwaHPGijaeLg.yml", + "service": "annotators/topic_recommendation/service_configs/topic-recommendation" } }, "user_persona_extractor": { @@ -476,9 +458,8 @@ "state_manager_method": "update_attributes", "is_enabled": true, "source": { - "directory": "annotators/user_persona_extractor", - "container": "user-persona-extractor", - "endpoint": "respond" + "component": "components/g4GQdGsud4N4VUB8NideA.yml", + "service": "annotators/user_persona_extractor/service_configs/user-persona-extractor" } }, "speech_function_classifier": { @@ -496,9 +477,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/speech_function_classifier", - "container": "speech-function-classifier", - "endpoint": "model" + "component": "components/IvTBJz0AoCD98qMOkbXEkg.yml", + "service": "annotators/speech_function_classifier/service_configs/speech-function-classifier" } }, "speech_function_predictor": { @@ -515,9 +495,8 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/speech_function_predictor", - "container": "speech-function-predictor", - "endpoint": "model" + "component": "components/FNmTZbz8EA6Y80b5pXZzQ.yml", + "service": "annotators/speech_function_predictor/service_configs/speech-function-predictor" } } }, @@ -536,9 +515,8 @@ "state_manager_method": "add_annotation_prev_bot_utt", "is_enabled": true, "source": { - "directory": "annotators/SentSeg", - "container": "sentseg", - "endpoint": "sentseg" + "component": "components/1Q9QXih1U2zhCpVm9zxdsA.yml", + "service": "annotators/SentSeg/service_configs/sentseg" } }, "ner": { @@ -556,9 +534,8 @@ "state_manager_method": "add_annotation_prev_bot_utt", "is_enabled": true, "source": { - "directory": "annotators/NER_deeppavlov", - "container": "ner", - "endpoint": "ner" + "component": "components/3RDNPBdybjBlSQZqcc7nGQ.yml", + "service": "annotators/NER_deeppavlov/service_configs/ner" } }, "sentrewrite": { @@ -577,9 +554,8 @@ "state_manager_method": "add_annotation_prev_bot_utt", "is_enabled": true, "source": { - "directory": "annotators/SentRewrite", - "container": "sentrewrite", - "endpoint": "sentrewrite" + "component": "components/2qgyiVeuSZnotxkaBe3cw.yml", + "service": "annotators/SentRewrite/service_configs/sentrewrite" } }, "spacy_nounphrases": { @@ -596,9 +572,8 @@ "state_manager_method": "add_annotation_prev_bot_utt", "is_enabled": true, "source": { - "directory": "annotators/spacy_nounphrases", - "container": "spacy-nounphrases", - "endpoint": "respond" + "component": "components/dswI5sRZbFPmgcNQKH5iPg.yml", + "service": "annotators/spacy_nounphrases/service_configs/spacy-nounphrases" } }, "speech_function_classifier": { @@ -616,9 +591,8 @@ "state_manager_method": "add_annotation_prev_bot_utt", "is_enabled": true, "source": { - "directory": "annotators/speech_function_classifier", - "container": "speech-function-classifier", - "endpoint": "model" + "component": "components/IvTBJz0AoCD98qMOkbXEkg.yml", + "service": "annotators/speech_function_classifier/service_configs/speech-function-classifier" } } }, @@ -640,8 +614,8 @@ ], "is_enabled": true, "source": { - "directory": "services/response_annotator_selectors", - "container": "agent" + "component": "components/LXrJDIf43gwNmPMNXG5Eg.yml", + "service": "services/response_annotator_selectors/service_configs/agent" } }, "candidate_annotators": { @@ -659,9 +633,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "annotators/speech_function_classifier", - "container": "speech-function-classifier", - "endpoint": "annotation" + "component": "components/IvTBJz0AoCD98qMOkbXEkg.yml", + "service": "annotators/speech_function_classifier/service_configs/speech-function-classifier" } }, "speech_function_predictor": { @@ -678,9 +651,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "annotators/speech_function_predictor", - "container": "speech-function-predictor", - "endpoint": "annotation" + "component": "components/FNmTZbz8EA6Y80b5pXZzQ.yml", + "service": "annotators/speech_function_predictor/service_configs/speech-function-predictor" } }, "badlisted_words": { @@ -697,9 +669,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "annotators/BadlistedWordsDetector", - "container": "badlisted-words", - "endpoint": "badlisted_words_batch" + "component": "components/gySZ51dyqYi9TOFr6zY5kA.yml", + "service": "annotators/BadlistedWordsDetector/service_configs/badlisted-words" } }, "convers_evaluator_annotator": { @@ -716,9 +687,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "annotators/ConversationEvaluator", - "container": "convers-evaluator-annotator", - "endpoint": "batch_model" + "component": "components/n1HuqlV7EoNrWXcv8WaIQ.yml", + "service": "annotators/ConversationEvaluator/service_configs/convers-evaluator-annotator" } }, "spacy_nounphrases": { @@ -735,9 +705,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "annotators/spacy_nounphrases", - "container": "spacy-nounphrases", - "endpoint": "respond_batch" + "component": "components/dswI5sRZbFPmgcNQKH5iPg.yml", + "service": "annotators/spacy_nounphrases/service_configs/spacy-nounphrases" } }, "entity_detection": { @@ -754,9 +723,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "annotators/entity_detection", - "container": "entity-detection", - "endpoint": "respond_batch" + "component": "components/05PqJXVd7gV7DqslN5z3A.yml", + "service": "annotators/entity_detection/service_configs/entity-detection" } }, "midas_classification": { @@ -773,9 +741,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "annotators/midas_classification", - "container": "midas-classification", - "endpoint": "batch_model" + "component": "components/eAupU7hg2SeSkZV1OpaLkw.yml", + "service": "annotators/midas_classification/service_configs/midas-classification" } }, "combined_classification": { @@ -792,9 +759,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "annotators/combined_classification", - "container": "combined-classification", - "endpoint": "batch_model" + "component": "components/PbLNvh4hrvs47rPaf2bfYQ.yml", + "service": "annotators/combined_classification/service_configs/combined-classification" } } }, @@ -814,8 +780,8 @@ ], "is_enabled": true, "source": { - "directory": "skill_selectors/rule_based_selector", - "container": "agent" + "component": "components/xSwFvtAUdvtQosvzpb7oMg.yml", + "service": "skill_selectors/rule_based_selector/service_configs/agent" } } }, @@ -834,9 +800,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_sport_skill", - "container": "dff-sport-skill", - "endpoint": "respond" + "component": "components/pjNkr5Kenxb0NMODp9u2Dw.yml", + "service": "skills/dff_sport_skill/service_configs/dff-sport-skill" } }, "eliza": { @@ -853,9 +818,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/eliza", - "container": "eliza", - "endpoint": "respond" + "component": "components/hc1VGhVPyuOIDiMYUp0Q.yml", + "service": "skills/eliza/service_configs/eliza" } }, "dff_program_y_skill": { @@ -872,9 +836,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_program_y_skill", - "container": "dff-program-y-skill", - "endpoint": "respond" + "component": "components/ckUclxqUplyzwmnYyixEw.yml", + "service": "skills/dff_program_y_skill/service_configs/dff-program-y-skill" } }, "personality_catcher": { @@ -891,9 +854,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/personality_catcher", - "container": "personality-catcher", - "endpoint": "personality_catcher" + "component": "components/AkgtzbAdOaly7bBjaOQvg.yml", + "service": "skills/personality_catcher/service_configs/personality-catcher" } }, "dff_intent_responder_skill": { @@ -910,9 +872,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_intent_responder_skill", - "container": "dff-intent-responder-skill", - "endpoint": "respond" + "component": "components/CmQGq1Xn5YOaMwNIb4bEpA.yml", + "service": "skills/dff_intent_responder_skill/service_configs/dff-intent-responder-skill" } }, "dummy_skill": { @@ -928,8 +889,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dummy_skill", - "container": "agent" + "component": "components/uYkoK0vRp4bbIg9akI1yw.yml", + "service": "skills/dummy_skill/service_configs/agent" } }, "alexa_handler": { @@ -945,8 +906,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/alexa_handler", - "container": "agent" + "component": "components/CGfUfSJOGK2diPRLlsXYFA.yml", + "service": "skills/alexa_handler/service_configs/agent" } }, "dummy_skill_dialog": { @@ -963,9 +924,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dummy_skill_dialog", - "container": "dummy-skill-dialog", - "endpoint": "respond" + "component": "components/vC2zMO3Jf1evuVj6KqEK6A.yml", + "service": "skills/dummy_skill_dialog/service_configs/dummy-skill-dialog" } }, "misheard_asr": { @@ -982,9 +942,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/misheard_asr", - "container": "misheard-asr", - "endpoint": "misheard_respond" + "component": "components/uBfG9guHvNVxErmJ3QZxw.yml", + "service": "skills/misheard_asr/service_configs/misheard-asr" } }, "dff_program_y_dangerous_skill": { @@ -1001,9 +960,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_program_y_dangerous_skill", - "container": "dff-program-y-dangerous-skill", - "endpoint": "respond" + "component": "components/VFltJVPpaCZ7Mquk2N7qg.yml", + "service": "skills/dff_program_y_dangerous_skill/service_configs/dff-program-y-dangerous-skill" } }, "dff_movie_skill": { @@ -1020,9 +978,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_movie_skill", - "container": "dff-movie-skill", - "endpoint": "respond" + "component": "components/4yA8wZWOEnafRfz6Po9nvA.yml", + "service": "skills/dff_movie_skill/service_configs/dff-movie-skill" } }, "emotion_skill": { @@ -1039,9 +996,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/emotion_skill", - "container": "emotion-skill", - "endpoint": "respond" + "component": "components/GUBU1VTsOaAmXsPId4c9tg.yml", + "service": "skills/emotion_skill/service_configs/emotion-skill" } }, "convert_reddit": { @@ -1058,9 +1014,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/convert_reddit", - "container": "convert-reddit", - "endpoint": "convert_reddit" + "component": "components/HxZwtabTqPYokTZ9yJ3MQ.yml", + "service": "skills/convert_reddit/service_configs/convert-reddit" } }, "personal_info_skill": { @@ -1077,9 +1032,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/personal_info_skill", - "container": "personal-info-skill", - "endpoint": "respond" + "component": "components/jduT06J4H7FsxAfQRFcjIQ.yml", + "service": "skills/personal_info_skill/service_configs/personal-info-skill" } }, "dff_coronavirus_skill": { @@ -1096,9 +1050,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_coronavirus_skill", - "container": "dff-coronavirus-skill", - "endpoint": "respond" + "component": "components/ytOAJhcgTY7jGhIuqShU7w.yml", + "service": "skills/dff_coronavirus_skill/service_configs/dff-coronavirus-skill" } }, "dff_weather_skill": { @@ -1115,9 +1068,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_weather_skill", - "container": "dff-weather-skill", - "endpoint": "respond" + "component": "components/USXkrUZRNdXbwACjKhO6KQ.yml", + "service": "skills/dff_weather_skill/service_configs/dff-weather-skill" } }, "dff_short_story_skill": { @@ -1134,9 +1086,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_short_story_skill", - "container": "dff-short-story-skill", - "endpoint": "respond" + "component": "components/U7OP1e0KcceldKplIDMvg.yml", + "service": "skills/dff_short_story_skill/service_configs/dff-short-story-skill" } }, "meta_script_skill": { @@ -1153,9 +1104,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/meta_script_skill", - "container": "meta-script-skill", - "endpoint": "meta_script" + "component": "components/XnOc0ygtsgoaEdDdzSJQ.yml", + "service": "skills/meta_script_skill/service_configs/meta-script-skill" } }, "small_talk_skill": { @@ -1172,9 +1122,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/small_talk_skill", - "container": "small-talk-skill", - "endpoint": "respond" + "component": "components/EvuPQO29N28izuWLBtxew.yml", + "service": "skills/small_talk_skill/service_configs/small-talk-skill" } }, "game_cooperative_skill": { @@ -1191,9 +1140,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/game_cooperative_skill", - "container": "game-cooperative-skill", - "endpoint": "respond" + "component": "components/zR8WrA2O9QEzhdMnsVMPg.yml", + "service": "skills/game_cooperative_skill/service_configs/game-cooperative-skill" } }, "dff_program_y_wide_skill": { @@ -1210,9 +1158,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_program_y_wide_skill", - "container": "dff-program-y-wide-skill", - "endpoint": "respond" + "component": "components/1HucxpdVamyoS0GEl3l7A.yml", + "service": "skills/dff_program_y_wide_skill/service_configs/dff-program-y-wide-skill" } }, "news_api_skill": { @@ -1229,9 +1176,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/news_api_skill", - "container": "news-api-skill", - "endpoint": "respond" + "component": "components/kQnGkibrJH20J8sYTbF5rg.yml", + "service": "skills/news_api_skill/service_configs/news-api-skill" } }, "comet_dialog_skill": { @@ -1248,9 +1194,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/meta_script_skill", - "container": "meta-script-skill", - "endpoint": "comet_dialog" + "component": "components/XnOc0ygtsgoaEdDdzSJQ.yml", + "service": "skills/meta_script_skill/service_configs/meta-script-skill" } }, "dff_grounding_skill": { @@ -1267,9 +1212,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_grounding_skill", - "container": "dff-grounding-skill", - "endpoint": "respond" + "component": "components/mUjJLckDDozfREkbYOjk5g.yml", + "service": "skills/dff_grounding_skill/service_configs/dff-grounding-skill" } }, "factoid_qa": { @@ -1286,9 +1230,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/factoid_qa", - "container": "factoid-qa", - "endpoint": "respond" + "component": "components/qx0j5QHAzog0b39nRnuA.yml", + "service": "skills/factoid_qa/service_configs/factoid-qa" } }, "dff_animals_skill": { @@ -1305,9 +1248,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_animals_skill", - "container": "dff-animals-skill", - "endpoint": "respond" + "component": "components/w3uS7t7cW72QFYo0Ugf29w.yml", + "service": "skills/dff_animals_skill/service_configs/dff-animals-skill" } }, "dff_gaming_skill": { @@ -1324,9 +1266,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_gaming_skill", - "container": "dff-gaming-skill", - "endpoint": "respond" + "component": "components/V21kCVvTaCv8J0c4rDV4RA.yml", + "service": "skills/dff_gaming_skill/service_configs/dff-gaming-skill" } }, "dff_friendship_skill": { @@ -1343,9 +1284,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_friendship_skill", - "container": "dff-friendship-skill", - "endpoint": "respond" + "component": "components/haBUc1rsCitGmBzndrKl5w.yml", + "service": "skills/dff_friendship_skill/service_configs/dff-friendship-skill" } }, "knowledge_grounding_skill": { @@ -1362,9 +1302,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/knowledge_grounding_skill", - "container": "knowledge-grounding-skill", - "endpoint": "respond" + "component": "components/ciuEzuXBNAXpidbSBXTyw.yml", + "service": "skills/knowledge_grounding_skill/service_configs/knowledge-grounding-skill" } }, "dff_travel_skill": { @@ -1381,9 +1320,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_travel_skill", - "container": "dff-travel-skill", - "endpoint": "respond" + "component": "components/DbHXjhwWHORIms84Z3WJbA.yml", + "service": "skills/dff_travel_skill/service_configs/dff-travel-skill" } }, "dff_food_skill": { @@ -1400,9 +1338,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_food_skill", - "container": "dff-food-skill", - "endpoint": "respond" + "component": "components/ED4eLNB6JK3U8sUGHsQ.yml", + "service": "skills/dff_food_skill/service_configs/dff-food-skill" } }, "dff_science_skill": { @@ -1419,9 +1356,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_science_skill", - "container": "dff-science-skill", - "endpoint": "respond" + "component": "components/0sXrpFc5dMQSbhydkrrq7A.yml", + "service": "skills/dff_science_skill/service_configs/dff-science-skill" } }, "dff_music_skill": { @@ -1438,9 +1374,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_music_skill", - "container": "dff-music-skill", - "endpoint": "respond" + "component": "components/TUMYgqCicowHdORbycHBow.yml", + "service": "skills/dff_music_skill/service_configs/dff-music-skill" } }, "dff_funfact_skill": { @@ -1457,9 +1392,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_funfact_skill", - "container": "dff-funfact-skill", - "endpoint": "respond" + "component": "components/pciAVHGPCYBn8m14ZZsLg.yml", + "service": "skills/dff_funfact_skill/service_configs/dff-funfact-skill" } }, "dff_gossip_skill": { @@ -1478,9 +1412,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_gossip_skill", - "container": "dff-gossip-skill", - "endpoint": "respond" + "component": "components/NxFeriz1ymjSuvPITEJOQ.yml", + "service": "skills/dff_gossip_skill/service_configs/dff-gossip-skill" } }, "dff_bot_persona_skill": { @@ -1497,9 +1430,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_bot_persona_skill", - "container": "dff-bot-persona-skill", - "endpoint": "respond" + "component": "components/GYa5X3Q4snGIgQzAFc7Gg.yml", + "service": "skills/dff_bot_persona_skill/service_configs/dff-bot-persona-skill" } }, "dff_wiki_skill": { @@ -1516,9 +1448,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_wiki_skill", - "container": "dff-wiki-skill", - "endpoint": "respond" + "component": "components/pD4b43nPu73ev5T4Bf3RKw.yml", + "service": "skills/dff_wiki_skill/service_configs/dff-wiki-skill" } }, "dff_book_skill": { @@ -1535,9 +1466,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_book_sfc_skill", - "container": "dff-book-sfc-skill", - "endpoint": "respond" + "component": "components/9XSWCH46buTl2isGsdefA.yml", + "service": "skills/dff_book_sfc_skill/service_configs/dff-book-sfc-skill" } }, "dff_art_skill": { @@ -1554,9 +1484,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_art_skill", - "container": "dff-art-skill", - "endpoint": "respond" + "component": "components/VVQgKT69i36HzEqbJKoWqQ.yml", + "service": "skills/dff_art_skill/service_configs/dff-art-skill" } }, "dff_template_skill": { @@ -1573,9 +1502,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_template_skill", - "container": "dff-template-skill", - "endpoint": "respond" + "component": "components/pC342KBWtheQNnXjIni6A.yml", + "service": "skills/dff_template_skill/service_configs/dff-template-skill" } } }, @@ -1594,9 +1522,8 @@ "state_manager_method": "add_bot_utterance", "is_enabled": true, "source": { - "directory": "response_selectors/convers_evaluation_based_selector", - "container": "scripts-priority-selector", - "endpoint": "respond" + "component": "components/3vsfbB89yVpQm5OVW0YcvQ.yml", + "service": "response_selectors/convers_evaluation_based_selector/service_configs/scripts-priority-selector" } } } diff --git a/assistant_dists/fairytale_assistant/pipeline_conf.json b/assistant_dists/fairytale_assistant/pipeline_conf.json index 7dd0184fa9..a31cd340c0 100644 --- a/assistant_dists/fairytale_assistant/pipeline_conf.json +++ b/assistant_dists/fairytale_assistant/pipeline_conf.json @@ -27,8 +27,8 @@ "last_chance" ], "source": { - "directory": "services/last_chance_service", - "container": "agent" + "component": "components/kDMKXKzObbUL.yml", + "service": "services/agent_services/service_configs/fairytale_assistant" } }, "timeout_service": { @@ -51,8 +51,8 @@ "timeout" ], "source": { - "directory": "services/timeout_service", - "container": "agent" + "component": "components/2LVyFT6xI6CR.yml", + "service": "services/agent_services/service_configs/fairytale_assistant" } }, "response_annotator_selectors": { @@ -69,8 +69,8 @@ ], "is_enabled": true, "source": { - "directory": "services/response_annotator_selectors", - "container": "agent" + "component": "components/LXrJDIf43gwNmPMNXG5Eg.yml", + "service": "services/response_annotator_selectors/service_configs/agent" } }, "response_annotators": { @@ -88,9 +88,8 @@ "state_manager_method": "add_annotation_prev_bot_utt", "is_enabled": true, "source": { - "directory": "annotators/SentSeg", - "container": "sentseg", - "endpoint": "sentseg" + "component": "components/1Q9QXih1U2zhCpVm9zxdsA.yml", + "service": "annotators/SentSeg/service_configs/sentseg" } } }, @@ -103,14 +102,12 @@ }, "dialog_formatter": "state_formatters.dp_formatters:preproc_last_human_utt_dialog", "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", - "previous_services": [ - ], + "previous_services": [], "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/SentSeg", - "container": "sentseg", - "endpoint": "sentseg" + "component": "components/gM4fEjvVqLlSRRRkQfds2g.yml", + "service": "annotators/SentSeg/service_configs/sentseg" } }, "prompt_selector": { @@ -121,14 +118,12 @@ }, "dialog_formatter": "state_formatters.dp_formatters:context_formatter_dialog", "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", - "previous_services": [ - ], + "previous_services": [], "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/prompt_selector", - "container": "prompt-selector", - "endpoint": "respond" + "component": "components/pSQhVbMPcWjL.yml", + "service": "annotators/prompt_selector/service_configs/fairytale_assistant" } } }, @@ -148,8 +143,8 @@ ], "is_enabled": true, "source": { - "directory": "skill_selectors/rule_based_selector", - "container": "agent" + "component": "components/xSwFvtAUdvtQosvzpb7oMg.yml", + "service": "skill_selectors/rule_based_selector/service_configs/agent" } } }, @@ -160,7 +155,10 @@ "timeout": 30.0, "url": "http://dff-fairytale-prompted-skill:8139/respond" }, - "dialog_formatter": "state_formatters.dp_formatters:dff_fairytale_prompted_skill_formatter", + "dialog_formatter": { + "name": "state_formatters.dp_formatters:dff_prompted_skill_formatter", + "skill_name": "dff_fairytale_prompted_skill" + }, "response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service", "previous_services": [ "skill_selectors" @@ -168,9 +166,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_template_prompted_skill", - "container": "dff-fairytale-prompted-skill", - "endpoint": "respond" + "component": "components/zTwDs7eGPcDvcrxtzgi4ag.yml", + "service": "skills/dff_template_prompted_skill/service_configs/dff-fairytale-prompted-skill" } }, "dummy_skill": { @@ -186,8 +183,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dummy_skill", - "container": "agent" + "component": "components/uYkoK0vRp4bbIg9akI1yw.yml", + "service": "skills/dummy_skill/service_configs/agent" } } }, @@ -206,9 +203,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "annotators/combined_classification", - "container": "combined-classification", - "endpoint": "batch_model" + "component": "components/PbLNvh4hrvs47rPaf2bfYQ.yml", + "service": "annotators/combined_classification/service_configs/combined-classification" } }, "sentence_ranker": { @@ -225,9 +221,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "services/sentence_ranker", - "container": "sentence-ranker", - "endpoint": "respond" + "component": "components/XGwmAHtAOu0NDqqG3QCJw.yml", + "service": "services/sentence_ranker/service_configs/sentence-ranker" } } }, @@ -246,9 +241,8 @@ "state_manager_method": "add_bot_utterance", "is_enabled": true, "source": { - "directory": "response_selectors/ranking_based_response_selector", - "container": "ranking-based-response-selector", - "endpoint": "respond" + "component": "components/YJzc7NwGrLmKp6gfZJh7X1.yml", + "service": "response_selectors/ranking_based_response_selector/service_configs/ranking-based-response-selector" } } } diff --git a/assistant_dists/fashion_stylist_assistant/pipeline_conf.json b/assistant_dists/fashion_stylist_assistant/pipeline_conf.json index 128664bd3c..523849ea2d 100644 --- a/assistant_dists/fashion_stylist_assistant/pipeline_conf.json +++ b/assistant_dists/fashion_stylist_assistant/pipeline_conf.json @@ -27,8 +27,8 @@ "last_chance" ], "source": { - "directory": "services/last_chance_service", - "container": "agent" + "component": "components/43JRcG1T0urZ.yml", + "service": "services/agent_services/service_configs/fashion_stylist_assistant" } }, "timeout_service": { @@ -51,8 +51,8 @@ "timeout" ], "source": { - "directory": "services/timeout_service", - "container": "agent" + "component": "components/5oDP3mLmiLaS.yml", + "service": "services/agent_services/service_configs/fashion_stylist_assistant" } }, "response_annotator_selectors": { @@ -69,8 +69,8 @@ ], "is_enabled": true, "source": { - "directory": "services/response_annotator_selectors", - "container": "agent" + "component": "components/LXrJDIf43gwNmPMNXG5Eg.yml", + "service": "services/response_annotator_selectors/service_configs/agent" } }, "response_annotators": { @@ -88,9 +88,8 @@ "state_manager_method": "add_annotation_prev_bot_utt", "is_enabled": true, "source": { - "directory": "annotators/SentSeg", - "container": "sentseg", - "endpoint": "sentseg" + "component": "components/1Q9QXih1U2zhCpVm9zxdsA.yml", + "service": "annotators/SentSeg/service_configs/sentseg" } } }, @@ -103,14 +102,12 @@ }, "dialog_formatter": "state_formatters.dp_formatters:preproc_last_human_utt_dialog", "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", - "previous_services": [ - ], + "previous_services": [], "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/SentSeg", - "container": "sentseg", - "endpoint": "sentseg" + "component": "components/gM4fEjvVqLlSRRRkQfds2g.yml", + "service": "annotators/SentSeg/service_configs/sentseg" } }, "prompt_selector": { @@ -121,14 +118,12 @@ }, "dialog_formatter": "state_formatters.dp_formatters:context_formatter_dialog", "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", - "previous_services": [ - ], + "previous_services": [], "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/prompt_selector", - "container": "prompt-selector", - "endpoint": "respond" + "component": "components/5Sr7pFn5Vaiu.yml", + "service": "annotators/prompt_selector/service_configs/fashion_stylist_assistant" } } }, @@ -148,8 +143,8 @@ ], "is_enabled": true, "source": { - "directory": "skill_selectors/rule_based_selector", - "container": "agent" + "component": "components/xSwFvtAUdvtQosvzpb7oMg.yml", + "service": "skill_selectors/rule_based_selector/service_configs/agent" } } }, @@ -160,7 +155,10 @@ "timeout": 10.0, "url": "http://dff-fashion-stylist-prompted-skill:8144/respond" }, - "dialog_formatter": "state_formatters.dp_formatters:dff_fashion_stylist_prompted_skill_formatter", + "dialog_formatter": { + "name": "state_formatters.dp_formatters:dff_prompted_skill_formatter", + "skill_name": "dff_fashion_stylist_prompted_skill" + }, "response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service", "previous_services": [ "skill_selectors" @@ -168,9 +166,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_template_prompted_skill", - "container": "dff-fashion-stylist-prompted-skill", - "endpoint": "respond" + "component": "components/WXoRDgXAlx8x17ZlwO9jA.yml", + "service": "skills/dff_template_prompted_skill/service_configs/dff-fashion-stylist-prompted-skill" } }, "dummy_skill": { @@ -186,8 +183,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dummy_skill", - "container": "agent" + "component": "components/uYkoK0vRp4bbIg9akI1yw.yml", + "service": "skills/dummy_skill/service_configs/agent" } } }, @@ -206,9 +203,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "annotators/combined_classification", - "container": "combined-classification", - "endpoint": "batch_model" + "component": "components/PbLNvh4hrvs47rPaf2bfYQ.yml", + "service": "annotators/combined_classification/service_configs/combined-classification" } }, "sentence_ranker": { @@ -225,9 +221,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "services/sentence_ranker", - "container": "sentence-ranker", - "endpoint": "respond" + "component": "components/XGwmAHtAOu0NDqqG3QCJw.yml", + "service": "services/sentence_ranker/service_configs/sentence-ranker" } } }, @@ -246,9 +241,8 @@ "state_manager_method": "add_bot_utterance", "is_enabled": true, "source": { - "directory": "response_selectors/ranking_based_response_selector", - "container": "ranking-based-response-selector", - "endpoint": "respond" + "component": "components/YJzc7NwGrLmKp6gfZJh7X1.yml", + "service": "response_selectors/ranking_based_response_selector/service_configs/ranking-based-response-selector" } } } diff --git a/assistant_dists/life_coaching_assistant/pipeline_conf.json b/assistant_dists/life_coaching_assistant/pipeline_conf.json index 93b39a2521..2ad4178826 100644 --- a/assistant_dists/life_coaching_assistant/pipeline_conf.json +++ b/assistant_dists/life_coaching_assistant/pipeline_conf.json @@ -27,8 +27,8 @@ "last_chance" ], "source": { - "directory": "services/last_chance_service", - "container": "agent" + "component": "components/gOKV41iXh0Hu.yml", + "service": "services/agent_services/service_configs/life_coaching_assistant" } }, "timeout_service": { @@ -51,8 +51,8 @@ "timeout" ], "source": { - "directory": "services/timeout_service", - "container": "agent" + "component": "components/S0Nt2SuDQD1v.yml", + "service": "services/agent_services/service_configs/life_coaching_assistant" } }, "response_annotator_selectors": { @@ -69,8 +69,8 @@ ], "is_enabled": true, "source": { - "directory": "services/response_annotator_selectors", - "container": "agent" + "component": "components/LXrJDIf43gwNmPMNXG5Eg.yml", + "service": "services/response_annotator_selectors/service_configs/agent" } }, "response_annotators": { @@ -88,9 +88,8 @@ "state_manager_method": "add_annotation_prev_bot_utt", "is_enabled": true, "source": { - "directory": "annotators/SentSeg", - "container": "sentseg", - "endpoint": "sentseg" + "component": "components/1Q9QXih1U2zhCpVm9zxdsA.yml", + "service": "annotators/SentSeg/service_configs/sentseg" } } }, @@ -103,14 +102,12 @@ }, "dialog_formatter": "state_formatters.dp_formatters:preproc_last_human_utt_dialog", "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", - "previous_services": [ - ], + "previous_services": [], "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/SentSeg", - "container": "sentseg", - "endpoint": "sentseg" + "component": "components/gM4fEjvVqLlSRRRkQfds2g.yml", + "service": "annotators/SentSeg/service_configs/sentseg" } }, "prompt_selector": { @@ -121,14 +118,12 @@ }, "dialog_formatter": "state_formatters.dp_formatters:context_formatter_dialog", "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", - "previous_services": [ - ], + "previous_services": [], "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/prompt_selector", - "container": "prompt-selector", - "endpoint": "respond" + "component": "components/pjAMrP5HEQnm.yml", + "service": "annotators/prompt_selector/service_configs/life_coaching_assistant" } } }, @@ -148,8 +143,8 @@ ], "is_enabled": true, "source": { - "directory": "skill_selectors/rule_based_selector", - "container": "agent" + "component": "components/xSwFvtAUdvtQosvzpb7oMg.yml", + "service": "skill_selectors/rule_based_selector/service_configs/agent" } } }, @@ -157,10 +152,13 @@ "dff_life_coaching_prompted_skill": { "connector": { "protocol": "http", - "timeout": 7.0, + "timeout": 10.0, "url": "http://dff-life-coaching-prompted-skill:8142/respond" }, - "dialog_formatter": "state_formatters.dp_formatters:dff_life_coaching_prompted_skill_formatter", + "dialog_formatter": { + "name": "state_formatters.dp_formatters:dff_prompted_skill_formatter", + "skill_name": "dff_life_coaching_prompted_skill" + }, "response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service", "previous_services": [ "skill_selectors" @@ -168,9 +166,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_template_prompted_skill", - "container": "dff-life-coaching-prompted-skill", - "endpoint": "respond" + "component": "components/ybZI0GvSFGXlKF9wGKxiQ.yml", + "service": "skills/dff_template_prompted_skill/service_configs/dff-life-coaching-prompted-skill" } }, "dummy_skill": { @@ -186,8 +183,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dummy_skill", - "container": "agent" + "component": "components/uYkoK0vRp4bbIg9akI1yw.yml", + "service": "skills/dummy_skill/service_configs/agent" } } }, @@ -206,9 +203,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "annotators/combined_classification", - "container": "combined-classification", - "endpoint": "batch_model" + "component": "components/PbLNvh4hrvs47rPaf2bfYQ.yml", + "service": "annotators/combined_classification/service_configs/combined-classification" } }, "sentence_ranker": { @@ -225,9 +221,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "services/sentence_ranker", - "container": "sentence-ranker", - "endpoint": "respond" + "component": "components/XGwmAHtAOu0NDqqG3QCJw.yml", + "service": "services/sentence_ranker/service_configs/sentence-ranker" } } }, @@ -246,9 +241,8 @@ "state_manager_method": "add_bot_utterance", "is_enabled": true, "source": { - "directory": "response_selectors/ranking_based_response_selector", - "container": "ranking-based-response-selector", - "endpoint": "respond" + "component": "components/YJzc7NwGrLmKp6gfZJh7X1.yml", + "service": "response_selectors/ranking_based_response_selector/service_configs/ranking-based-response-selector" } } } diff --git a/assistant_dists/marketing_assistant/pipeline_conf.json b/assistant_dists/marketing_assistant/pipeline_conf.json index 320adf6591..2035e8e8af 100644 --- a/assistant_dists/marketing_assistant/pipeline_conf.json +++ b/assistant_dists/marketing_assistant/pipeline_conf.json @@ -27,8 +27,8 @@ "last_chance" ], "source": { - "directory": "services/last_chance_service", - "container": "agent" + "component": "components/BTkgJIpLE8yb.yml", + "service": "services/agent_services/service_configs/marketing_assistant" } }, "timeout_service": { @@ -51,8 +51,8 @@ "timeout" ], "source": { - "directory": "services/timeout_service", - "container": "agent" + "component": "components/CEnFhpgntTwT.yml", + "service": "services/agent_services/service_configs/marketing_assistant" } }, "response_annotator_selectors": { @@ -69,8 +69,8 @@ ], "is_enabled": true, "source": { - "directory": "services/response_annotator_selectors", - "container": "agent" + "component": "components/LXrJDIf43gwNmPMNXG5Eg.yml", + "service": "services/response_annotator_selectors/service_configs/agent" } }, "response_annotators": { @@ -88,9 +88,8 @@ "state_manager_method": "add_annotation_prev_bot_utt", "is_enabled": true, "source": { - "directory": "annotators/SentSeg", - "container": "sentseg", - "endpoint": "sentseg" + "component": "components/1Q9QXih1U2zhCpVm9zxdsA.yml", + "service": "annotators/SentSeg/service_configs/sentseg" } } }, @@ -103,14 +102,12 @@ }, "dialog_formatter": "state_formatters.dp_formatters:preproc_last_human_utt_dialog", "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", - "previous_services": [ - ], + "previous_services": [], "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/SentSeg", - "container": "sentseg", - "endpoint": "sentseg" + "component": "components/gM4fEjvVqLlSRRRkQfds2g.yml", + "service": "annotators/SentSeg/service_configs/sentseg" } }, "prompt_selector": { @@ -121,14 +118,12 @@ }, "dialog_formatter": "state_formatters.dp_formatters:context_formatter_dialog", "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", - "previous_services": [ - ], + "previous_services": [], "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/prompt_selector", - "container": "prompt-selector", - "endpoint": "respond" + "component": "components/DbSG2ONMnwu7.yml", + "service": "annotators/prompt_selector/service_configs/marketing_assistant" } } }, @@ -148,8 +143,8 @@ ], "is_enabled": true, "source": { - "directory": "skill_selectors/rule_based_selector", - "container": "agent" + "component": "components/xSwFvtAUdvtQosvzpb7oMg.yml", + "service": "skill_selectors/rule_based_selector/service_configs/agent" } } }, @@ -160,7 +155,10 @@ "timeout": 10.0, "url": "http://dff-marketing-prompted-skill:8138/respond" }, - "dialog_formatter": "state_formatters.dp_formatters:dff_marketing_prompted_skill_formatter", + "dialog_formatter": { + "name": "state_formatters.dp_formatters:dff_prompted_skill_formatter", + "skill_name": "dff_marketing_prompted_skill" + }, "response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service", "previous_services": [ "skill_selectors" @@ -168,9 +166,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_template_prompted_skill", - "container": "dff-marketing-prompted-skill", - "endpoint": "respond" + "component": "components/OfrBzuijoa0vKBQwWRlw.yml", + "service": "skills/dff_template_prompted_skill/service_configs/dff-marketing-prompted-skill" } }, "dummy_skill": { @@ -186,8 +183,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dummy_skill", - "container": "agent" + "component": "components/uYkoK0vRp4bbIg9akI1yw.yml", + "service": "skills/dummy_skill/service_configs/agent" } } }, @@ -206,9 +203,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "annotators/combined_classification", - "container": "combined-classification", - "endpoint": "batch_model" + "component": "components/PbLNvh4hrvs47rPaf2bfYQ.yml", + "service": "annotators/combined_classification/service_configs/combined-classification" } }, "sentence_ranker": { @@ -225,9 +221,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "services/sentence_ranker", - "container": "sentence-ranker", - "endpoint": "respond" + "component": "components/XGwmAHtAOu0NDqqG3QCJw.yml", + "service": "services/sentence_ranker/service_configs/sentence-ranker" } } }, @@ -246,9 +241,8 @@ "state_manager_method": "add_bot_utterance", "is_enabled": true, "source": { - "directory": "response_selectors/ranking_based_response_selector", - "container": "ranking-based-response-selector", - "endpoint": "respond" + "component": "components/YJzc7NwGrLmKp6gfZJh7X1.yml", + "service": "response_selectors/ranking_based_response_selector/service_configs/ranking-based-response-selector" } } } diff --git a/assistant_dists/multiskill_ai_assistant/pipeline_conf.json b/assistant_dists/multiskill_ai_assistant/pipeline_conf.json index 4662051ecd..800e8f2c6e 100644 --- a/assistant_dists/multiskill_ai_assistant/pipeline_conf.json +++ b/assistant_dists/multiskill_ai_assistant/pipeline_conf.json @@ -1,4 +1,11 @@ { + "connectors": { + "sentseg": { + "protocol": "http", + "timeout": 1.5, + "url": "http://sentseg:8011/sentseg" + } + }, "services": { "last_chance_service": { "connector": { @@ -6,6 +13,13 @@ "class_name": "PredefinedTextConnector", "response_text": "Sorry, something went wrong inside. Please tell me, what did you say.", "annotations": { + "sentseg": { + "punct_sent": "Sorry, something went wrong inside. Please tell me, what did you say.", + "segments": [ + "Sorry, something went wrong inside.", + "Please tell me, what did you say." + ] + } } }, "state_manager_method": "add_bot_utterance_last_chance", @@ -13,8 +27,8 @@ "last_chance" ], "source": { - "directory": "services/last_chance_service", - "container": "agent" + "component": "components/jHBkaLTk5Skn.yml", + "service": "services/agent_services/service_configs/multiskill_ai_assistant" } }, "timeout_service": { @@ -23,6 +37,13 @@ "class_name": "PredefinedTextConnector", "response_text": "Sorry, I need to think more on that. Let's talk about something else.", "annotations": { + "sentseg": { + "punct_sent": "Sorry, I need to think more on that. Let's talk about something else.", + "segments": [ + "Sorry, I need to think more on that.", + "Let's talk about something else." + ] + } } }, "state_manager_method": "add_bot_utterance_last_chance", @@ -30,8 +51,8 @@ "timeout" ], "source": { - "directory": "services/timeout_service", - "container": "agent" + "component": "components/mgQsWnZUXVg3.yml", + "service": "services/agent_services/service_configs/multiskill_ai_assistant" } }, "response_annotator_selectors": { @@ -48,13 +69,47 @@ ], "is_enabled": true, "source": { - "directory": "services/response_annotator_selectors", - "container": "agent" + "component": "components/LXrJDIf43gwNmPMNXG5Eg.yml", + "service": "services/response_annotator_selectors/service_configs/agent" } }, "response_annotators": { + "sentseg": { + "connector": { + "protocol": "http", + "timeout": 1.5, + "url": "http://sentseg:8011/sentseg" + }, + "dialog_formatter": "state_formatters.dp_formatters:last_bot_utt_dialog", + "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", + "previous_services": [ + "response_annotator_selectors" + ], + "state_manager_method": "add_annotation_prev_bot_utt", + "is_enabled": true, + "source": { + "component": "components/1Q9QXih1U2zhCpVm9zxdsA.yml", + "service": "annotators/SentSeg/service_configs/sentseg" + } + } }, "annotators": { + "sentseg": { + "connector": { + "protocol": "http", + "timeout": 1.5, + "url": "http://sentseg:8011/sentseg" + }, + "dialog_formatter": "state_formatters.dp_formatters:preproc_last_human_utt_dialog", + "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", + "previous_services": [], + "state_manager_method": "add_annotation", + "is_enabled": true, + "source": { + "component": "components/gM4fEjvVqLlSRRRkQfds2g.yml", + "service": "annotators/SentSeg/service_configs/sentseg" + } + }, "prompt_selector": { "connector": { "protocol": "http", @@ -63,14 +118,12 @@ }, "dialog_formatter": "state_formatters.dp_formatters:context_formatter_dialog", "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", - "previous_services": [ - ], + "previous_services": [], "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/prompt_selector", - "container": "prompt-selector", - "endpoint": "respond" + "component": "components/HqbKuGPENqUm.yml", + "service": "annotators/prompt_selector/service_configs/multiskill_ai_assistant" } } }, @@ -90,8 +143,8 @@ ], "is_enabled": true, "source": { - "directory": "skill_selectors/rule_based_selector", - "container": "agent" + "component": "components/xSwFvtAUdvtQosvzpb7oMg.yml", + "service": "skill_selectors/rule_based_selector/service_configs/agent" } } }, @@ -99,10 +152,13 @@ "dff_dream_persona_prompted_skill": { "connector": { "protocol": "http", - "timeout": 7.0, + "timeout": 10.0, "url": "http://dff-dream-persona-davinci3-prompted-skill:8137/respond" }, - "dialog_formatter": "state_formatters.dp_formatters:dff_dream_persona_prompted_skill_formatter", + "dialog_formatter": { + "name": "state_formatters.dp_formatters:dff_prompted_skill_formatter", + "skill_name": "dff_dream_persona_prompted_skill" + }, "response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service", "previous_services": [ "skill_selectors" @@ -110,9 +166,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_template_prompted_skill", - "container": "dff-dream-persona-davinci3-prompted-skill", - "endpoint": "respond" + "component": "components/W6hdAGshQyMwdQukRXXuKA.yml", + "service": "skills/dff_template_prompted_skill/service_configs/dff-dream-persona-davinci3-prompted-skill" } }, "dff_casual_email_prompted_skill": { @@ -121,7 +176,10 @@ "timeout": 10.0, "url": "http://dff-casual-email-prompted-skill:8154/respond" }, - "dialog_formatter": "state_formatters.dp_formatters:dff_casual_email_prompted_skill_formatter", + "dialog_formatter": { + "name": "state_formatters.dp_formatters:dff_prompted_skill_formatter", + "skill_name": "dff_casual_email_prompted_skill" + }, "response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service", "previous_services": [ "skill_selectors" @@ -129,9 +187,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_template_prompted_skill", - "container": "dff-casual-email-prompted-skill", - "endpoint": "respond" + "component": "components/mJFsrLmq1C2Q7bw7W6QnbT.yml", + "service": "skills/dff_template_prompted_skill/service_configs/dff-casual-email-prompted-skill" } }, "dff_meeting_notes_prompted_skill": { @@ -140,7 +197,10 @@ "timeout": 10.0, "url": "http://dff-meeting-notes-prompted-skill:8155/respond" }, - "dialog_formatter": "state_formatters.dp_formatters:dff_meeting_notes_prompted_skill_formatter", + "dialog_formatter": { + "name": "state_formatters.dp_formatters:dff_prompted_skill_formatter", + "skill_name": "dff_meeting_notes_prompted_skill" + }, "response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service", "previous_services": [ "skill_selectors" @@ -148,9 +208,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_template_prompted_skill", - "container": "dff-meeting-notes-prompted-skill", - "endpoint": "respond" + "component": "components/2bbCQcfY2YYjHtMCRFHImG.yml", + "service": "skills/dff_template_prompted_skill/service_configs/dff-meeting-notes-prompted-skill" } }, "dff_official_email_prompted_skill": { @@ -159,7 +218,10 @@ "timeout": 10.0, "url": "http://dff-official-email-prompted-skill:8156/respond" }, - "dialog_formatter": "state_formatters.dp_formatters:dff_official_email_prompted_skill_formatter", + "dialog_formatter": { + "name": "state_formatters.dp_formatters:dff_prompted_skill_formatter", + "skill_name": "dff_official_email_prompted_skill" + }, "response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service", "previous_services": [ "skill_selectors" @@ -167,9 +229,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_template_prompted_skill", - "container": "dff-official-email-prompted-skill", - "endpoint": "respond" + "component": "components/8qwxH2SZE4EhXS5JqqZPkm.yml", + "service": "skills/dff_template_prompted_skill/service_configs/dff-official-email-prompted-skill" } }, "dff_plan_for_article_prompted_skill": { @@ -178,7 +239,10 @@ "timeout": 10.0, "url": "http://dff-plan-for-article-prompted-skill:8157/respond" }, - "dialog_formatter": "state_formatters.dp_formatters:dff_plan_for_article_prompted_skill_formatter", + "dialog_formatter": { + "name": "state_formatters.dp_formatters:dff_prompted_skill_formatter", + "skill_name": "dff_plan_for_article_prompted_skill" + }, "response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service", "previous_services": [ "skill_selectors" @@ -186,9 +250,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_template_prompted_skill", - "container": "dff-plan-for-article-prompted-skill", - "endpoint": "respond" + "component": "components/6vJmuO1GbwgIDIBc3hrwm0.yml", + "service": "skills/dff_template_prompted_skill/service_configs/dff-plan-for-article-prompted-skill" } }, "dummy_skill": { @@ -204,12 +267,30 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dummy_skill", - "container": "agent" + "component": "components/uYkoK0vRp4bbIg9akI1yw.yml", + "service": "skills/dummy_skill/service_configs/agent" } } }, "candidate_annotators": { + "combined_classification": { + "connector": { + "protocol": "http", + "timeout": 2.0, + "url": "http://combined-classification:8087/batch_model" + }, + "dialog_formatter": "state_formatters.dp_formatters:hypothesis_histories_list", + "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", + "previous_services": [ + "skills" + ], + "state_manager_method": "add_hypothesis_annotation_batch", + "is_enabled": true, + "source": { + "component": "components/PbLNvh4hrvs47rPaf2bfYQ.yml", + "service": "annotators/combined_classification/service_configs/combined-classification" + } + }, "sentence_ranker": { "connector": { "protocol": "http", @@ -224,9 +305,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "services/sentence_ranker", - "container": "sentence-ranker", - "endpoint": "respond" + "component": "components/XGwmAHtAOu0NDqqG3QCJw.yml", + "service": "services/sentence_ranker/service_configs/sentence-ranker" } } }, @@ -245,9 +325,8 @@ "state_manager_method": "add_bot_utterance", "is_enabled": true, "source": { - "directory": "response_selectors/ranking_based_response_selector", - "container": "ranking-based-response-selector", - "endpoint": "respond" + "component": "components/YJzc7NwGrLmKp6gfZJh7X1.yml", + "service": "response_selectors/ranking_based_response_selector/service_configs/ranking-based-response-selector" } } } diff --git a/assistant_dists/nutrition_assistant/pipeline_conf.json b/assistant_dists/nutrition_assistant/pipeline_conf.json index 82c07ece89..947fa39fa8 100644 --- a/assistant_dists/nutrition_assistant/pipeline_conf.json +++ b/assistant_dists/nutrition_assistant/pipeline_conf.json @@ -27,8 +27,8 @@ "last_chance" ], "source": { - "directory": "services/last_chance_service", - "container": "agent" + "component": "components/kHDpWaBPCxD4.yml", + "service": "services/agent_services/service_configs/nutrition_assistant" } }, "timeout_service": { @@ -51,8 +51,8 @@ "timeout" ], "source": { - "directory": "services/timeout_service", - "container": "agent" + "component": "components/1sMhc1QV81kG.yml", + "service": "services/agent_services/service_configs/nutrition_assistant" } }, "response_annotator_selectors": { @@ -69,8 +69,8 @@ ], "is_enabled": true, "source": { - "directory": "services/response_annotator_selectors", - "container": "agent" + "component": "components/LXrJDIf43gwNmPMNXG5Eg.yml", + "service": "services/response_annotator_selectors/service_configs/agent" } }, "response_annotators": { @@ -88,9 +88,8 @@ "state_manager_method": "add_annotation_prev_bot_utt", "is_enabled": true, "source": { - "directory": "annotators/SentSeg", - "container": "sentseg", - "endpoint": "sentseg" + "component": "components/1Q9QXih1U2zhCpVm9zxdsA.yml", + "service": "annotators/SentSeg/service_configs/sentseg" } } }, @@ -103,14 +102,12 @@ }, "dialog_formatter": "state_formatters.dp_formatters:preproc_last_human_utt_dialog", "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", - "previous_services": [ - ], + "previous_services": [], "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/SentSeg", - "container": "sentseg", - "endpoint": "sentseg" + "component": "components/gM4fEjvVqLlSRRRkQfds2g.yml", + "service": "annotators/SentSeg/service_configs/sentseg" } }, "prompt_selector": { @@ -121,14 +118,12 @@ }, "dialog_formatter": "state_formatters.dp_formatters:context_formatter_dialog", "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", - "previous_services": [ - ], + "previous_services": [], "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/prompt_selector", - "container": "prompt-selector", - "endpoint": "respond" + "component": "components/pmpzYhPX3ucz.yml", + "service": "annotators/prompt_selector/service_configs/nutrition_assistant" } } }, @@ -148,8 +143,8 @@ ], "is_enabled": true, "source": { - "directory": "skill_selectors/rule_based_selector", - "container": "agent" + "component": "components/xSwFvtAUdvtQosvzpb7oMg.yml", + "service": "skill_selectors/rule_based_selector/service_configs/agent" } } }, @@ -160,7 +155,10 @@ "timeout": 10.0, "url": "http://dff-nutrition-prompted-skill:8141/respond" }, - "dialog_formatter": "state_formatters.dp_formatters:dff_nutrition_prompted_skill_formatter", + "dialog_formatter": { + "name": "state_formatters.dp_formatters:dff_prompted_skill_formatter", + "skill_name": "dff_nutrition_prompted_skill" + }, "response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service", "previous_services": [ "skill_selectors" @@ -168,9 +166,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_template_prompted_skill", - "container": "dff-nutrition-prompted-skill", - "endpoint": "respond" + "component": "components/HwvIQNi3pCqMifPclnOMg.yml", + "service": "skills/dff_template_prompted_skill/service_configs/dff-nutrition-prompted-skill" } }, "dummy_skill": { @@ -186,8 +183,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dummy_skill", - "container": "agent" + "component": "components/uYkoK0vRp4bbIg9akI1yw.yml", + "service": "skills/dummy_skill/service_configs/agent" } } }, @@ -206,9 +203,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "annotators/combined_classification", - "container": "combined-classification", - "endpoint": "batch_model" + "component": "components/PbLNvh4hrvs47rPaf2bfYQ.yml", + "service": "annotators/combined_classification/service_configs/combined-classification" } }, "sentence_ranker": { @@ -225,9 +221,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "services/sentence_ranker", - "container": "sentence-ranker", - "endpoint": "respond" + "component": "components/XGwmAHtAOu0NDqqG3QCJw.yml", + "service": "services/sentence_ranker/service_configs/sentence-ranker" } } }, @@ -246,9 +241,8 @@ "state_manager_method": "add_bot_utterance", "is_enabled": true, "source": { - "directory": "response_selectors/ranking_based_response_selector", - "container": "ranking-based-response-selector", - "endpoint": "respond" + "component": "components/YJzc7NwGrLmKp6gfZJh7X1.yml", + "service": "response_selectors/ranking_based_response_selector/service_configs/ranking-based-response-selector" } } } diff --git a/assistant_dists/template_template_prompted/README.md b/assistant_dists/template_template_prompted/README.md deleted file mode 100644 index 579372dbf1..0000000000 --- a/assistant_dists/template_template_prompted/README.md +++ /dev/null @@ -1,131 +0,0 @@ -# Template Prompted Distribution - -**_One may consider this distribution as a TEMPLATE for a prompt-based distribution which may contain any number of -prompt-based skills each of which is conditioned on a single prompt during the whole conversation_** - -**Note!** Each Prompt-based Skill utilizes the **same prompt during the whole dialog**! - -# What is Dream Prompted Distribution - -Template Prompted distribution is an example of the prompt-based dialogue system which contains one prompt-based skill, -in particular, prompt is a persona description. - -Template Prompted distribution contains the following skills: -* Dummy Skill (`dummy_skill`) is a fallback skill (also it is a part of agent container, so no separate container required) -* DFF Template Prompted Skill (`dff_template_template_prompted_skill`) is a skill created via DFF (Dialog Flow Framework) -which generates a response to the current dialogue context taking into account the given prompt, i.g., bot's persona description. - -### DFF Template Prompted Skill - -The **DFF Template Prompted Skill** is a light-weight container sending requests to the generative service -which utilizes a neural network for prompt-based generation. -DFF Template Prompted Skill accepts two main environmental variables: - * `PROMPT_FILE` contains a path to a JSON file containing dictionary with prompt, - * `GENERATIVE_SERVICE_URL` contains a URL of the generative service to be used. - The service must utilize the same input-output format as Transformers-LM (`transformers_lm`). - * `GENERATIVE_SERVICE_CONFIG` contains a name of config file containing the generative service's parameters to be used. - * `GENERATIVE_TIMEOUT` contains a timeout in seconds for the generative service. - * `N_UTTERANCES_CONTEXT` contains lengths of the considered context in terms of number of dialogue utterances. - * `ENVVARS_TO_SEND` \[optional\] contains names of environmental variables to be sent to generative service (for example, API keys for OpenAI). - These environmental variables can be specified only in case of development mode (not in production). - In production mode, the API keys are a part of the request. - - -**Note!** DFF Template Prompted Skill utilizes a special universal template `skills/dff_template_prompted_skill` -which do not require creation of the new skill's directory. For your convenience, creating a new skill, -you should utilize the same template folder but specify another prompt file, service port, and specify another container name. - -### Prompt Selector - -The distribution may contain **several Prompt-based skills.** Therefore, the **Prompt Selector** component is presented. -The Prompt Selector is also a light-weight container utilizing **Sentence Ranker** component -(its URL is given in `.env` file as `SENTENCE_RANKER_SERVICE_URL`) to select `N_SENTENCES_TO_RETURN` -the most relevant prompts (precisely, it returns ordered list of prompt names) among the given ones. -The `,`-joint list of the prompt names to be considered is given as an environmental variable `PROMPTS_TO_CONSIDER`. -Each considered prompt should be located as `dream/common/prompts/.json`. - -**Note!** In the Template Prompted Distribution we give a single prompt to the Prompt Selector: `template_template`. -You may specify several prompts separated with semicolon just for the demonstration of the `PROMPTS_TO_CONSIDER`'s input format. -Template Prompted Distribution contains only one prompted skill which utilizes Template prompt. - -### Skill Selector - -You should not do any changes in the Skill Selector, it would call all the skills with the most relevant prompts -automatically according to the Prompt Selector. If Prompt Selector annotations are detected in the user utterance, -the Skill Selector turns on skills with names `dff__prompted_skill` for each prompt_name from -`N_SENTENCES_TO_RETURN` the most relevant prompts detected by Prompt Selector. -Therefore, a prompt name can contain `'_'` but not `'-'`. - -**Note!** Pay attention that you may specify to the Prompt Selector prompt names -even if the corresponding skills are not presented in the distribution, so if you, for example, specify 5 prompt names -while your distribution contains only 2 prompted skill, and you assign the number of returned most relevant prompts -(`N_SENTENCES_TO_RETURN`) to 3, you may face a situation when the Prompt Selector will choose all prompts for which -you do not have skills, so the response on that step will be provided by other skills presented in the distribution -(in particular, by Dummy Skill for the current version of Dream Prompted distribution). - -# How to Create a New Prompted Distribution - -If one wants to create a new prompted distribution (distribution containing prompt-based skill(s)), one should: - -1. Copy the `dream/assistant_dists/template_template_prompted` directory to `dream/assistant_dists/dream_custom_prompted` -(the name is an example!). -2. **For each prompt-based skill, one needs to**: - 1. create a `dream/common/prompts/.json` files containing a prompt. - **Important!** `` should only contain letters, numbers and underscores (`_`) but no dashes (`-`)! - 2. in `dream/assistant_dists/dream_custom_prompted/` folder in files `docker-compose.override.yml`, `dev.yml` - copy description of container `template-template` and replace strings `template-template` with `` - (container names are using dashes) and - `template_template` with `` (component names are using underscores). - If your prompt name is written as a single word - (for example, `spacexfaq` not `spacex_faq`), replace both `template-template` and `template_template` with your prompt name. - 3. for each new container (a new container for each new DFF skill) change the `SERVICE_PORT` - to an unused one. -3. Choose the generative service to be used. For that one needs to: - 1. in `dream/assistant_dists/dream_custom_prompted/` folder in files `docker-compose.override.yml`, `dev.yml` - replace `transformers-lm-gptj` container description to a new one. - In particular, one may replace in `PRETRAINED_MODEL_NAME_OR_PATH` parameter - a utilized Language Model (LM) `GPT-J` with another one from `Transformers` library. - Please change a port (`8130` for `transformers-lm-gptj`) to unused ones. - 2. in all prompted skills' containers descriptions change `GENERATIVE_SERVICE_URL` to your generative model. - Take into account that the service name is constructed as `http://:/`. -4. For each prompted skill, one needs to create an input state formatter. To do that, one needs to: - 1. in `dream/dp_formatters/state_formatters.py` duplicate function: - ```python - def dff_template_template_prompted_skill_formatter(dialog): - return utils.dff_formatter( - dialog, "dff_template_template_prompted_skill", - types_utterances=["human_utterances", "bot_utterances", "utterances"] - ) - ``` - 2. replace string `template_template` with `` (component names are using underscores) in each duplicated function. -5. In `dream/assistant_dists/dream_custom_prompted/pipeline_conf.json` for each prompt-based skill, one needs to: - 1. copy description of DFF Dream Persona Prompted Skill: - ```json - "dff_template_template_prompted_skill": { - "connector": { - "protocol": "http", - "timeout": 4.5, - "url": "http://dff-template-template-prompted-skill:template_port/respond" - }, - "dialog_formatter": "state_formatters.dp_formatters:dff_template_template_prompted_skill_formatter", - "response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service", - "previous_services": [ - "skill_selectors" - ], - "state_manager_method": "add_hypothesis" - }, - ``` - 2. replace strings `template-template` with `` (container names are using dashes) and - `template_template` with `` (component names are using underscores). It will change the container name, - skill name, formatter name - 3. replace port (`template_port` in the example) to the assigned one in - `dream/assistant_dists/dream_custom_prompted/docker-compose.override.yml`. -6. If one does not want to keep DFF Dream Persona Prompted Skill in their distribution, one should remove all mentions -of DFF Dream Persona Prompted Skill container from `yml`-configs and `pipeline_conf.json` files. - -**Note!** Please, take into account that naming skill utilizing according to the instruction above -is very important to provide Skill Selector automatically turn on the prompt-based skills which are returned as -`N_SENTENCES_TO_RETURN` the most relevant prompts. - - - diff --git a/assistant_dists/template_template_prompted/cpu.yml b/assistant_dists/template_template_prompted/cpu.yml deleted file mode 100644 index 37cb7baf80..0000000000 --- a/assistant_dists/template_template_prompted/cpu.yml +++ /dev/null @@ -1,8 +0,0 @@ -version: '3.7' -services: - combined-classification: - environment: - CUDA_VISIBLE_DEVICES: "" - sentence-ranker: - environment: - CUDA_VISIBLE_DEVICES: "" diff --git a/assistant_dists/template_template_prompted/db_conf.json b/assistant_dists/template_template_prompted/db_conf.json deleted file mode 100644 index a9ba6813f5..0000000000 --- a/assistant_dists/template_template_prompted/db_conf.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "host": "DB_HOST", - "port": "DB_PORT", - "name": "DB_NAME", - "env": true -} \ No newline at end of file diff --git a/assistant_dists/template_template_prompted/dev.yml b/assistant_dists/template_template_prompted/dev.yml deleted file mode 100644 index f564440d3f..0000000000 --- a/assistant_dists/template_template_prompted/dev.yml +++ /dev/null @@ -1,50 +0,0 @@ -# С такими volumes удобно дебажить, не нужно пересобирать контейнер каждый раз при изменении кода -services: - agent: - volumes: - - ".:/dp-agent" - ports: - - 4242:4242 - sentseg: - volumes: - - "./annotators/SentSeg:/src" - ports: - - 8011:8011 - ranking-based-response-selector: - volumes: - - "./response_selectors/ranking_based_response_selector:/src" - - "./common:/src/common" - ports: - - 8002:8002 - combined-classification: - volumes: - - "./common:/src/common" - - "./annotators/combined_classification:/src" - ports: - - 8087:8087 - sentence-ranker: - volumes: - - "./services/sentence_ranker:/src" - - "~/.deeppavlov/cache:/root/.cache" - ports: - - 8128:8128 - prompt-selector: - volumes: - - "./annotators/prompt_selector:/src" - - "./common:/src/common" - ports: - - 8135:8135 - openai-api-chatgpt: - volumes: - - "./services/openai_api_lm:/src" - - "./common:/src/common" - ports: - - 8145:8145 - dff-template-template-prompted-skill: - volumes: - - "./skills/dff_template_prompted_skill:/src" - - "./common:/src/common" - ports: - - template_port:template_port - -version: "3.7" diff --git a/assistant_dists/template_template_prompted/docker-compose.override.yml b/assistant_dists/template_template_prompted/docker-compose.override.yml deleted file mode 100644 index c67d4c1986..0000000000 --- a/assistant_dists/template_template_prompted/docker-compose.override.yml +++ /dev/null @@ -1,146 +0,0 @@ -services: - agent: - command: sh -c 'bin/wait && python -m deeppavlov_agent.run agent.pipeline_config=assistant_dists/template_template_prompted/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-template-template-prompted-skill:template_port" - WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-1000} - - sentseg: - env_file: [ .env ] - build: - context: ./annotators/SentSeg/ - command: flask run -h 0.0.0.0 -p 8011 - environment: - - FLASK_APP=server - deploy: - resources: - limits: - memory: 1.5G - reservations: - memory: 1.5G - - combined-classification: - env_file: [ .env ] - build: - args: - CONFIG: combined_classifier.json - SERVICE_PORT: 8087 - context: . - dockerfile: ./annotators/combined_classification/Dockerfile - environment: - - CUDA_VISIBLE_DEVICES=0 - deploy: - resources: - limits: - memory: 2G - reservations: - memory: 2G - - ranking-based-response-selector: - env_file: [ .env ] - build: - args: - SERVICE_PORT: 8002 - SERVICE_NAME: response_selector - LANGUAGE: EN - SENTENCE_RANKER_ANNOTATION_NAME: sentence_ranker - SENTENCE_RANKER_SERVICE_URL: http://sentence-ranker:8128/respond - SENTENCE_RANKER_TIMEOUT: 3 - N_UTTERANCES_CONTEXT: 5 - FILTER_TOXIC_OR_BADLISTED: 1 - context: . - dockerfile: ./response_selectors/ranking_based_response_selector/Dockerfile - command: flask run -h 0.0.0.0 -p 8002 - environment: - - FLASK_APP=server - deploy: - resources: - limits: - memory: 100M - reservations: - memory: 100M - - prompt-selector: - env_file: [ .env ] - build: - args: - SERVICE_PORT: 8135 - SERVICE_NAME: prompt_selector - N_SENTENCES_TO_RETURN: 3 - PROMPTS_TO_CONSIDER: template_template - context: . - dockerfile: ./annotators/prompt_selector/Dockerfile - command: flask run -h 0.0.0.0 -p 8135 - environment: - - FLASK_APP=server - deploy: - resources: - limits: - memory: 100M - reservations: - memory: 100M - - sentence-ranker: - env_file: [ .env ] - build: - args: - SERVICE_PORT: 8128 - SERVICE_NAME: sentence_ranker - PRETRAINED_MODEL_NAME_OR_PATH: sentence-transformers/all-MiniLM-L6-v2 - context: ./services/sentence_ranker/ - command: flask run -h 0.0.0.0 -p 8128 - environment: - - CUDA_VISIBLE_DEVICES=0 - - FLASK_APP=server - deploy: - resources: - limits: - memory: 3G - reservations: - memory: 3G - - openai-api-chatgpt: - env_file: [ .env ] - build: - args: - SERVICE_PORT: 8145 - SERVICE_NAME: openai_api_chatgpt - PRETRAINED_MODEL_NAME_OR_PATH: gpt-3.5-turbo - context: . - dockerfile: ./services/openai_api_lm/Dockerfile - command: flask run -h 0.0.0.0 -p 8145 - environment: - - CUDA_VISIBLE_DEVICES=0 - - FLASK_APP=server - deploy: - resources: - limits: - memory: 100M - reservations: - memory: 100M - - dff-template-template-prompted-skill: - env_file: [ .env ] - build: - args: - SERVICE_PORT: template_port - SERVICE_NAME: dff_template_template_prompted_skill - PROMPT_FILE: common/prompts/template_template.json - GENERATIVE_SERVICE_URL: template_service_url - GENERATIVE_SERVICE_CONFIG: default_generative_config.json - GENERATIVE_TIMEOUT: 10 - N_UTTERANCES_CONTEXT: 7 - ENVVARS_TO_SEND: OPENAI_API_KEY,OPENAI_ORGANIZATION - context: . - dockerfile: ./skills/dff_template_prompted_skill/Dockerfile - command: gunicorn --workers=1 server:app -b 0.0.0.0:template_port --reload - deploy: - resources: - limits: - memory: 128M - reservations: - memory: 128M - -version: '3.7' diff --git a/assistant_dists/template_template_prompted/pipeline_conf.json b/assistant_dists/template_template_prompted/pipeline_conf.json deleted file mode 100644 index 2ff6fd2e9b..0000000000 --- a/assistant_dists/template_template_prompted/pipeline_conf.json +++ /dev/null @@ -1,266 +0,0 @@ -{ - "connectors": { - "sentseg": { - "protocol": "http", - "timeout": 1.5, - "url": "http://sentseg:8011/sentseg" - } - }, - "services": { - "last_chance_service": { - "connector": { - "protocol": "python", - "class_name": "PredefinedTextConnector", - "response_text": "Sorry, something went wrong inside. Please tell me, what did you say.", - "annotations": { - "sentseg": { - "punct_sent": "Sorry, something went wrong inside. Please tell me, what did you say.", - "segments": [ - "Sorry, something went wrong inside.", - "Please tell me, what did you say." - ] - } - } - }, - "state_manager_method": "add_bot_utterance_last_chance", - "tags": [ - "last_chance" - ], - "source": { - "directory": "services/last_chance_service", - "container": "agent" - } - }, - "timeout_service": { - "connector": { - "protocol": "python", - "class_name": "PredefinedTextConnector", - "response_text": "Sorry, I need to think more on that. Let's talk about something else.", - "annotations": { - "sentseg": { - "punct_sent": "Sorry, I need to think more on that. Let's talk about something else.", - "segments": [ - "Sorry, I need to think more on that.", - "Let's talk about something else." - ] - } - } - }, - "state_manager_method": "add_bot_utterance_last_chance", - "tags": [ - "timeout" - ], - "source": { - "directory": "services/timeout_service", - "container": "agent" - } - }, - "response_annotator_selectors": { - "connector": { - "protocol": "python", - "class_name": "skill_selectors.post_annotator_selector.connector:PostAnnotatorSelectorConnector", - "annotator_names": [ - "sentseg" - ] - }, - "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", - "tags": [ - "selector" - ], - "is_enabled": true, - "source": { - "directory": "services/response_annotator_selectors", - "container": "agent" - } - }, - "response_annotators": { - "sentseg": { - "connector": { - "protocol": "http", - "timeout": 1.5, - "url": "http://sentseg:8011/sentseg" - }, - "dialog_formatter": "state_formatters.dp_formatters:last_bot_utt_dialog", - "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", - "previous_services": [ - "response_annotator_selectors" - ], - "state_manager_method": "add_annotation_prev_bot_utt", - "is_enabled": true, - "source": { - "directory": "annotators/SentSeg", - "container": "sentseg", - "endpoint": "sentseg" - } - } - }, - "annotators": { - "sentseg": { - "connector": { - "protocol": "http", - "timeout": 1.5, - "url": "http://sentseg:8011/sentseg" - }, - "dialog_formatter": "state_formatters.dp_formatters:preproc_last_human_utt_dialog", - "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", - "previous_services": [ - ], - "state_manager_method": "add_annotation", - "is_enabled": true, - "source": { - "directory": "annotators/SentSeg", - "container": "sentseg", - "endpoint": "sentseg" - } - }, - "prompt_selector": { - "connector": { - "protocol": "http", - "timeout": 2.0, - "url": "http://prompt-selector:8135/respond" - }, - "dialog_formatter": "state_formatters.dp_formatters:context_formatter_dialog", - "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", - "previous_services": [ - ], - "state_manager_method": "add_annotation", - "is_enabled": true, - "source": { - "directory": "annotators/prompt_selector", - "container": "prompt-selector", - "endpoint": "respond" - } - } - }, - "skill_selectors": { - "rule_based_selector": { - "connector": { - "protocol": "python", - "class_name": "skill_selectors.rule_based_selector.connector:RuleBasedSkillSelectorConnector" - }, - "dialog_formatter": "state_formatters.dp_formatters:base_skill_selector_formatter_dialog", - "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", - "previous_services": [ - "annotators" - ], - "tags": [ - "selector" - ], - "is_enabled": true, - "source": { - "directory": "skill_selectors/rule_based_selector", - "container": "agent" - } - } - }, - "skills": { - "dff_template_template_prompted_skill": { - "connector": { - "protocol": "http", - "timeout": 10.0, - "url": "http://dff-template-template-prompted-skill:template_port/respond" - }, - "dialog_formatter": "state_formatters.dp_formatters:dff_template_template_prompted_skill_formatter", - "response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service", - "previous_services": [ - "skill_selectors" - ], - "state_manager_method": "add_hypothesis", - "is_enabled": true, - "source": { - "directory": "skills/dff_template_prompted_skill", - "container": "dff-template-template-prompted-skill", - "endpoint": "respond" - } - }, - "dummy_skill": { - "connector": { - "protocol": "python", - "class_name": "skills.dummy_skill.connector:DummySkillConnector" - }, - "dialog_formatter": "state_formatters.dp_formatters:utt_sentrewrite_modified_last_dialog", - "response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service", - "previous_services": [ - "skill_selectors" - ], - "state_manager_method": "add_hypothesis", - "is_enabled": true, - "source": { - "directory": "skills/dummy_skill", - "container": "agent" - } - } - }, - "candidate_annotators": { - "combined_classification": { - "connector": { - "protocol": "http", - "timeout": 2.0, - "url": "http://combined-classification:8087/batch_model" - }, - "dialog_formatter": "state_formatters.dp_formatters:hypothesis_histories_list", - "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", - "previous_services": [ - "skills" - ], - "state_manager_method": "add_hypothesis_annotation_batch", - "is_enabled": true, - "source": { - "directory": "annotators/combined_classification", - "container": "combined-classification", - "endpoint": "batch_model" - } - }, - "sentence_ranker": { - "connector": { - "protocol": "http", - "timeout": 1.0, - "url": "http://sentence-ranker:8128/respond" - }, - "dialog_formatter": "state_formatters.dp_formatters:sentence_ranker_formatter", - "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", - "previous_services": [ - "skills" - ], - "state_manager_method": "add_hypothesis_annotation_batch", - "is_enabled": true, - "source": { - "directory": "services/sentence_ranker", - "container": "sentence-ranker", - "endpoint": "respond" - } - } - }, - "response_selectors": { - "response_selector": { - "connector": { - "protocol": "http", - "timeout": 1.0, - "url": "http://ranking-based-response-selector:8002/respond" - }, - "dialog_formatter": "state_formatters.dp_formatters:cropped_dialog", - "response_formatter": "state_formatters.dp_formatters:base_response_selector_formatter_service", - "previous_services": [ - "candidate_annotators" - ], - "state_manager_method": "add_bot_utterance", - "is_enabled": true, - "source": { - "directory": "response_selectors/ranking_based_response_selector", - "container": "ranking-based-response-selector", - "endpoint": "respond" - } - } - } - }, - "metadata": { - "display_name": "Template Prompted Dream", - "author": "DeepPavlov", - "description": "Template Assistant using prompted generative skill. The considered prompt is `common/template_template.json`.", - "version": "0.0.1", - "date_created": "2023-01-10T02:00:00", - "ram_usage": "50 GB", - "gpu_usage": "50 GB", - "disk_usage": "50 GB" - } -} \ No newline at end of file diff --git a/assistant_dists/template_template_prompted/proxy.yml b/assistant_dists/template_template_prompted/proxy.yml deleted file mode 100644 index 00708e1211..0000000000 --- a/assistant_dists/template_template_prompted/proxy.yml +++ /dev/null @@ -1,30 +0,0 @@ -services: - - sentseg: - command: ["nginx", "-g", "daemon off;"] - build: - context: dp/proxy/ - dockerfile: Dockerfile - environment: - - PROXY_PASS=dream.deeppavlov.ai:8011 - - PORT=8011 - - combined-classification: - command: ["nginx", "-g", "daemon off;"] - build: - context: dp/proxy/ - dockerfile: Dockerfile - environment: - - PROXY_PASS=dream.deeppavlov.ai:8087 - - PORT=8087 - - sentence-ranker: - command: [ "nginx", "-g", "daemon off;" ] - build: - context: dp/proxy/ - dockerfile: Dockerfile - environment: - - PROXY_PASS=dream.deeppavlov.ai:8128 - - PORT=8128 - -version: '3.7' diff --git a/assistant_dists/template_template_prompted/telegram.yml b/assistant_dists/template_template_prompted/telegram.yml deleted file mode 100644 index d0e0ecf76a..0000000000 --- a/assistant_dists/template_template_prompted/telegram.yml +++ /dev/null @@ -1,17 +0,0 @@ -services: - agent-tg: - command: sh -c 'bin/wait && python -m deeppavlov_agent.run agent.channel=telegram agent.telegram_token=$TG_TOKEN agent.pipeline_config=assistant_dists/template_template_prompted/pipeline_conf.json agent.db_config=assistant_dists/template_template_prompted/db_conf.json' - env_file: [.env] - build: - context: ./ - dockerfile: dockerfile_agent - deploy: - resources: - limits: - memory: 4G - reservations: - memory: 2G - volumes: - - ".:/dp-agent" - -version: '3.7' diff --git a/assistant_dists/universal_prompted_assistant/pipeline_conf.json b/assistant_dists/universal_prompted_assistant/pipeline_conf.json index cc0a1e9792..396d05d59e 100644 --- a/assistant_dists/universal_prompted_assistant/pipeline_conf.json +++ b/assistant_dists/universal_prompted_assistant/pipeline_conf.json @@ -27,8 +27,8 @@ "last_chance" ], "source": { - "directory": "services/last_chance_service", - "container": "agent" + "component": "components/5J6lKI1JAjI9.yml", + "service": "services/agent_services/service_configs/universal_prompted_assistant" } }, "timeout_service": { @@ -51,8 +51,8 @@ "timeout" ], "source": { - "directory": "services/timeout_service", - "container": "agent" + "component": "components/6UmSIUrka1Tl.yml", + "service": "services/agent_services/service_configs/universal_prompted_assistant" } }, "response_annotator_selectors": { @@ -69,8 +69,8 @@ ], "is_enabled": true, "source": { - "directory": "services/response_annotator_selectors", - "container": "agent" + "component": "components/LXrJDIf43gwNmPMNXG5Eg.yml", + "service": "services/response_annotator_selectors/service_configs/agent" } }, "response_annotators": { @@ -88,9 +88,8 @@ "state_manager_method": "add_annotation_prev_bot_utt", "is_enabled": true, "source": { - "directory": "annotators/SentSeg", - "container": "sentseg", - "endpoint": "sentseg" + "component": "components/1Q9QXih1U2zhCpVm9zxdsA.yml", + "service": "annotators/SentSeg/service_configs/sentseg" } } }, @@ -103,14 +102,12 @@ }, "dialog_formatter": "state_formatters.dp_formatters:preproc_last_human_utt_dialog", "response_formatter": "state_formatters.dp_formatters:simple_formatter_service", - "previous_services": [ - ], + "previous_services": [], "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "directory": "annotators/SentSeg", - "container": "sentseg", - "endpoint": "sentseg" + "component": "components/gM4fEjvVqLlSRRRkQfds2g.yml", + "service": "annotators/SentSeg/service_configs/sentseg" } } }, @@ -130,8 +127,8 @@ ], "is_enabled": true, "source": { - "directory": "skill_selectors/rule_based_selector", - "container": "agent" + "component": "components/xSwFvtAUdvtQosvzpb7oMg.yml", + "service": "skill_selectors/rule_based_selector/service_configs/agent" } } }, @@ -142,7 +139,10 @@ "timeout": 10.0, "url": "http://dff-universal-prompted-skill:8147/respond" }, - "dialog_formatter": "state_formatters.dp_formatters:dff_universal_prompted_skill_formatter", + "dialog_formatter": { + "name": "state_formatters.dp_formatters:dff_prompted_skill_formatter", + "skill_name": "dff_universal_prompted_skill" + }, "response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service", "previous_services": [ "skill_selectors" @@ -150,9 +150,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dff_universal_prompted_skill", - "container": "dff-universal-prompted-skill", - "endpoint": "respond" + "component": "components/HCDk0BKtebIrwROLGStKQ.yml", + "service": "skills/dff_universal_prompted_skill/service_configs/dff-universal-prompted-skill" } }, "dummy_skill": { @@ -168,8 +167,8 @@ "state_manager_method": "add_hypothesis", "is_enabled": true, "source": { - "directory": "skills/dummy_skill", - "container": "agent" + "component": "components/uYkoK0vRp4bbIg9akI1yw.yml", + "service": "skills/dummy_skill/service_configs/agent" } } }, @@ -188,9 +187,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "annotators/combined_classification", - "container": "combined-classification", - "endpoint": "batch_model" + "component": "components/PbLNvh4hrvs47rPaf2bfYQ.yml", + "service": "annotators/combined_classification/service_configs/combined-classification" } }, "sentence_ranker": { @@ -207,9 +205,8 @@ "state_manager_method": "add_hypothesis_annotation_batch", "is_enabled": true, "source": { - "directory": "services/sentence_ranker", - "container": "sentence-ranker", - "endpoint": "respond" + "component": "components/XGwmAHtAOu0NDqqG3QCJw.yml", + "service": "services/sentence_ranker/service_configs/sentence-ranker" } } }, @@ -228,9 +225,8 @@ "state_manager_method": "add_bot_utterance", "is_enabled": true, "source": { - "directory": "response_selectors/ranking_based_response_selector", - "container": "ranking-based-response-selector", - "endpoint": "respond" + "component": "components/YJzc7NwGrLmKp6gfZJh7X1.yml", + "service": "response_selectors/ranking_based_response_selector/service_configs/ranking-based-response-selector" } } } diff --git a/components/-EvuPQO29N28izuWLBtxew.yml b/components/-EvuPQO29N28izuWLBtxew.yml new file mode 100644 index 0000000000..c3348e9ae1 --- /dev/null +++ b/components/-EvuPQO29N28izuWLBtxew.yml @@ -0,0 +1,25 @@ +name: small_talk_skill +display_name: Small Talk Skill +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: asks questions using the hand-written scripts for 25 topics, including + but not limited to love, sports, work, pets, etc. +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://small-talk-skill:8062/respond +dialog_formatter: state_formatters.dp_formatters:utt_sentseg_punct_dialog +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/small_talk_skill/service_configs/small-talk-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/-NxFeriz1ymjSuvPITEJOQ.yml b/components/-NxFeriz1ymjSuvPITEJOQ.yml new file mode 100644 index 0000000000..1b77a97169 --- /dev/null +++ b/components/-NxFeriz1ymjSuvPITEJOQ.yml @@ -0,0 +1,26 @@ +name: dff_gossip_skill +display_name: Gossip Skill +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: DFF-based skill to discuss other people with news about them +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://dff-gossip-skill:8109/respond +dialog_formatter: state_formatters.dp_formatters:dff_gossip_skill_formatter +response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service +previous_services: +- skill_selectors +- annotators.entity_linking +- annotators.wiki_parser +required_previous_services: null +state_manager_method: add_hypothesis +tags: null +endpoint: respond +service: skills/dff_gossip_skill/service_configs/dff-gossip-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/-VFltJVPpaCZ7Mquk2N7qg.yml b/components/-VFltJVPpaCZ7Mquk2N7qg.yml new file mode 100644 index 0000000000..38acc17c12 --- /dev/null +++ b/components/-VFltJVPpaCZ7Mquk2N7qg.yml @@ -0,0 +1,25 @@ +name: dff_program_y_dangerous_skill +display_name: Program Y Dangerous Skill +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: Chatbot Program Y (https://github.com/keiffster/program-y) adapted for + Dream socialbot, containing responses to dangerous situations in a dialog +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://dff-program-y-dangerous-skill:8022/respond +dialog_formatter: state_formatters.dp_formatters:dff_program_y_dangerous_skill_formatter +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_program_y_dangerous_skill/service_configs/dff-program-y-dangerous-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/-qJPPqfjKviU_yvDTCn2Xw.yml b/components/-qJPPqfjKviU_yvDTCn2Xw.yml new file mode 100644 index 0000000000..57d501ba87 --- /dev/null +++ b/components/-qJPPqfjKviU_yvDTCn2Xw.yml @@ -0,0 +1,25 @@ +name: dff_intent_responder_skill +display_name: Custom Responses +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: true +author: publisher@deeppavlov.ai +description: provides template-based replies for some of the intents detected by Intent + Catcher annotator +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://dff-intent-responder-ru-skill:8012/respond +dialog_formatter: state_formatters.dp_formatters:dff_intent_responder_skill_formatter +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_intent_responder_skill/service_configs/dff-intent-responder-ru-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/05PqJXVd-7gV7DqslN5z3A.yml b/components/05PqJXVd-7gV7DqslN5z3A.yml new file mode 100644 index 0000000000..541ca2ce89 --- /dev/null +++ b/components/05PqJXVd-7gV7DqslN5z3A.yml @@ -0,0 +1,24 @@ +name: entity_detection +display_name: Entity Detection +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: extracts entities and their types from utterances +ram_usage: 1.5G +gpu_usage: 3.2G +group: candidate_annotators +connector: + protocol: http + timeout: 1.0 + url: http://entity-detection:8103/respond_batch +dialog_formatter: state_formatters.dp_formatters:hypotheses_list +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- skills +required_previous_services: null +state_manager_method: add_hypothesis_annotation_batch +tags: null +endpoint: respond_batch +service: annotators/entity_detection/service_configs/entity-detection +date_created: '2023-03-16T09:45:32' diff --git a/components/05PqJXVd7gV7DqslN5z3A.yml b/components/05PqJXVd7gV7DqslN5z3A.yml new file mode 100644 index 0000000000..541ca2ce89 --- /dev/null +++ b/components/05PqJXVd7gV7DqslN5z3A.yml @@ -0,0 +1,24 @@ +name: entity_detection +display_name: Entity Detection +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: extracts entities and their types from utterances +ram_usage: 1.5G +gpu_usage: 3.2G +group: candidate_annotators +connector: + protocol: http + timeout: 1.0 + url: http://entity-detection:8103/respond_batch +dialog_formatter: state_formatters.dp_formatters:hypotheses_list +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- skills +required_previous_services: null +state_manager_method: add_hypothesis_annotation_batch +tags: null +endpoint: respond_batch +service: annotators/entity_detection/service_configs/entity-detection +date_created: '2023-03-16T09:45:32' diff --git a/components/0aGHC6rgSth_kFjoUgQEIw.yml b/components/0aGHC6rgSth_kFjoUgQEIw.yml new file mode 100644 index 0000000000..02b2188724 --- /dev/null +++ b/components/0aGHC6rgSth_kFjoUgQEIw.yml @@ -0,0 +1,28 @@ +name: sentrewrite +display_name: CorefResolution & SentRewriting +component_type: null +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: rewrites user's utterances by replacing pronouns with specific names + that provide more useful information to downstream components +ram_usage: 200M +gpu_usage: null +group: annotators +connector: + protocol: http + timeout: 1.0 + url: http://sentrewrite:8017/sentrewrite +dialog_formatter: state_formatters.dp_formatters:sent_rewrite_formatter_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- annotators.spelling_preprocessing +- annotators.sentseg +- annotators.ner +- response_annotators.ner +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: sentrewrite +service: annotators/SentRewrite/service_configs/sentrewrite +date_created: '2023-03-16T09:45:32' diff --git a/components/0aGHC6rgSthkFjoUgQEIw.yml b/components/0aGHC6rgSthkFjoUgQEIw.yml new file mode 100644 index 0000000000..02b2188724 --- /dev/null +++ b/components/0aGHC6rgSthkFjoUgQEIw.yml @@ -0,0 +1,28 @@ +name: sentrewrite +display_name: CorefResolution & SentRewriting +component_type: null +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: rewrites user's utterances by replacing pronouns with specific names + that provide more useful information to downstream components +ram_usage: 200M +gpu_usage: null +group: annotators +connector: + protocol: http + timeout: 1.0 + url: http://sentrewrite:8017/sentrewrite +dialog_formatter: state_formatters.dp_formatters:sent_rewrite_formatter_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- annotators.spelling_preprocessing +- annotators.sentseg +- annotators.ner +- response_annotators.ner +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: sentrewrite +service: annotators/SentRewrite/service_configs/sentrewrite +date_created: '2023-03-16T09:45:32' diff --git a/components/0sXrpFc5dMQSbhydkrrq7A.yml b/components/0sXrpFc5dMQSbhydkrrq7A.yml new file mode 100644 index 0000000000..a5bd3464dd --- /dev/null +++ b/components/0sXrpFc5dMQSbhydkrrq7A.yml @@ -0,0 +1,24 @@ +name: dff_science_skill +display_name: Science Skill +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: DFF-based skill to discuss science +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://dff-science-skill:8101/respond +dialog_formatter: state_formatters.dp_formatters:dff_science_skill_formatter +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_science_skill/service_configs/dff-science-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/1HucxpdVamyoS0GEl3l7A.yml b/components/1HucxpdVamyoS0GEl3l7A.yml new file mode 100644 index 0000000000..fb2d1b427c --- /dev/null +++ b/components/1HucxpdVamyoS0GEl3l7A.yml @@ -0,0 +1,25 @@ +name: dff_program_y_wide_skill +display_name: Program Y Wide Skill +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: Chatbot Program Y (https://github.com/keiffster/program-y) adapted for + Dream socialbot, which includes only very general templates (with lower confidence) +ram_usage: 110M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://dff-program-y-wide-skill:8064/respond +dialog_formatter: state_formatters.dp_formatters:dff_program_y_wide_skill_formatter +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_program_y_wide_skill/service_configs/dff-program-y-wide-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/1HucxpdVamyoS_0GEl3l7A.yml b/components/1HucxpdVamyoS_0GEl3l7A.yml new file mode 100644 index 0000000000..fb2d1b427c --- /dev/null +++ b/components/1HucxpdVamyoS_0GEl3l7A.yml @@ -0,0 +1,25 @@ +name: dff_program_y_wide_skill +display_name: Program Y Wide Skill +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: Chatbot Program Y (https://github.com/keiffster/program-y) adapted for + Dream socialbot, which includes only very general templates (with lower confidence) +ram_usage: 110M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://dff-program-y-wide-skill:8064/respond +dialog_formatter: state_formatters.dp_formatters:dff_program_y_wide_skill_formatter +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_program_y_wide_skill/service_configs/dff-program-y-wide-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/1IjC3r9b1VJ082ceINXzHQ.yml b/components/1IjC3r9b1VJ082ceINXzHQ.yml new file mode 100644 index 0000000000..c808aba9bc --- /dev/null +++ b/components/1IjC3r9b1VJ082ceINXzHQ.yml @@ -0,0 +1,26 @@ +name: intent_catcher +display_name: Intent Catcher +component_type: null +model_type: NN-based +is_customizable: true +author: publisher@deeppavlov.ai +description: classifies user utterances into a number of predefined intents which + are trained on a set of phrases and regexps +ram_usage: 1.7G +gpu_usage: 2.4G +group: annotators +connector: + protocol: http + timeout: 1.0 + url: http://intent-catcher:8014/detect +dialog_formatter: state_formatters.dp_formatters:last_utt_sentseg_segments_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- annotators.spelling_preprocessing +- annotators.sentseg +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: detect +service: annotators/IntentCatcherTransformers/service_configs/intent-catcher +date_created: '2023-03-16T09:45:32' diff --git a/components/1JUPwwo1SZzxuj4RXjI350.yml b/components/1JUPwwo1SZzxuj4RXjI350.yml new file mode 100644 index 0000000000..5110826acf --- /dev/null +++ b/components/1JUPwwo1SZzxuj4RXjI350.yml @@ -0,0 +1,28 @@ +name: dff_deeppavlov_prompted_skill +display_name: DeepPavlov Assistant Skill +component_type: Generative +model_type: NN-based +is_customizable: true +author: publisher@deeppavlov.ai +description: Prompt-based skill that utilizes ChatGPT to generate + responses from the digital assistant performing any task that a user + can ask for. +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 15.0 + url: http://dff-deeppavlov-prompted-skill:8146/respond +dialog_formatter: + name: state_formatters.dp_formatters:dff_prompted_skill_formatter + skill_name: dff_deeppavlov_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-deeppavlov-prompted-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/1Q9QXih1U2zhCpVm9zxdsA.yml b/components/1Q9QXih1U2zhCpVm9zxdsA.yml new file mode 100644 index 0000000000..b0f56448c2 --- /dev/null +++ b/components/1Q9QXih1U2zhCpVm9zxdsA.yml @@ -0,0 +1,25 @@ +name: sentseg +display_name: Sentence Segmentation +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: allows us to handle long and complex user's utterances by splitting them + into sentences and recovering punctuation +ram_usage: 1G +gpu_usage: null +group: response_annotators +connector: + protocol: http + timeout: 1.5 + url: http://sentseg:8011/sentseg +dialog_formatter: state_formatters.dp_formatters:last_bot_utt_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- response_annotator_selectors +required_previous_services: null +state_manager_method: add_annotation_prev_bot_utt +tags: null +endpoint: sentseg +service: annotators/SentSeg/service_configs/sentseg +date_created: '2023-03-16T09:45:32' diff --git a/components/1VPCe8n0dmU8o2hC0NeeWQ.yml b/components/1VPCe8n0dmU8o2hC0NeeWQ.yml new file mode 100644 index 0000000000..4da3540b78 --- /dev/null +++ b/components/1VPCe8n0dmU8o2hC0NeeWQ.yml @@ -0,0 +1,25 @@ +name: entity_detection +display_name: Entity Detection +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: extracts entities and their types from utterances +ram_usage: 5.5G +gpu_usage: null +group: annotators +connector: + protocol: http + timeout: 1.0 + url: http://entity-detection-ru:8103/respond +dialog_formatter: state_formatters.dp_formatters:entity_detection_formatter_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- annotators.spelling_preprocessing +- annotators.sentseg +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: respond +service: annotators/entity_detection_rus/service_configs/entity-detection-ru +date_created: '2023-03-16T09:45:32' diff --git a/components/1hNMgFlLT00Lc1s41yqbxA.yml b/components/1hNMgFlLT00Lc1s41yqbxA.yml new file mode 100644 index 0000000000..ca6e0439fa --- /dev/null +++ b/components/1hNMgFlLT00Lc1s41yqbxA.yml @@ -0,0 +1,22 @@ +name: entity_linking +display_name: Entity Linking +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: finds Wikidata entity ids for the entities detected with Entity Detection +ram_usage: 2.5G +gpu_usage: 1.3G +group: annotators +connector: + protocol: http + url: http://entity-linking-deepy:8075/model +dialog_formatter: state_formatters.dp_formatters:last_utt_dialog +response_formatter: state_formatters.dp_formatters:entity_linking_formatter +previous_services: null +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: model +service: annotators/entity_linking_deepy/service_configs/entity-linking-deepy +date_created: '2023-03-16T09:45:32' diff --git a/components/1sMhc1QV81kG.yml b/components/1sMhc1QV81kG.yml new file mode 100644 index 0000000000..88c771593b --- /dev/null +++ b/components/1sMhc1QV81kG.yml @@ -0,0 +1,32 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you + say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/agent_services/service_configs/nutrition_assistant +date_created: '2023-03-04T19:27:44' diff --git a/components/2Fck28us-cKzZBviQ8WZTg.yml b/components/2Fck28us-cKzZBviQ8WZTg.yml new file mode 100644 index 0000000000..2e7479693c --- /dev/null +++ b/components/2Fck28us-cKzZBviQ8WZTg.yml @@ -0,0 +1,24 @@ +name: asr +display_name: ASR +component_type: null +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: calculates overall ASR confidence for a given utterance and grades it + as either _very low_, _low_, _medium_, or _high_ (for Amazon markup) +ram_usage: 100M +gpu_usage: null +group: annotators +connector: + protocol: http + timeout: 1.0 + url: http://asr:8031/asr_check +dialog_formatter: state_formatters.dp_formatters:asr_formatter_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: null +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: asr_check +service: annotators/asr/service_configs/asr +date_created: '2023-03-16T09:45:32' diff --git a/components/2Fck28uscKzZBviQ8WZTg.yml b/components/2Fck28uscKzZBviQ8WZTg.yml new file mode 100644 index 0000000000..2e7479693c --- /dev/null +++ b/components/2Fck28uscKzZBviQ8WZTg.yml @@ -0,0 +1,24 @@ +name: asr +display_name: ASR +component_type: null +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: calculates overall ASR confidence for a given utterance and grades it + as either _very low_, _low_, _medium_, or _high_ (for Amazon markup) +ram_usage: 100M +gpu_usage: null +group: annotators +connector: + protocol: http + timeout: 1.0 + url: http://asr:8031/asr_check +dialog_formatter: state_formatters.dp_formatters:asr_formatter_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: null +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: asr_check +service: annotators/asr/service_configs/asr +date_created: '2023-03-16T09:45:32' diff --git a/components/2LVyFT6xI6CR.yml b/components/2LVyFT6xI6CR.yml new file mode 100644 index 0000000000..a6a4ff81c8 --- /dev/null +++ b/components/2LVyFT6xI6CR.yml @@ -0,0 +1,32 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you + say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/agent_services/service_configs/fairytale_assistant +date_created: '2023-03-04T19:27:44' diff --git a/components/2MB4WF8B3XFI.yml b/components/2MB4WF8B3XFI.yml new file mode 100644 index 0000000000..819d85d2e1 --- /dev/null +++ b/components/2MB4WF8B3XFI.yml @@ -0,0 +1,32 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you + say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/agent_services/service_configs/deepy_gobot_base +date_created: '2023-03-04T19:27:44' diff --git a/components/2U9da1Fyq1KvANddliIN5g.yml b/components/2U9da1Fyq1KvANddliIN5g.yml new file mode 100644 index 0000000000..0d5b33f27d --- /dev/null +++ b/components/2U9da1Fyq1KvANddliIN5g.yml @@ -0,0 +1,23 @@ +name: spacy_annotator +display_name: Spacy Annotator +component_type: null +model_type: ML-based +is_customizable: false +author: publisher@deeppavlov.ai +description: token-wise annotations by Spacy +ram_usage: 250M +gpu_usage: null +group: annotators +connector: + protocol: http + timeout: 1.0 + url: http://spacy-annotator-ru:8129/respond +dialog_formatter: state_formatters.dp_formatters:last_utt_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: null +required_previous_services: null +state_manager_method: add_annotation_and_reset_human_attributes_for_first_turn +tags: null +endpoint: respond +service: annotators/spacy_annotator/service_configs/spacy-annotator-ru +date_created: '2023-03-16T09:45:32' diff --git a/components/2bbCQcfY2YYjHtMCRFHImG.yml b/components/2bbCQcfY2YYjHtMCRFHImG.yml new file mode 100644 index 0000000000..6bd5ae1c18 --- /dev/null +++ b/components/2bbCQcfY2YYjHtMCRFHImG.yml @@ -0,0 +1,27 @@ +name: dff_meeting_notes_prompted_skill +display_name: Meeting Notes Skill +component_type: Generative +model_type: NN-based +is_customizable: true +author: publisher@deeppavlov.ai +description: Prompt-based skill that utilizes GPT-3.5 to generate + meeting notes based on the meeting script. +ram_usage: 150M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 10.0 + url: http://dff-meeting-notes-prompted-skill:8155/respond +dialog_formatter: + name: state_formatters.dp_formatters:dff_prompted_skill_formatter + skill_name: dff_meeting_notes_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-meeting-notes-prompted-skill +date_created: '2023-04-26T09:45:32' diff --git a/components/2qgy_iVeuSZnotxkaBe3cw.yml b/components/2qgy_iVeuSZnotxkaBe3cw.yml new file mode 100644 index 0000000000..d84353ed07 --- /dev/null +++ b/components/2qgy_iVeuSZnotxkaBe3cw.yml @@ -0,0 +1,27 @@ +name: sentrewrite +display_name: CorefResolution & SentRewriting +component_type: null +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: rewrites user's utterances by replacing pronouns with specific names + that provide more useful information to downstream components +ram_usage: 200M +gpu_usage: null +group: response_annotators +connector: + protocol: http + timeout: 1.0 + url: http://sentrewrite:8017/sentrewrite +dialog_formatter: state_formatters.dp_formatters:sent_rewrite_formatter_w_o_last_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- response_annotator_selectors +- response_annotators.sentseg +- response_annotators.ner +required_previous_services: null +state_manager_method: add_annotation_prev_bot_utt +tags: null +endpoint: sentrewrite +service: annotators/SentRewrite/service_configs/sentrewrite +date_created: '2023-03-16T09:45:32' diff --git a/components/2qgyiVeuSZnotxkaBe3cw.yml b/components/2qgyiVeuSZnotxkaBe3cw.yml new file mode 100644 index 0000000000..d84353ed07 --- /dev/null +++ b/components/2qgyiVeuSZnotxkaBe3cw.yml @@ -0,0 +1,27 @@ +name: sentrewrite +display_name: CorefResolution & SentRewriting +component_type: null +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: rewrites user's utterances by replacing pronouns with specific names + that provide more useful information to downstream components +ram_usage: 200M +gpu_usage: null +group: response_annotators +connector: + protocol: http + timeout: 1.0 + url: http://sentrewrite:8017/sentrewrite +dialog_formatter: state_formatters.dp_formatters:sent_rewrite_formatter_w_o_last_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- response_annotator_selectors +- response_annotators.sentseg +- response_annotators.ner +required_previous_services: null +state_manager_method: add_annotation_prev_bot_utt +tags: null +endpoint: sentrewrite +service: annotators/SentRewrite/service_configs/sentrewrite +date_created: '2023-03-16T09:45:32' diff --git a/components/3DTP1sVd_mFIBYrC8OjRYA.yml b/components/3DTP1sVd_mFIBYrC8OjRYA.yml new file mode 100644 index 0000000000..7afc5f38ad --- /dev/null +++ b/components/3DTP1sVd_mFIBYrC8OjRYA.yml @@ -0,0 +1,24 @@ +name: toxic_classification +display_name: Toxic Classification +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: Toxic classification model from Transformers specified as PRETRAINED_MODEL_NAME_OR_PATH +ram_usage: 3.5G +gpu_usage: 3G +group: candidate_annotators +connector: + protocol: http + timeout: 1.0 + url: http://toxic-classification-ru:8126/respond_batch +dialog_formatter: state_formatters.dp_formatters:hypotheses_list +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- skills +required_previous_services: null +state_manager_method: add_hypothesis_annotation_batch +tags: null +endpoint: respond_batch +service: annotators/toxic_classification_ru/service_configs/toxic-classification-ru +date_created: '2023-03-16T09:45:32' diff --git a/components/3DTP1sVdmFIBYrC8OjRYA.yml b/components/3DTP1sVdmFIBYrC8OjRYA.yml new file mode 100644 index 0000000000..7afc5f38ad --- /dev/null +++ b/components/3DTP1sVdmFIBYrC8OjRYA.yml @@ -0,0 +1,24 @@ +name: toxic_classification +display_name: Toxic Classification +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: Toxic classification model from Transformers specified as PRETRAINED_MODEL_NAME_OR_PATH +ram_usage: 3.5G +gpu_usage: 3G +group: candidate_annotators +connector: + protocol: http + timeout: 1.0 + url: http://toxic-classification-ru:8126/respond_batch +dialog_formatter: state_formatters.dp_formatters:hypotheses_list +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- skills +required_previous_services: null +state_manager_method: add_hypothesis_annotation_batch +tags: null +endpoint: respond_batch +service: annotators/toxic_classification_ru/service_configs/toxic-classification-ru +date_created: '2023-03-16T09:45:32' diff --git a/components/3RDNPBdybjBlSQZqcc7nGQ.yml b/components/3RDNPBdybjBlSQZqcc7nGQ.yml new file mode 100644 index 0000000000..2a971fa04a --- /dev/null +++ b/components/3RDNPBdybjBlSQZqcc7nGQ.yml @@ -0,0 +1,26 @@ +name: ner +display_name: NER +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: extracts person names, names of locations, organizations from uncased + text +ram_usage: 2.2G +gpu_usage: 5G +group: annotators +connector: + protocol: http + timeout: 1.5 + url: http://ner:8021/ner +dialog_formatter: state_formatters.dp_formatters:ner_formatter_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- annotators.spelling_preprocessing +- annotators.sentseg +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: ner +service: annotators/NER_deeppavlov/service_configs/ner +date_created: '2023-03-16T09:45:32' diff --git a/components/3clxaNOTpI3oHR0fHRaCnQ.yml b/components/3clxaNOTpI3oHR0fHRaCnQ.yml new file mode 100644 index 0000000000..114df6c8d3 --- /dev/null +++ b/components/3clxaNOTpI3oHR0fHRaCnQ.yml @@ -0,0 +1,24 @@ +name: kbqa +display_name: KBQA +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: answers user's factoid questions based on Wikidata KB +ram_usage: 2G +gpu_usage: 1.4G +group: annotators +connector: + protocol: http + timeout: 1.0 + url: http://kbqa:8072/model +dialog_formatter: state_formatters.dp_formatters:kbqa_formatter_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: null +required_previous_services: +- annotators.entity_linking +state_manager_method: add_annotation +tags: null +endpoint: model +service: annotators/kbqa/service_configs/kbqa +date_created: '2023-03-16T09:45:32' diff --git a/components/3vsfbB89yVpQm5OVW0YcvQ.yml b/components/3vsfbB89yVpQm5OVW0YcvQ.yml new file mode 100644 index 0000000000..affe24b240 --- /dev/null +++ b/components/3vsfbB89yVpQm5OVW0YcvQ.yml @@ -0,0 +1,25 @@ +name: response_selector +display_name: Response Selector +component_type: null +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: Algorithm that selects a final responses among the given list of candidate + responses +ram_usage: 100M +gpu_usage: null +group: response_selectors +connector: + protocol: http + timeout: 1.0 + url: http://scripts-priority-selector:8009/respond +dialog_formatter: state_formatters.dp_formatters:full_history_dialog +response_formatter: state_formatters.dp_formatters:base_response_selector_formatter_service +previous_services: +- candidate_annotators +required_previous_services: null +state_manager_method: add_bot_utterance +tags: null +endpoint: respond +service: response_selectors/convers_evaluation_based_selector/service_configs/scripts-priority-selector +date_created: '2023-03-16T09:45:32' diff --git a/components/43JRcG1T0urZ.yml b/components/43JRcG1T0urZ.yml new file mode 100644 index 0000000000..91602e9fc4 --- /dev/null +++ b/components/43JRcG1T0urZ.yml @@ -0,0 +1,32 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you + say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/agent_services/service_configs/fashion_stylist_assistant +date_created: '2023-03-04T19:27:44' diff --git a/components/4SJxJlf3E8TTM94Uiqt5Xg.yml b/components/4SJxJlf3E8TTM94Uiqt5Xg.yml new file mode 100644 index 0000000000..bc83cfff60 --- /dev/null +++ b/components/4SJxJlf3E8TTM94Uiqt5Xg.yml @@ -0,0 +1,25 @@ +name: sentseg +display_name: Sentence Segmentation +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: recovers punctuation using ruBert-based (pyTorch) model and splits into + sentences +ram_usage: 2.4G +gpu_usage: 4.9G +group: response_annotators +connector: + protocol: http + timeout: 1.5 + url: http://sentseg-ru:8011/sentseg +dialog_formatter: state_formatters.dp_formatters:last_bot_utt_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- response_annotator_selectors +required_previous_services: null +state_manager_method: add_annotation_prev_bot_utt +tags: null +endpoint: sentseg +service: annotators/sentseg_ru/service_configs/sentseg-ru +date_created: '2023-03-16T09:45:32' diff --git a/components/4yA8wZWOEnafRfz6Po9nvA.yml b/components/4yA8wZWOEnafRfz6Po9nvA.yml new file mode 100644 index 0000000000..7303b6cf61 --- /dev/null +++ b/components/4yA8wZWOEnafRfz6Po9nvA.yml @@ -0,0 +1,25 @@ +name: dff_movie_skill +display_name: Movie Skill +component_type: Script-based w/o NNs +model_type: ML-based +is_customizable: false +author: publisher@deeppavlov.ai +description: is implemented using DFF and takes care of the conversations related + to movies +ram_usage: 1.1G +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://dff-movie-skill:8023/respond +dialog_formatter: state_formatters.dp_formatters:dff_movie_skill_formatter +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_movie_skill/service_configs/dff-movie-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/5CCnaSNbKTaB.yml b/components/5CCnaSNbKTaB.yml new file mode 100644 index 0000000000..989751a16b --- /dev/null +++ b/components/5CCnaSNbKTaB.yml @@ -0,0 +1,32 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you + say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/agent_services/service_configs/deepy_assistant +date_created: '2023-03-04T19:27:44' diff --git a/components/5J6lKI1JAjI9.yml b/components/5J6lKI1JAjI9.yml new file mode 100644 index 0000000000..7a9b6e5838 --- /dev/null +++ b/components/5J6lKI1JAjI9.yml @@ -0,0 +1,32 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you + say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/agent_services/service_configs/universal_prompted_assistant +date_created: '2023-03-04T19:27:44' diff --git a/components/5Sr7pFn5Vaiu.yml b/components/5Sr7pFn5Vaiu.yml new file mode 100644 index 0000000000..6065693960 --- /dev/null +++ b/components/5Sr7pFn5Vaiu.yml @@ -0,0 +1,24 @@ +name: prompt_selector +display_name: Prompt Selector +component_type: null +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: Annotator utilizing Sentence Ranker to rank prompts and selecting `N_SENTENCES_TO_RETURN` + most relevant prompts (based on questions provided in prompts) +ram_usage: 100M +gpu_usage: null +group: annotators +connector: + protocol: http + timeout: 2.0 + url: http://prompt-selector:8135/respond +dialog_formatter: state_formatters.dp_formatters:context_formatter_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: null +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: respond +service: annotators/prompt_selector/service_configs/fashion_stylist_assistant +date_created: '2023-03-16T09:45:32' diff --git a/components/5jR1Tq88W5OckWnTV8VIYL.yml b/components/5jR1Tq88W5OckWnTV8VIYL.yml new file mode 100644 index 0000000000..1f91e9624f --- /dev/null +++ b/components/5jR1Tq88W5OckWnTV8VIYL.yml @@ -0,0 +1,24 @@ +name: prompt_selector +display_name: Prompt Selector +component_type: null +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: Annotator utilizing Sentence Ranker to rank prompts and selecting `N_SENTENCES_TO_RETURN` + most relevant prompts (based on questions provided in prompts) +ram_usage: 100M +gpu_usage: null +group: annotators +connector: + protocol: http + timeout: 2.0 + url: http://prompt-selector-ru:8135/respond +dialog_formatter: state_formatters.dp_formatters:context_formatter_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: respond +service: annotators/prompt_selector/service_configs/prompt-selector-ru +date_created: '2023-03-16T09:45:32' diff --git a/components/5oDP3mLmiLaS.yml b/components/5oDP3mLmiLaS.yml new file mode 100644 index 0000000000..91602e9fc4 --- /dev/null +++ b/components/5oDP3mLmiLaS.yml @@ -0,0 +1,32 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you + say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/agent_services/service_configs/fashion_stylist_assistant +date_created: '2023-03-04T19:27:44' diff --git a/components/6UmSIUrka1Tl.yml b/components/6UmSIUrka1Tl.yml new file mode 100644 index 0000000000..7a9b6e5838 --- /dev/null +++ b/components/6UmSIUrka1Tl.yml @@ -0,0 +1,32 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you + say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/agent_services/service_configs/universal_prompted_assistant +date_created: '2023-03-04T19:27:44' diff --git a/components/6l-LhP7zuoiI0bxJEDLWUg.yml b/components/6l-LhP7zuoiI0bxJEDLWUg.yml new file mode 100644 index 0000000000..ca0770317a --- /dev/null +++ b/components/6l-LhP7zuoiI0bxJEDLWUg.yml @@ -0,0 +1,27 @@ +name: dff_dream_persona_prompted_skill +display_name: Dream Persona Skill +component_type: Generative +model_type: NN-based +is_customizable: true +author: publisher@deeppavlov.ai +description: Prompt-based skill that utilizes GPT-J 6B to generate + responses based on the given Dream persona description. +ram_usage: 150M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 10.0 + url: http://dff-dream-persona-gpt-j-prompted-skill:8134/respond +dialog_formatter: + name: state_formatters.dp_formatters:dff_prompted_skill_formatter + skill_name: dff_dream_persona_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-dream-persona-gpt-j-prompted-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/6lLhP7zuoiI0bxJEDLWUg.yml b/components/6lLhP7zuoiI0bxJEDLWUg.yml new file mode 100644 index 0000000000..ca0770317a --- /dev/null +++ b/components/6lLhP7zuoiI0bxJEDLWUg.yml @@ -0,0 +1,27 @@ +name: dff_dream_persona_prompted_skill +display_name: Dream Persona Skill +component_type: Generative +model_type: NN-based +is_customizable: true +author: publisher@deeppavlov.ai +description: Prompt-based skill that utilizes GPT-J 6B to generate + responses based on the given Dream persona description. +ram_usage: 150M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 10.0 + url: http://dff-dream-persona-gpt-j-prompted-skill:8134/respond +dialog_formatter: + name: state_formatters.dp_formatters:dff_prompted_skill_formatter + skill_name: dff_dream_persona_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-dream-persona-gpt-j-prompted-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/6vJmuO1GbwgIDIBc3hrwm0.yml b/components/6vJmuO1GbwgIDIBc3hrwm0.yml new file mode 100644 index 0000000000..e364d95359 --- /dev/null +++ b/components/6vJmuO1GbwgIDIBc3hrwm0.yml @@ -0,0 +1,27 @@ +name: dff_plan_for_article_prompted_skill +display_name: Plan for Article Skill +component_type: Generative +model_type: NN-based +is_customizable: true +author: publisher@deeppavlov.ai +description: Prompt-based skill that utilizes GPT-3.5 to generate + a plan for an article on the topic given by the user. +ram_usage: 150M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 10.0 + url: http://dff-plan-for-article-prompted-skill:8157/respond +dialog_formatter: + name: state_formatters.dp_formatters:dff_prompted_skill_formatter + skill_name: dff_plan_for_article_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-plan-for-article-prompted-skill +date_created: '2023-04-26T09:45:32' diff --git a/components/70NLr5qqOow5.yml b/components/70NLr5qqOow5.yml new file mode 100644 index 0000000000..c1f6376460 --- /dev/null +++ b/components/70NLr5qqOow5.yml @@ -0,0 +1,32 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you + say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/agent_services/service_configs/ai_faq_assistant +date_created: '2023-03-04T19:27:44' diff --git a/components/7Dxjy1ZpQEAoPcEeABGBLg.yml b/components/7Dxjy1ZpQEAoPcEeABGBLg.yml new file mode 100644 index 0000000000..5b52e15f78 --- /dev/null +++ b/components/7Dxjy1ZpQEAoPcEeABGBLg.yml @@ -0,0 +1,26 @@ +name: dialogpt +display_name: DialoGPT +component_type: Generative +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: generative service based on Transformers generative model, the model + is set in docker compose argument `PRETRAINED_MODEL_NAME_OR_PATH` (for example, + `microsoft/DialoGPT-small` with 0.2-0.5 sec on GPU) +ram_usage: 1.2G +gpu_usage: 2.1G +group: skills +connector: + protocol: http + timeout: 3.0 + url: http://dialogpt:8125/respond +dialog_formatter: state_formatters.dp_formatters:last_utt_and_history_dialog +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: services/dialogpt/service_configs/dialogpt +date_created: '2023-03-16T09:45:32' diff --git a/components/7dhiDqHqK6TYOAJAKK7grg.yml b/components/7dhiDqHqK6TYOAJAKK7grg.yml new file mode 100644 index 0000000000..c2d1312dc2 --- /dev/null +++ b/components/7dhiDqHqK6TYOAJAKK7grg.yml @@ -0,0 +1,24 @@ +name: emotion_classification +display_name: Emotion Classification +component_type: null +model_type: ML-based +is_customizable: false +author: publisher@deeppavlov.ai +description: emotion classification annotator +ram_usage: 2.5G +gpu_usage: null +group: response_annotators +connector: + protocol: python + url: http://emotion-classification-deepy:8015/model + class_name: assistant_dists.deepy_faq.connectors:BatchConnector +dialog_formatter: state_formatters.dp_formatters:hypotheses_list +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- skills +required_previous_services: null +state_manager_method: add_hypothesis_annotation_batch +tags: null +endpoint: model +service: annotators/emotion_classification_deepy/service_configs/emotion-classification-deepy +date_created: '2023-03-16T09:45:32' diff --git a/components/8amq2jANl7xb.yml b/components/8amq2jANl7xb.yml new file mode 100644 index 0000000000..f7a005ff2d --- /dev/null +++ b/components/8amq2jANl7xb.yml @@ -0,0 +1,32 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you + say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/agent_services/service_configs/dream_mini +date_created: '2023-03-04T19:27:44' diff --git a/components/8qwxH2SZE4EhXS5JqqZPkm.yml b/components/8qwxH2SZE4EhXS5JqqZPkm.yml new file mode 100644 index 0000000000..41c8dc9a4b --- /dev/null +++ b/components/8qwxH2SZE4EhXS5JqqZPkm.yml @@ -0,0 +1,27 @@ +name: dff_official_email_prompted_skill +display_name: Official Email Skill +component_type: Generative +model_type: NN-based +is_customizable: true +author: publisher@deeppavlov.ai +description: Prompt-based skill that utilizes GPT-3.5 to generate + email of official style based on the given by user email draft. +ram_usage: 150M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 10.0 + url: http://dff-official-email-prompted-skill:8156/respond +dialog_formatter: + name: state_formatters.dp_formatters:dff_prompted_skill_formatter + skill_name: dff_official_email_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-official-email-prompted-skill +date_created: '2023-04-26T09:45:32' diff --git a/components/9XSWCH46buTl2i-sGsdefA.yml b/components/9XSWCH46buTl2i-sGsdefA.yml new file mode 100644 index 0000000000..7d2575920f --- /dev/null +++ b/components/9XSWCH46buTl2i-sGsdefA.yml @@ -0,0 +1,26 @@ +name: dff_book_skill +display_name: Book Skill +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: detects book titles and authors mentioned in the user's utterance with + the help of Wiki parser and Entity linking and recommends books by leveraging information + from the GoodReads database +ram_usage: 400M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://dff-book-sfc-skill:8034/respond +dialog_formatter: state_formatters.dp_formatters:dff_book_sfc_skill_formatter +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_book_sfc_skill/service_configs/dff-book-sfc-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/9XSWCH46buTl2isGsdefA.yml b/components/9XSWCH46buTl2isGsdefA.yml new file mode 100644 index 0000000000..7d2575920f --- /dev/null +++ b/components/9XSWCH46buTl2isGsdefA.yml @@ -0,0 +1,26 @@ +name: dff_book_skill +display_name: Book Skill +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: detects book titles and authors mentioned in the user's utterance with + the help of Wiki parser and Entity linking and recommends books by leveraging information + from the GoodReads database +ram_usage: 400M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://dff-book-sfc-skill:8034/respond +dialog_formatter: state_formatters.dp_formatters:dff_book_sfc_skill_formatter +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_book_sfc_skill/service_configs/dff-book-sfc-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/AkgtzbAdOaly7bBjaOQvg.yml b/components/AkgtzbAdOaly7bBjaOQvg.yml new file mode 100644 index 0000000000..6d273543a0 --- /dev/null +++ b/components/AkgtzbAdOaly7bBjaOQvg.yml @@ -0,0 +1,25 @@ +name: personality_catcher +display_name: Personality Catcher +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: the skill is to change the system's personality description via chatting + interface, it works as a system command, the response is system-like message +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://personality-catcher:8010/personality_catcher +dialog_formatter: state_formatters.dp_formatters:personality_catcher_formatter_dialog +response_formatter: state_formatters.dp_formatters:personality_catcher_formatter_service +previous_services: +- skill_selectors +required_previous_services: null +state_manager_method: add_hypothesis +tags: null +endpoint: personality_catcher +service: skills/personality_catcher/service_configs/personality-catcher +date_created: '2023-03-16T09:45:32' diff --git a/components/AkgtzbAd_Oaly7bBjaOQvg.yml b/components/AkgtzbAd_Oaly7bBjaOQvg.yml new file mode 100644 index 0000000000..6d273543a0 --- /dev/null +++ b/components/AkgtzbAd_Oaly7bBjaOQvg.yml @@ -0,0 +1,25 @@ +name: personality_catcher +display_name: Personality Catcher +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: the skill is to change the system's personality description via chatting + interface, it works as a system command, the response is system-like message +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://personality-catcher:8010/personality_catcher +dialog_formatter: state_formatters.dp_formatters:personality_catcher_formatter_dialog +response_formatter: state_formatters.dp_formatters:personality_catcher_formatter_service +previous_services: +- skill_selectors +required_previous_services: null +state_manager_method: add_hypothesis +tags: null +endpoint: personality_catcher +service: skills/personality_catcher/service_configs/personality-catcher +date_created: '2023-03-16T09:45:32' diff --git a/components/Aq8BKfuOs07Q.yml b/components/Aq8BKfuOs07Q.yml new file mode 100644 index 0000000000..6c0ca543e1 --- /dev/null +++ b/components/Aq8BKfuOs07Q.yml @@ -0,0 +1,32 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you + say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/agent_services/service_configs/dream_mini_persona_based +date_created: '2023-03-04T19:27:44' diff --git a/components/BTkgJIpLE8yb.yml b/components/BTkgJIpLE8yb.yml new file mode 100644 index 0000000000..e49f95093d --- /dev/null +++ b/components/BTkgJIpLE8yb.yml @@ -0,0 +1,32 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you + say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/agent_services/service_configs/marketing_assistant +date_created: '2023-03-04T19:27:44' diff --git a/components/CEnFhpgntTwT.yml b/components/CEnFhpgntTwT.yml new file mode 100644 index 0000000000..e49f95093d --- /dev/null +++ b/components/CEnFhpgntTwT.yml @@ -0,0 +1,32 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you + say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/agent_services/service_configs/marketing_assistant +date_created: '2023-03-04T19:27:44' diff --git a/components/CGfUfSJOGK2diPRLlsXYFA.yml b/components/CGfUfSJOGK2diPRLlsXYFA.yml new file mode 100644 index 0000000000..ade2b72ec7 --- /dev/null +++ b/components/CGfUfSJOGK2diPRLlsXYFA.yml @@ -0,0 +1,23 @@ +name: alexa_handler +display_name: Alexa Handler +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: handler for several specific Alexa commands +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: python + class_name: skills.alexa_handler.connector:AlexaHandlerConnector +dialog_formatter: state_formatters.dp_formatters:last_utt_dialog +response_formatter: state_formatters.dp_formatters:cobot_qa_formatter_service +previous_services: +- skill_selectors +required_previous_services: null +state_manager_method: add_hypothesis +tags: null +endpoint: null +service: skills/alexa_handler/service_configs/agent +date_created: '2023-03-16T09:45:32' diff --git a/components/CJSHsz2Ac5ul.yml b/components/CJSHsz2Ac5ul.yml new file mode 100644 index 0000000000..5007bf955e --- /dev/null +++ b/components/CJSHsz2Ac5ul.yml @@ -0,0 +1,32 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you + say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/agent_services/service_configs/deepy_adv +date_created: '2023-03-04T19:27:44' diff --git a/components/CmQGq1Xn5YOaMwNIb4bEpA.yml b/components/CmQGq1Xn5YOaMwNIb4bEpA.yml new file mode 100644 index 0000000000..4e5e4bd3cd --- /dev/null +++ b/components/CmQGq1Xn5YOaMwNIb4bEpA.yml @@ -0,0 +1,25 @@ +name: dff_intent_responder_skill +display_name: Custom Responses +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: true +author: publisher@deeppavlov.ai +description: provides template-based replies for some of the intents detected by Intent + Catcher annotator +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://dff-intent-responder-skill:8012/respond +dialog_formatter: state_formatters.dp_formatters:dff_intent_responder_skill_formatter +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_intent_responder_skill/service_configs/dff-intent-responder-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/DKpAPqrBbakAcoSbx6hibg.yml b/components/DKpAPqrBbakAcoSbx6hibg.yml new file mode 100644 index 0000000000..8e7b2a740e --- /dev/null +++ b/components/DKpAPqrBbakAcoSbx6hibg.yml @@ -0,0 +1,29 @@ +name: news_api_annotator +display_name: News API Annotator +component_type: null +model_type: External API +is_customizable: false +author: publisher@deeppavlov.ai +description: extracts the latest news about entities or topics using the GNews API. + DeepPavlov Dream deployments utilize our own API key. +ram_usage: 100M +gpu_usage: null +group: annotators +connector: + protocol: http + timeout: 2.0 + url: http://news-api-annotator:8112/respond +dialog_formatter: state_formatters.dp_formatters:utt_non_punct_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- annotators.spelling_preprocessing +- annotators.sentseg +- annotators.ner +- annotators.entity_detection +- annotators.spacy_nounphrases +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: respond +service: annotators/news_api/service_configs/news-api-annotator +date_created: '2023-03-16T09:45:32' diff --git a/components/DUW2u7FwPMyhBOWrK1HTg.yml b/components/DUW2u7FwPMyhBOWrK1HTg.yml new file mode 100644 index 0000000000..78fe8bb9ff --- /dev/null +++ b/components/DUW2u7FwPMyhBOWrK1HTg.yml @@ -0,0 +1,25 @@ +name: dialogrpt +display_name: DialogRPT +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: DialogRPT model which is based on [Russian DialoGPT by DeepPavlov](https://huggingface.co/DeepPavlov/rudialogpt3_medium_based_on_gpt2_v2) + and fine-tuned on Russian Pikabu Comment sequences +ram_usage: 3.8G +gpu_usage: 2G +group: candidate_annotators +connector: + protocol: http + timeout: 1.0 + url: http://dialogrpt-ru:8122/respond +dialog_formatter: state_formatters.dp_formatters:hypotheses_with_context_list +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- skills +required_previous_services: null +state_manager_method: add_hypothesis_annotation_batch +tags: null +endpoint: respond +service: services/dialogrpt_ru/service_configs/dialogrpt-ru +date_created: '2023-03-16T09:45:32' diff --git a/components/DUW2u7Fw_PMyhBOWrK1HTg.yml b/components/DUW2u7Fw_PMyhBOWrK1HTg.yml new file mode 100644 index 0000000000..78fe8bb9ff --- /dev/null +++ b/components/DUW2u7Fw_PMyhBOWrK1HTg.yml @@ -0,0 +1,25 @@ +name: dialogrpt +display_name: DialogRPT +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: DialogRPT model which is based on [Russian DialoGPT by DeepPavlov](https://huggingface.co/DeepPavlov/rudialogpt3_medium_based_on_gpt2_v2) + and fine-tuned on Russian Pikabu Comment sequences +ram_usage: 3.8G +gpu_usage: 2G +group: candidate_annotators +connector: + protocol: http + timeout: 1.0 + url: http://dialogrpt-ru:8122/respond +dialog_formatter: state_formatters.dp_formatters:hypotheses_with_context_list +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- skills +required_previous_services: null +state_manager_method: add_hypothesis_annotation_batch +tags: null +endpoint: respond +service: services/dialogrpt_ru/service_configs/dialogrpt-ru +date_created: '2023-03-16T09:45:32' diff --git a/components/DbHXjhwWHORIms84Z3WJbA.yml b/components/DbHXjhwWHORIms84Z3WJbA.yml new file mode 100644 index 0000000000..8b82b5084f --- /dev/null +++ b/components/DbHXjhwWHORIms84Z3WJbA.yml @@ -0,0 +1,24 @@ +name: dff_travel_skill +display_name: Travel Skill +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: DFF-based skill to discuss travel +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://dff-travel-skill:8096/respond +dialog_formatter: state_formatters.dp_formatters:dff_travel_skill_formatter +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_travel_skill/service_configs/dff-travel-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/DbSG2ONMnwu7.yml b/components/DbSG2ONMnwu7.yml new file mode 100644 index 0000000000..e897ad9b04 --- /dev/null +++ b/components/DbSG2ONMnwu7.yml @@ -0,0 +1,24 @@ +name: prompt_selector +display_name: Prompt Selector +component_type: null +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: Annotator utilizing Sentence Ranker to rank prompts and selecting `N_SENTENCES_TO_RETURN` + most relevant prompts (based on questions provided in prompts) +ram_usage: 100M +gpu_usage: null +group: annotators +connector: + protocol: http + timeout: 2.0 + url: http://prompt-selector:8135/respond +dialog_formatter: state_formatters.dp_formatters:context_formatter_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: null +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: respond +service: annotators/prompt_selector/service_configs/marketing_assistant +date_created: '2023-03-16T09:45:32' diff --git a/components/ED4eLNB6JK3U8sUGHsQ.yml b/components/ED4eLNB6JK3U8sUGHsQ.yml new file mode 100644 index 0000000000..d84d8ea8ed --- /dev/null +++ b/components/ED4eLNB6JK3U8sUGHsQ.yml @@ -0,0 +1,24 @@ +name: dff_food_skill +display_name: Food Skill +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: constructed with DFF to encourage food-related conversation +ram_usage: 150M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://dff-food-skill:8097/respond +dialog_formatter: state_formatters.dp_formatters:dff_food_skill_formatter +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_food_skill/service_configs/dff-food-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/ED_4-eLNB6-JK3U8sUGHsQ.yml b/components/ED_4-eLNB6-JK3U8sUGHsQ.yml new file mode 100644 index 0000000000..d84d8ea8ed --- /dev/null +++ b/components/ED_4-eLNB6-JK3U8sUGHsQ.yml @@ -0,0 +1,24 @@ +name: dff_food_skill +display_name: Food Skill +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: constructed with DFF to encourage food-related conversation +ram_usage: 150M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://dff-food-skill:8097/respond +dialog_formatter: state_formatters.dp_formatters:dff_food_skill_formatter +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_food_skill/service_configs/dff-food-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/EvuPQO29N28izuWLBtxew.yml b/components/EvuPQO29N28izuWLBtxew.yml new file mode 100644 index 0000000000..c3348e9ae1 --- /dev/null +++ b/components/EvuPQO29N28izuWLBtxew.yml @@ -0,0 +1,25 @@ +name: small_talk_skill +display_name: Small Talk Skill +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: asks questions using the hand-written scripts for 25 topics, including + but not limited to love, sports, work, pets, etc. +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://small-talk-skill:8062/respond +dialog_formatter: state_formatters.dp_formatters:utt_sentseg_punct_dialog +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/small_talk_skill/service_configs/small-talk-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/FJ-pakzPR4IC8F1sos7FSg.yml b/components/FJ-pakzPR4IC8F1sos7FSg.yml new file mode 100644 index 0000000000..a2a7b57cf2 --- /dev/null +++ b/components/FJ-pakzPR4IC8F1sos7FSg.yml @@ -0,0 +1,25 @@ +name: dff_generative_skill +display_name: Generative Skill +component_type: Generative +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: generative skill which uses DialoGPT service to generate 3 different + hypotheses +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 4.0 + url: http://dff-generative-ru-skill:8092/respond +dialog_formatter: state_formatters.dp_formatters:dff_generative_skill_formatter +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_generative_skill/service_configs/dff-generative-ru-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/FJpakzPR4IC8F1sos7FSg.yml b/components/FJpakzPR4IC8F1sos7FSg.yml new file mode 100644 index 0000000000..a2a7b57cf2 --- /dev/null +++ b/components/FJpakzPR4IC8F1sos7FSg.yml @@ -0,0 +1,25 @@ +name: dff_generative_skill +display_name: Generative Skill +component_type: Generative +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: generative skill which uses DialoGPT service to generate 3 different + hypotheses +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 4.0 + url: http://dff-generative-ru-skill:8092/respond +dialog_formatter: state_formatters.dp_formatters:dff_generative_skill_formatter +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_generative_skill/service_configs/dff-generative-ru-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/FNmTZbz8EA6-Y80b5pXZzQ.yml b/components/FNmTZbz8EA6-Y80b5pXZzQ.yml new file mode 100644 index 0000000000..a2bb4cdda2 --- /dev/null +++ b/components/FNmTZbz8EA6-Y80b5pXZzQ.yml @@ -0,0 +1,25 @@ +name: speech_function_predictor +display_name: Speech Function Predictor +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: yields probabilities of speech functions that can follow a speech function + predicted by Speech Function Classifier +ram_usage: 1.1G +gpu_usage: 4.5G +group: annotators +connector: + protocol: http + timeout: 5.0 + url: http://speech-function-predictor:8107/model +dialog_formatter: state_formatters.dp_formatters:speech_function_predictor_formatter +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- annotators.speech_function_classifier +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: model +service: annotators/speech_function_predictor/service_configs/speech-function-predictor +date_created: '2023-03-16T09:45:32' diff --git a/components/FNmTZbz8EA6Y80b5pXZzQ.yml b/components/FNmTZbz8EA6Y80b5pXZzQ.yml new file mode 100644 index 0000000000..a2bb4cdda2 --- /dev/null +++ b/components/FNmTZbz8EA6Y80b5pXZzQ.yml @@ -0,0 +1,25 @@ +name: speech_function_predictor +display_name: Speech Function Predictor +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: yields probabilities of speech functions that can follow a speech function + predicted by Speech Function Classifier +ram_usage: 1.1G +gpu_usage: 4.5G +group: annotators +connector: + protocol: http + timeout: 5.0 + url: http://speech-function-predictor:8107/model +dialog_formatter: state_formatters.dp_formatters:speech_function_predictor_formatter +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- annotators.speech_function_classifier +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: model +service: annotators/speech_function_predictor/service_configs/speech-function-predictor +date_created: '2023-03-16T09:45:32' diff --git a/components/GUBU1VTsOaAmXsPId4c9tg.yml b/components/GUBU1VTsOaAmXsPId4c9tg.yml new file mode 100644 index 0000000000..d4d8f30f6f --- /dev/null +++ b/components/GUBU1VTsOaAmXsPId4c9tg.yml @@ -0,0 +1,25 @@ +name: emotion_skill +display_name: Emotion Skill +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: returns template responses to emotions detected by Emotion Classification + from Combined Classification annotator +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://emotion-skill:8049/respond +dialog_formatter: state_formatters.dp_formatters:utt_sentrewrite_modified_last_dialog_emotion_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/emotion_skill/service_configs/emotion-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/GYa5X3Q4snG-IgQzAFc7Gg.yml b/components/GYa5X3Q4snG-IgQzAFc7Gg.yml new file mode 100644 index 0000000000..3137d28d2a --- /dev/null +++ b/components/GYa5X3Q4snG-IgQzAFc7Gg.yml @@ -0,0 +1,25 @@ +name: dff_bot_persona_skill +display_name: Bot Persona Skill +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: aims to discuss user favorites and 20 most popular things with short + stories expressing the socialbot's opinion towards them +ram_usage: 150M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://dff-bot-persona-skill:8105/respond +dialog_formatter: state_formatters.dp_formatters:dff_bot_persona_skill_formatter +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_bot_persona_skill/service_configs/dff-bot-persona-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/GYa5X3Q4snGIgQzAFc7Gg.yml b/components/GYa5X3Q4snGIgQzAFc7Gg.yml new file mode 100644 index 0000000000..3137d28d2a --- /dev/null +++ b/components/GYa5X3Q4snGIgQzAFc7Gg.yml @@ -0,0 +1,25 @@ +name: dff_bot_persona_skill +display_name: Bot Persona Skill +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: aims to discuss user favorites and 20 most popular things with short + stories expressing the socialbot's opinion towards them +ram_usage: 150M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://dff-bot-persona-skill:8105/respond +dialog_formatter: state_formatters.dp_formatters:dff_bot_persona_skill_formatter +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_bot_persona_skill/service_configs/dff-bot-persona-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/H-wvIQNi3pCqMifPclnOMg.yml b/components/H-wvIQNi3pCqMifPclnOMg.yml new file mode 100644 index 0000000000..85b6c598dc --- /dev/null +++ b/components/H-wvIQNi3pCqMifPclnOMg.yml @@ -0,0 +1,28 @@ +name: dff_nutrition_prompted_skill +display_name: Nutrition Skill +component_type: Generative +model_type: NN-based +is_customizable: true +author: publisher@deeppavlov.ai +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 +group: skills +connector: + protocol: http + timeout: 10.0 + url: http://dff-nutrition-prompted-skill:8141/respond +dialog_formatter: + name: state_formatters.dp_formatters:dff_prompted_skill_formatter + skill_name: dff_nutrition_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-nutrition-prompted-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/H1bbLiJ4B8F_g77NPDgGjA.yml b/components/H1bbLiJ4B8F_g77NPDgGjA.yml new file mode 100644 index 0000000000..7f9ae1c5a4 --- /dev/null +++ b/components/H1bbLiJ4B8F_g77NPDgGjA.yml @@ -0,0 +1,31 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/last_chance_service/service_configs/agent +date_created: '2023-03-04T19:27:44' diff --git a/components/H1bbLiJ4B8Fg77NPDgGjA.yml b/components/H1bbLiJ4B8Fg77NPDgGjA.yml new file mode 100644 index 0000000000..7f9ae1c5a4 --- /dev/null +++ b/components/H1bbLiJ4B8Fg77NPDgGjA.yml @@ -0,0 +1,31 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/last_chance_service/service_configs/agent +date_created: '2023-03-04T19:27:44' diff --git a/components/HCDk0BKtebIr-wROLGStKQ.yml b/components/HCDk0BKtebIr-wROLGStKQ.yml new file mode 100644 index 0000000000..bc2082a7da --- /dev/null +++ b/components/HCDk0BKtebIr-wROLGStKQ.yml @@ -0,0 +1,27 @@ +name: dff_universal_prompted_skill +display_name: Universal Prompted Skill +component_type: Generative +model_type: NN-based +is_customizable: true +author: publisher@deeppavlov.ai +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 +group: skills +connector: + protocol: http + timeout: 10.0 + url: http://dff-universal-prompted-skill:8147/respond +dialog_formatter: + name: state_formatters.dp_formatters:dff_prompted_skill_formatter + skill_name: dff_universal_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_universal_prompted_skill/service_configs/dff-universal-prompted-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/HCDk0BKtebIrwROLGStKQ.yml b/components/HCDk0BKtebIrwROLGStKQ.yml new file mode 100644 index 0000000000..bc2082a7da --- /dev/null +++ b/components/HCDk0BKtebIrwROLGStKQ.yml @@ -0,0 +1,27 @@ +name: dff_universal_prompted_skill +display_name: Universal Prompted Skill +component_type: Generative +model_type: NN-based +is_customizable: true +author: publisher@deeppavlov.ai +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 +group: skills +connector: + protocol: http + timeout: 10.0 + url: http://dff-universal-prompted-skill:8147/respond +dialog_formatter: + name: state_formatters.dp_formatters:dff_prompted_skill_formatter + skill_name: dff_universal_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_universal_prompted_skill/service_configs/dff-universal-prompted-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/HFemvyS0tyqChUVAuCZt7g.yml b/components/HFemvyS0tyqChUVAuCZt7g.yml new file mode 100644 index 0000000000..d09cad5c84 --- /dev/null +++ b/components/HFemvyS0tyqChUVAuCZt7g.yml @@ -0,0 +1,26 @@ +name: sentence_ranker +display_name: Sentence Ranker +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: for a pair of sentences predicts a floating point value. For multilingual + version, return cosine similarity between embeddings from multilingual sentence + BERT +ram_usage: 2.5G +gpu_usage: 1.8G +group: candidate_annotators +connector: + protocol: http + timeout: 1.0 + url: http://sentence-ranker-multilingual:8128/respond +dialog_formatter: state_formatters.dp_formatters:sentence_ranker_formatter +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- skills +required_previous_services: null +state_manager_method: add_hypothesis_annotation_batch +tags: null +endpoint: respond +service: services/sentence_ranker/service_configs/sentence-ranker-multilingual +date_created: '2023-03-16T09:45:32' diff --git a/components/HPjIdUO3Ux41.yml b/components/HPjIdUO3Ux41.yml new file mode 100644 index 0000000000..01397773df --- /dev/null +++ b/components/HPjIdUO3Ux41.yml @@ -0,0 +1,32 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you + say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/agent_services/service_configs/deeppavlov_assistant +date_created: '2023-03-04T19:27:44' diff --git a/components/HqbKuGPENqUm.yml b/components/HqbKuGPENqUm.yml new file mode 100644 index 0000000000..5484956f8b --- /dev/null +++ b/components/HqbKuGPENqUm.yml @@ -0,0 +1,24 @@ +name: prompt_selector +display_name: Prompt Selector +component_type: null +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: Annotator utilizing Sentence Ranker to rank prompts and selecting `N_SENTENCES_TO_RETURN` + most relevant prompts (based on questions provided in prompts) +ram_usage: 100M +gpu_usage: null +group: annotators +connector: + protocol: http + timeout: 2.0 + url: http://prompt-selector:8135/respond +dialog_formatter: state_formatters.dp_formatters:context_formatter_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: null +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: respond +service: annotators/prompt_selector/service_configs/multiskill_ai_assistant +date_created: '2023-03-16T09:45:32' diff --git a/components/HvYsrVCd5c52.yml b/components/HvYsrVCd5c52.yml new file mode 100644 index 0000000000..3e8e7815a2 --- /dev/null +++ b/components/HvYsrVCd5c52.yml @@ -0,0 +1,32 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you + say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/agent_services/service_configs/dream_multilingual +date_created: '2023-03-04T19:27:44' diff --git a/components/HwvIQNi3pCqMifPclnOMg.yml b/components/HwvIQNi3pCqMifPclnOMg.yml new file mode 100644 index 0000000000..85b6c598dc --- /dev/null +++ b/components/HwvIQNi3pCqMifPclnOMg.yml @@ -0,0 +1,28 @@ +name: dff_nutrition_prompted_skill +display_name: Nutrition Skill +component_type: Generative +model_type: NN-based +is_customizable: true +author: publisher@deeppavlov.ai +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 +group: skills +connector: + protocol: http + timeout: 10.0 + url: http://dff-nutrition-prompted-skill:8141/respond +dialog_formatter: + name: state_formatters.dp_formatters:dff_prompted_skill_formatter + skill_name: dff_nutrition_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-nutrition-prompted-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/HxZ-wtabTqPYokTZ9yJ3MQ.yml b/components/HxZ-wtabTqPYokTZ9yJ3MQ.yml new file mode 100644 index 0000000000..96a497a274 --- /dev/null +++ b/components/HxZ-wtabTqPYokTZ9yJ3MQ.yml @@ -0,0 +1,24 @@ +name: convert_reddit +display_name: Convert Reddit +component_type: Retrieval +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: uses a ConveRT encoder to build efficient representations for sentences +ram_usage: 1.2G +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://convert-reddit:8029/convert_reddit +dialog_formatter: state_formatters.dp_formatters:convert_formatter_dialog +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: convert_reddit +service: skills/convert_reddit/service_configs/convert-reddit +date_created: '2023-03-16T09:45:32' diff --git a/components/HxZwtabTqPYokTZ9yJ3MQ.yml b/components/HxZwtabTqPYokTZ9yJ3MQ.yml new file mode 100644 index 0000000000..96a497a274 --- /dev/null +++ b/components/HxZwtabTqPYokTZ9yJ3MQ.yml @@ -0,0 +1,24 @@ +name: convert_reddit +display_name: Convert Reddit +component_type: Retrieval +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: uses a ConveRT encoder to build efficient representations for sentences +ram_usage: 1.2G +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://convert-reddit:8029/convert_reddit +dialog_formatter: state_formatters.dp_formatters:convert_formatter_dialog +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: convert_reddit +service: skills/convert_reddit/service_configs/convert-reddit +date_created: '2023-03-16T09:45:32' diff --git a/components/IiXGzRszejsDfy8VcgI9A.yml b/components/IiXGzRszejsDfy8VcgI9A.yml new file mode 100644 index 0000000000..d14861f3ab --- /dev/null +++ b/components/IiXGzRszejsDfy8VcgI9A.yml @@ -0,0 +1,26 @@ +name: dff_deepy_prompted_skill +display_name: Deepy Assistant Skill +component_type: Generative +model_type: NN-based +is_customizable: true +author: publisher@deeppavlov.ai +description: Deepy Assistant can help the user to create a customized dialogue system. +ram_usage: 150M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 10.0 + url: http://dff-deepy-prompted-skill:8148/respond +dialog_formatter: + name: state_formatters.dp_formatters:dff_prompted_skill_formatter + skill_name: dff_deepy_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-deepy-prompted-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/IiXGzRszejsDfy8Vcg_I9A.yml b/components/IiXGzRszejsDfy8Vcg_I9A.yml new file mode 100644 index 0000000000..d14861f3ab --- /dev/null +++ b/components/IiXGzRszejsDfy8Vcg_I9A.yml @@ -0,0 +1,26 @@ +name: dff_deepy_prompted_skill +display_name: Deepy Assistant Skill +component_type: Generative +model_type: NN-based +is_customizable: true +author: publisher@deeppavlov.ai +description: Deepy Assistant can help the user to create a customized dialogue system. +ram_usage: 150M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 10.0 + url: http://dff-deepy-prompted-skill:8148/respond +dialog_formatter: + name: state_formatters.dp_formatters:dff_prompted_skill_formatter + skill_name: dff_deepy_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-deepy-prompted-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/IvTBJz0AoCD98qMOkbXEkg.yml b/components/IvTBJz0AoCD98qMOkbXEkg.yml new file mode 100644 index 0000000000..cc2b790a98 --- /dev/null +++ b/components/IvTBJz0AoCD98qMOkbXEkg.yml @@ -0,0 +1,26 @@ +name: speech_function_classifier +display_name: Speech Function Classifier +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: a hierarchical algorithm based on several linear models and a rule-based + approach for the prediction of speech functions described by Eggins and Slade +ram_usage: 1.1G +gpu_usage: 4.5G +group: response_annotators +connector: + protocol: http + timeout: 5.0 + url: http://speech-function-classifier:8108/model +dialog_formatter: state_formatters.dp_formatters:speech_function_bot_formatter +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- response_annotator_selectors +- response_annotators.sentseg +required_previous_services: null +state_manager_method: add_annotation_prev_bot_utt +tags: null +endpoint: model +service: annotators/speech_function_classifier/service_configs/speech-function-classifier +date_created: '2023-03-16T09:45:32' diff --git a/components/IyLt06tlM1Ad13bQ2VQ9Vg.yml b/components/IyLt06tlM1Ad13bQ2VQ9Vg.yml new file mode 100644 index 0000000000..8efb39dc13 --- /dev/null +++ b/components/IyLt06tlM1Ad13bQ2VQ9Vg.yml @@ -0,0 +1,26 @@ +name: dff_book_skill +display_name: Book Skill +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: detects book titles and authors mentioned in the user's utterance with + the help of Wiki parser and Entity linking and recommends books by leveraging information + from the GoodReads database +ram_usage: 400M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://dff-book-skill:8032/respond +dialog_formatter: state_formatters.dp_formatters:dff_book_skill_formatter +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_book_skill/service_configs/dff-book-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/J-lk28u7nVCSNqrT1YpLAQ.yml b/components/J-lk28u7nVCSNqrT1YpLAQ.yml new file mode 100644 index 0000000000..9528e45d41 --- /dev/null +++ b/components/J-lk28u7nVCSNqrT1YpLAQ.yml @@ -0,0 +1,26 @@ +name: ner +display_name: NER +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: extracts person names, names of locations, organizations from uncased + text using ruBert-based (pyTorch) model +ram_usage: 1.7G +gpu_usage: 4.9G +group: response_annotators +connector: + protocol: http + timeout: 1.5 + url: http://ner-ru:8021/ner +dialog_formatter: state_formatters.dp_formatters:ner_formatter_last_bot_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- response_annotator_selectors +- response_annotators.sentseg +required_previous_services: null +state_manager_method: add_annotation_prev_bot_utt +tags: null +endpoint: ner +service: annotators/NER_deeppavlov/service_configs/ner-ru +date_created: '2023-03-16T09:45:32' diff --git a/components/JBT6ELvDDQed.yml b/components/JBT6ELvDDQed.yml new file mode 100644 index 0000000000..f7a005ff2d --- /dev/null +++ b/components/JBT6ELvDDQed.yml @@ -0,0 +1,32 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you + say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/agent_services/service_configs/dream_mini +date_created: '2023-03-04T19:27:44' diff --git a/components/JC93rfUXvRXa.yml b/components/JC93rfUXvRXa.yml new file mode 100644 index 0000000000..dbc5913b38 --- /dev/null +++ b/components/JC93rfUXvRXa.yml @@ -0,0 +1,32 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you + say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/agent_services/service_configs/deepy_base +date_created: '2023-03-04T19:27:44' diff --git a/components/JF1gG7lJb3qz.yml b/components/JF1gG7lJb3qz.yml new file mode 100644 index 0000000000..26ad621377 --- /dev/null +++ b/components/JF1gG7lJb3qz.yml @@ -0,0 +1,32 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you + say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/agent_services/service_configs/dream_alexa +date_created: '2023-03-04T19:27:44' diff --git a/components/JZQdT4V5UXtwWLC2CWeA.yml b/components/JZQdT4V5UXtwWLC2CWeA.yml new file mode 100644 index 0000000000..80d8398ed2 --- /dev/null +++ b/components/JZQdT4V5UXtwWLC2CWeA.yml @@ -0,0 +1,24 @@ +name: spacy_annotator +display_name: Spacy Annotator +component_type: null +model_type: ML-based +is_customizable: false +author: publisher@deeppavlov.ai +description: token-wise annotations by Spacy +ram_usage: 250M +gpu_usage: null +group: candidate_annotators +connector: + protocol: http + timeout: 1.0 + url: http://spacy-annotator-ru:8129/respond_batch +dialog_formatter: state_formatters.dp_formatters:hypotheses_list +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- skills +required_previous_services: null +state_manager_method: add_hypothesis_annotation_batch +tags: null +endpoint: respond_batch +service: annotators/spacy_annotator/service_configs/spacy-annotator-ru +date_created: '2023-03-16T09:45:32' diff --git a/components/JZQdT_4V5UXtwWL-C2CWeA.yml b/components/JZQdT_4V5UXtwWL-C2CWeA.yml new file mode 100644 index 0000000000..80d8398ed2 --- /dev/null +++ b/components/JZQdT_4V5UXtwWL-C2CWeA.yml @@ -0,0 +1,24 @@ +name: spacy_annotator +display_name: Spacy Annotator +component_type: null +model_type: ML-based +is_customizable: false +author: publisher@deeppavlov.ai +description: token-wise annotations by Spacy +ram_usage: 250M +gpu_usage: null +group: candidate_annotators +connector: + protocol: http + timeout: 1.0 + url: http://spacy-annotator-ru:8129/respond_batch +dialog_formatter: state_formatters.dp_formatters:hypotheses_list +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- skills +required_previous_services: null +state_manager_method: add_hypothesis_annotation_batch +tags: null +endpoint: respond_batch +service: annotators/spacy_annotator/service_configs/spacy-annotator-ru +date_created: '2023-03-16T09:45:32' diff --git a/components/Jlk28u7nVCSNqrT1YpLAQ.yml b/components/Jlk28u7nVCSNqrT1YpLAQ.yml new file mode 100644 index 0000000000..9528e45d41 --- /dev/null +++ b/components/Jlk28u7nVCSNqrT1YpLAQ.yml @@ -0,0 +1,26 @@ +name: ner +display_name: NER +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: extracts person names, names of locations, organizations from uncased + text using ruBert-based (pyTorch) model +ram_usage: 1.7G +gpu_usage: 4.9G +group: response_annotators +connector: + protocol: http + timeout: 1.5 + url: http://ner-ru:8021/ner +dialog_formatter: state_formatters.dp_formatters:ner_formatter_last_bot_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- response_annotator_selectors +- response_annotators.sentseg +required_previous_services: null +state_manager_method: add_annotation_prev_bot_utt +tags: null +endpoint: ner +service: annotators/NER_deeppavlov/service_configs/ner-ru +date_created: '2023-03-16T09:45:32' diff --git a/components/JqdQTo5rdzNI.yml b/components/JqdQTo5rdzNI.yml new file mode 100644 index 0000000000..dbc5913b38 --- /dev/null +++ b/components/JqdQTo5rdzNI.yml @@ -0,0 +1,32 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you + say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/agent_services/service_configs/deepy_base +date_created: '2023-03-04T19:27:44' diff --git a/components/KSNMJJOS15MN2lsyS8fjBg.yml b/components/KSNMJJOS15MN2lsyS8fjBg.yml new file mode 100644 index 0000000000..a72c5c7324 --- /dev/null +++ b/components/KSNMJJOS15MN2lsyS8fjBg.yml @@ -0,0 +1,27 @@ +name: entity_storer +display_name: Entity Storer +component_type: null +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: a rule-based component, which stores entities from the user's and socialbot's + utterances if opinion expression is detected with patterns or MIDAS Classifier and + saves them along with the detected attitude to dialogue state +ram_usage: 220M +gpu_usage: null +group: annotators +connector: + protocol: http + timeout: 1.0 + url: http://entity-storer:8089/respond +dialog_formatter: state_formatters.dp_formatters:entity_storer_formatter +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- annotators.combined_classification +- annotators.intent_catcher +required_previous_services: null +state_manager_method: update_attributes +tags: null +endpoint: respond +service: annotators/entity_storer/service_configs/entity-storer +date_created: '2023-03-16T09:45:32' diff --git a/components/KX4drAocVa5APcivWHeBNQ.yml b/components/KX4drAocVa5APcivWHeBNQ.yml new file mode 100644 index 0000000000..1510213078 --- /dev/null +++ b/components/KX4drAocVa5APcivWHeBNQ.yml @@ -0,0 +1,24 @@ +name: response_selector +display_name: Response Selector +component_type: null +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: Algorithm that selects a final responses among the given list of candidate + responses +ram_usage: 100M +gpu_usage: null +group: response_selectors +connector: + protocol: http + url: http://rule-based-response-selector:8005/respond +dialog_formatter: state_formatters.dp_formatters:full_dialog +response_formatter: state_formatters.dp_formatters:base_response_selector_formatter_service +previous_services: +- response_annotators +required_previous_services: null +state_manager_method: add_bot_utterance +tags: null +endpoint: respond +service: response_selectors/rule_based_response_selector/service_configs/rule-based-response-selector +date_created: '2023-03-16T09:45:32' diff --git a/components/LB9M2ATJRuRM.yml b/components/LB9M2ATJRuRM.yml new file mode 100644 index 0000000000..22780a2410 --- /dev/null +++ b/components/LB9M2ATJRuRM.yml @@ -0,0 +1,32 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you + say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/agent_services/service_configs/deepy_faq +date_created: '2023-03-04T19:27:44' diff --git a/components/LUSJ19c38uOLAVZWYs5U8g.yml b/components/LUSJ19c38uOLAVZWYs5U8g.yml new file mode 100644 index 0000000000..5a29a8d56e --- /dev/null +++ b/components/LUSJ19c38uOLAVZWYs5U8g.yml @@ -0,0 +1,23 @@ +name: harvesters_maintenance_gobot_skill +display_name: Harvesters Maintenance Gobot Skill +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: Harvesters maintenance Goal-oriented skill +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: http + url: http://harvesters-maintenance-gobot-skill:3882/respond +dialog_formatter: state_formatters.dp_formatters:full_dialog +response_formatter: state_formatters.dp_formatters:base_skill_formatter +previous_services: +- annotators +required_previous_services: null +state_manager_method: add_hypothesis +tags: null +endpoint: respond +service: skills/harvesters_maintenance_gobot_skill_deepy/service_configs/harvesters-maintenance-gobot-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/LUiKFsqPaNHJC9SW4Mw.yml b/components/LUiKFsqPaNHJC9SW4Mw.yml new file mode 100644 index 0000000000..11a103e502 --- /dev/null +++ b/components/LUiKFsqPaNHJC9SW4Mw.yml @@ -0,0 +1,24 @@ +name: toxic_classification +display_name: Toxic Classification +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: Toxic classification model from Transformers specified as PRETRAINED_MODEL_NAME_OR_PATH +ram_usage: 3.5G +gpu_usage: 3G +group: annotators +connector: + protocol: http + timeout: 1.0 + url: http://toxic-classification-ru:8126/respond +dialog_formatter: state_formatters.dp_formatters:preproc_last_human_utt_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- annotators.spelling_preprocessing +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: respond +service: annotators/toxic_classification_ru/service_configs/toxic-classification-ru +date_created: '2023-03-16T09:45:32' diff --git a/components/LXrJ-DIf43gwNmPMNXG5Eg.yml b/components/LXrJ-DIf43gwNmPMNXG5Eg.yml new file mode 100644 index 0000000000..e318aa826a --- /dev/null +++ b/components/LXrJ-DIf43gwNmPMNXG5Eg.yml @@ -0,0 +1,25 @@ +name: response_annotator_selectors +display_name: Response Annotator Selectors +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Response Annotator Selectors +ram_usage: 100M +gpu_usage: null +group: response_annotator_selectors +connector: + protocol: python + class_name: skill_selectors.post_annotator_selector.connector:PostAnnotatorSelectorConnector + annotator_names: + - sentseg +dialog_formatter: null +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: null +required_previous_services: null +state_manager_method: null +tags: +- selector +endpoint: null +service: services/response_annotator_selectors/service_configs/agent +date_created: '2023-03-04T19:27:44' diff --git a/components/LXrJDIf43gwNmPMNXG5Eg.yml b/components/LXrJDIf43gwNmPMNXG5Eg.yml new file mode 100644 index 0000000000..e318aa826a --- /dev/null +++ b/components/LXrJDIf43gwNmPMNXG5Eg.yml @@ -0,0 +1,25 @@ +name: response_annotator_selectors +display_name: Response Annotator Selectors +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Response Annotator Selectors +ram_usage: 100M +gpu_usage: null +group: response_annotator_selectors +connector: + protocol: python + class_name: skill_selectors.post_annotator_selector.connector:PostAnnotatorSelectorConnector + annotator_names: + - sentseg +dialog_formatter: null +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: null +required_previous_services: null +state_manager_method: null +tags: +- selector +endpoint: null +service: services/response_annotator_selectors/service_configs/agent +date_created: '2023-03-04T19:27:44' diff --git a/components/L_UiKFsqPa_NH_JC9SW4Mw.yml b/components/L_UiKFsqPa_NH_JC9SW4Mw.yml new file mode 100644 index 0000000000..11a103e502 --- /dev/null +++ b/components/L_UiKFsqPa_NH_JC9SW4Mw.yml @@ -0,0 +1,24 @@ +name: toxic_classification +display_name: Toxic Classification +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: Toxic classification model from Transformers specified as PRETRAINED_MODEL_NAME_OR_PATH +ram_usage: 3.5G +gpu_usage: 3G +group: annotators +connector: + protocol: http + timeout: 1.0 + url: http://toxic-classification-ru:8126/respond +dialog_formatter: state_formatters.dp_formatters:preproc_last_human_utt_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- annotators.spelling_preprocessing +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: respond +service: annotators/toxic_classification_ru/service_configs/toxic-classification-ru +date_created: '2023-03-16T09:45:32' diff --git a/components/M1sE6hOm20EGBWBdr0vIOw.yml b/components/M1sE6hOm20EGBWBdr0vIOw.yml new file mode 100644 index 0000000000..d9f0c3eda4 --- /dev/null +++ b/components/M1sE6hOm20EGBWBdr0vIOw.yml @@ -0,0 +1,26 @@ +name: entity_linking +display_name: Entity Linking +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: finds Wikidata entity ids for the entities detected with Entity Detection +ram_usage: 2.5G +gpu_usage: 1.3G +group: annotators +connector: + protocol: http + timeout: 1.0 + url: http://entity-linking:8075/model +dialog_formatter: state_formatters.dp_formatters:el_formatter_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- annotators.ner +- annotators.entity_detection +- annotators.spacy_nounphrases +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: model +service: annotators/entity_linking/service_configs/entity-linking +date_created: '2023-03-16T09:45:32' diff --git a/components/NX76VAAIuvSF.yml b/components/NX76VAAIuvSF.yml new file mode 100644 index 0000000000..819d85d2e1 --- /dev/null +++ b/components/NX76VAAIuvSF.yml @@ -0,0 +1,32 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you + say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/agent_services/service_configs/deepy_gobot_base +date_created: '2023-03-04T19:27:44' diff --git a/components/Nw2-SnrS4DGoALg6Cu58Zw.yml b/components/Nw2-SnrS4DGoALg6Cu58Zw.yml new file mode 100644 index 0000000000..c28d2eb776 --- /dev/null +++ b/components/Nw2-SnrS4DGoALg6Cu58Zw.yml @@ -0,0 +1,24 @@ +name: sentseg +display_name: Sentence Segmentation +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: recovers punctuation using ruBert-based (pyTorch) model and splits into + sentences +ram_usage: 2.4G +gpu_usage: 4.9G +group: annotators +connector: + protocol: http + timeout: 1.5 + url: http://sentseg-ru:8011/sentseg +dialog_formatter: state_formatters.dp_formatters:preproc_last_human_utt_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: sentseg +service: annotators/sentseg_ru/service_configs/sentseg-ru +date_created: '2023-03-16T09:45:32' diff --git a/components/Nw2SnrS4DGoALg6Cu58Zw.yml b/components/Nw2SnrS4DGoALg6Cu58Zw.yml new file mode 100644 index 0000000000..c28d2eb776 --- /dev/null +++ b/components/Nw2SnrS4DGoALg6Cu58Zw.yml @@ -0,0 +1,24 @@ +name: sentseg +display_name: Sentence Segmentation +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: recovers punctuation using ruBert-based (pyTorch) model and splits into + sentences +ram_usage: 2.4G +gpu_usage: 4.9G +group: annotators +connector: + protocol: http + timeout: 1.5 + url: http://sentseg-ru:8011/sentseg +dialog_formatter: state_formatters.dp_formatters:preproc_last_human_utt_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: sentseg +service: annotators/sentseg_ru/service_configs/sentseg-ru +date_created: '2023-03-16T09:45:32' diff --git a/components/NxFeriz1ymjSuvPITEJOQ.yml b/components/NxFeriz1ymjSuvPITEJOQ.yml new file mode 100644 index 0000000000..1b77a97169 --- /dev/null +++ b/components/NxFeriz1ymjSuvPITEJOQ.yml @@ -0,0 +1,26 @@ +name: dff_gossip_skill +display_name: Gossip Skill +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: DFF-based skill to discuss other people with news about them +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://dff-gossip-skill:8109/respond +dialog_formatter: state_formatters.dp_formatters:dff_gossip_skill_formatter +response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service +previous_services: +- skill_selectors +- annotators.entity_linking +- annotators.wiki_parser +required_previous_services: null +state_manager_method: add_hypothesis +tags: null +endpoint: respond +service: skills/dff_gossip_skill/service_configs/dff-gossip-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/O4FVnkAwjay1mL1FbuRGWw.yml b/components/O4FVnkAwjay1mL1FbuRGWw.yml new file mode 100644 index 0000000000..7b960d111c --- /dev/null +++ b/components/O4FVnkAwjay1mL1FbuRGWw.yml @@ -0,0 +1,24 @@ +name: wiki_parser +display_name: Wiki Parser +component_type: null +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: extracts Wikidata triplets for the entities detected with Entity Linking +ram_usage: 100M +gpu_usage: null +group: annotators +connector: + protocol: http + timeout: 1.0 + url: http://wiki-parser:8077/model +dialog_formatter: state_formatters.dp_formatters:wp_formatter_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: null +required_previous_services: +- annotators.entity_linking +state_manager_method: add_annotation +tags: null +endpoint: model +service: annotators/wiki_parser/service_configs/wiki-parser +date_created: '2023-03-16T09:45:32' diff --git a/components/OOF0PmuxswPuZintDoAlXw.yml b/components/OOF0PmuxswPuZintDoAlXw.yml new file mode 100644 index 0000000000..4664484940 --- /dev/null +++ b/components/OOF0PmuxswPuZintDoAlXw.yml @@ -0,0 +1,23 @@ +name: spelling_preprocessing +display_name: Spell Checking +component_type: null +model_type: ML-based +is_customizable: false +author: publisher@deeppavlov.ai +description: Russian Levenshtein correction model +ram_usage: 8G +gpu_usage: null +group: annotators +connector: + protocol: http + timeout: 1.0 + url: http://spelling-preprocessing-ru:8074/respond +dialog_formatter: state_formatters.dp_formatters:last_utt_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: null +required_previous_services: null +state_manager_method: add_annotation_and_reset_human_attributes_for_first_turn +tags: null +endpoint: respond +service: annotators/spelling_preprocessing_dp/service_configs/spelling-preprocessing-ru +date_created: '2023-03-16T09:45:32' diff --git a/components/ORrfDhL6aqYS.yml b/components/ORrfDhL6aqYS.yml new file mode 100644 index 0000000000..386f4514a8 --- /dev/null +++ b/components/ORrfDhL6aqYS.yml @@ -0,0 +1,32 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you + say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/agent_services/service_configs/dream_persona_openai_prompted +date_created: '2023-03-04T19:27:44' diff --git a/components/OUs0LlgMUuy6gKezntdDoA.yml b/components/OUs0LlgMUuy6gKezntdDoA.yml new file mode 100644 index 0000000000..99958607da --- /dev/null +++ b/components/OUs0LlgMUuy6gKezntdDoA.yml @@ -0,0 +1,26 @@ +name: ner +display_name: NER +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: extracts person names, names of locations, organizations from uncased + text using ruBert-based (pyTorch) model +ram_usage: 1.7G +gpu_usage: 4.9G +group: annotators +connector: + protocol: http + timeout: 1.5 + url: http://ner-ru:8021/ner +dialog_formatter: state_formatters.dp_formatters:ner_formatter_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- annotators.spelling_preprocessing +- annotators.sentseg +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: ner +service: annotators/NER_deeppavlov/service_configs/ner-ru +date_created: '2023-03-16T09:45:32' diff --git a/components/OfrBzuijoa0vKB-Q_wWRlw.yml b/components/OfrBzuijoa0vKB-Q_wWRlw.yml new file mode 100644 index 0000000000..4e2331d219 --- /dev/null +++ b/components/OfrBzuijoa0vKB-Q_wWRlw.yml @@ -0,0 +1,29 @@ +name: dff_marketing_prompted_skill +display_name: Marketing Skill +component_type: Generative +model_type: NN-based +is_customizable: true +author: publisher@deeppavlov.ai +description: This skill is part of the 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 +group: skills +connector: + protocol: http + timeout: 10.0 + url: http://dff-marketing-prompted-skill:8138/respond +dialog_formatter: + name: state_formatters.dp_formatters:dff_prompted_skill_formatter + skill_name: dff_marketing_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-marketing-prompted-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/OfrBzuijoa0vKBQwWRlw.yml b/components/OfrBzuijoa0vKBQwWRlw.yml new file mode 100644 index 0000000000..4e2331d219 --- /dev/null +++ b/components/OfrBzuijoa0vKBQwWRlw.yml @@ -0,0 +1,29 @@ +name: dff_marketing_prompted_skill +display_name: Marketing Skill +component_type: Generative +model_type: NN-based +is_customizable: true +author: publisher@deeppavlov.ai +description: This skill is part of the 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 +group: skills +connector: + protocol: http + timeout: 10.0 + url: http://dff-marketing-prompted-skill:8138/respond +dialog_formatter: + name: state_formatters.dp_formatters:dff_prompted_skill_formatter + skill_name: dff_marketing_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-marketing-prompted-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/OpwVmWKiYYsK.yml b/components/OpwVmWKiYYsK.yml new file mode 100644 index 0000000000..22780a2410 --- /dev/null +++ b/components/OpwVmWKiYYsK.yml @@ -0,0 +1,32 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you + say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/agent_services/service_configs/deepy_faq +date_created: '2023-03-04T19:27:44' diff --git a/components/P6oHJQFf89qG.yml b/components/P6oHJQFf89qG.yml new file mode 100644 index 0000000000..05b174120a --- /dev/null +++ b/components/P6oHJQFf89qG.yml @@ -0,0 +1,24 @@ +name: prompt_selector +display_name: Prompt Selector +component_type: null +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: Annotator utilizing Sentence Ranker to rank prompts and selecting `N_SENTENCES_TO_RETURN` + most relevant prompts (based on questions provided in prompts) +ram_usage: 100M +gpu_usage: null +group: annotators +connector: + protocol: http + timeout: 2.0 + url: http://prompt-selector:8135/respond +dialog_formatter: state_formatters.dp_formatters:context_formatter_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: null +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: respond +service: annotators/prompt_selector/service_configs/deepy_assistant +date_created: '2023-03-16T09:45:32' diff --git a/components/PbLNvh4hrvs47rPaf2bfYQ.yml b/components/PbLNvh4hrvs47rPaf2bfYQ.yml new file mode 100644 index 0000000000..cf44a3961d --- /dev/null +++ b/components/PbLNvh4hrvs47rPaf2bfYQ.yml @@ -0,0 +1,25 @@ +name: combined_classification +display_name: Combined Classification +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: BERT-based model including topic classification, dialog acts classification, + sentiment, toxicity, emotion, factoid classification +ram_usage: 1.5G +gpu_usage: 3.5G +group: annotators +connector: + protocol: http + timeout: 2.0 + url: http://combined-classification:8087/model +dialog_formatter: state_formatters.dp_formatters:preproc_last_human_utt_dialog_w_hist +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- annotators.spelling_preprocessing +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: model +service: annotators/combined_classification/service_configs/combined-classification +date_created: '2023-03-16T09:45:32' diff --git a/components/QqTMvljZNeJGkLykBRUAw.yml b/components/QqTMvljZNeJGkLykBRUAw.yml new file mode 100644 index 0000000000..6dd257b344 --- /dev/null +++ b/components/QqTMvljZNeJGkLykBRUAw.yml @@ -0,0 +1,26 @@ +name: fact_random +display_name: Fact Random +component_type: null +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: returns random facts for the given entity (for entities from user utterance) +ram_usage: 100M +gpu_usage: null +group: annotators +connector: + protocol: http + timeout: 1.0 + url: http://fact-random:8119/respond +dialog_formatter: state_formatters.dp_formatters:fact_random_formatter_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- annotators.entity_linking +- annotators.spacy_nounphrases +- annotators.entity_detection +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: respond +service: annotators/fact_random/service_configs/fact-random +date_created: '2023-03-16T09:45:32' diff --git a/components/RJuoKZw7krAuB-4LrP5-fQ.yml b/components/RJuoKZw7krAuB-4LrP5-fQ.yml new file mode 100644 index 0000000000..2630369bb7 --- /dev/null +++ b/components/RJuoKZw7krAuB-4LrP5-fQ.yml @@ -0,0 +1,24 @@ +name: personal_info_skill +display_name: Personal Info Skill +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: queries and stores user's name, birthplace, and location +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://personal-info-ru-skill:8030/respond +dialog_formatter: state_formatters.dp_formatters:utt_sentseg_punct_dialog +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/personal_info_skill/service_configs/personal-info-ru-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/RJuoKZw7krAuB4LrP5fQ.yml b/components/RJuoKZw7krAuB4LrP5fQ.yml new file mode 100644 index 0000000000..2630369bb7 --- /dev/null +++ b/components/RJuoKZw7krAuB4LrP5fQ.yml @@ -0,0 +1,24 @@ +name: personal_info_skill +display_name: Personal Info Skill +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: queries and stores user's name, birthplace, and location +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://personal-info-ru-skill:8030/respond +dialog_formatter: state_formatters.dp_formatters:utt_sentseg_punct_dialog +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/personal_info_skill/service_configs/personal-info-ru-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/RZzyxv06mT3Y.yml b/components/RZzyxv06mT3Y.yml new file mode 100644 index 0000000000..95f8200d0d --- /dev/null +++ b/components/RZzyxv06mT3Y.yml @@ -0,0 +1,32 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you + say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/agent_services/service_configs/dream_sfc +date_created: '2023-03-04T19:27:44' diff --git a/components/RfSyL88o-5DJx15sUEvnZg.yml b/components/RfSyL88o-5DJx15sUEvnZg.yml new file mode 100644 index 0000000000..cabfbfdd4f --- /dev/null +++ b/components/RfSyL88o-5DJx15sUEvnZg.yml @@ -0,0 +1,25 @@ +name: toxic_classification +display_name: Toxic Classification +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: 'classifies toxicity: identity_attack, insult, obscene, severe_toxicity, + sexual_explicit, threat, toxicity' +ram_usage: 3G +gpu_usage: 2G +group: candidate_annotators +connector: + protocol: http + timeout: 2.0 + url: http://toxic-classification-multilingual:8013/respond_batch +dialog_formatter: state_formatters.dp_formatters:hypotheses_list +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- skills +required_previous_services: null +state_manager_method: add_hypothesis_annotation_batch +tags: null +endpoint: respond_batch +service: annotators/MultilingualToxicClassification/service_configs/toxic-classification-multilingual +date_created: '2023-03-16T09:45:32' diff --git a/components/RfSyL88o5DJx15sUEvnZg.yml b/components/RfSyL88o5DJx15sUEvnZg.yml new file mode 100644 index 0000000000..cabfbfdd4f --- /dev/null +++ b/components/RfSyL88o5DJx15sUEvnZg.yml @@ -0,0 +1,25 @@ +name: toxic_classification +display_name: Toxic Classification +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: 'classifies toxicity: identity_attack, insult, obscene, severe_toxicity, + sexual_explicit, threat, toxicity' +ram_usage: 3G +gpu_usage: 2G +group: candidate_annotators +connector: + protocol: http + timeout: 2.0 + url: http://toxic-classification-multilingual:8013/respond_batch +dialog_formatter: state_formatters.dp_formatters:hypotheses_list +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- skills +required_previous_services: null +state_manager_method: add_hypothesis_annotation_batch +tags: null +endpoint: respond_batch +service: annotators/MultilingualToxicClassification/service_configs/toxic-classification-multilingual +date_created: '2023-03-16T09:45:32' diff --git a/components/S0Nt2SuDQD1v.yml b/components/S0Nt2SuDQD1v.yml new file mode 100644 index 0000000000..dc9c3c8ed3 --- /dev/null +++ b/components/S0Nt2SuDQD1v.yml @@ -0,0 +1,32 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you + say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/agent_services/service_configs/life_coaching_assistant +date_created: '2023-03-04T19:27:44' diff --git a/components/SFiPofc4cGq6IRlit38e8A.yml b/components/SFiPofc4cGq6IRlit38e8A.yml new file mode 100644 index 0000000000..5964d37016 --- /dev/null +++ b/components/SFiPofc4cGq6IRlit38e8A.yml @@ -0,0 +1,25 @@ +name: response_selector +display_name: Response Selector +component_type: null +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: Algorithm that selects a final responses among the given list of candidate + responses +ram_usage: 100M +gpu_usage: null +group: response_selectors +connector: + protocol: http + timeout: 1.0 + url: http://convers-evaluation-selector-ru:8009/respond +dialog_formatter: state_formatters.dp_formatters:full_history_dialog +response_formatter: state_formatters.dp_formatters:base_response_selector_formatter_service +previous_services: +- candidate_annotators +required_previous_services: null +state_manager_method: add_bot_utterance +tags: null +endpoint: respond +service: response_selectors/convers_evaluation_based_selector/service_configs/convers-evaluation-selector-ru +date_created: '2023-03-16T09:45:32' diff --git a/components/TUMYgqCicowHdORbycHBow.yml b/components/TUMYgqCicowHdORbycHBow.yml new file mode 100644 index 0000000000..41028b83fb --- /dev/null +++ b/components/TUMYgqCicowHdORbycHBow.yml @@ -0,0 +1,24 @@ +name: dff_music_skill +display_name: Music Skill +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: DFF-based skill to discuss music +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://dff-music-skill:8099/respond +dialog_formatter: state_formatters.dp_formatters:dff_music_skill_formatter +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_music_skill/service_configs/dff-music-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/Tlo3lSEJHo570onf-HN-8w.yml b/components/Tlo3lSEJHo570onf-HN-8w.yml new file mode 100644 index 0000000000..3bd9304536 --- /dev/null +++ b/components/Tlo3lSEJHo570onf-HN-8w.yml @@ -0,0 +1,25 @@ +name: faq_skill +display_name: AI FAQ Skill +component_type: FAQ +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: Everything you wanted to know about modern AI but was afraid to ask! + This FAQ Assistant chats with you while explaining the simplest topics from today's + technology world. +ram_usage: 150M +gpu_usage: null +group: skills +connector: + protocol: http + url: http://faq-skill:3772/respond +dialog_formatter: state_formatters.dp_formatters:full_dialog +response_formatter: state_formatters.dp_formatters:base_skill_formatter +previous_services: +- annotators +required_previous_services: null +state_manager_method: add_hypothesis +tags: null +endpoint: respond +service: skills/faq_skill_deepy/service_configs/faq-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/Tlo3lSEJHo570onfHN8w.yml b/components/Tlo3lSEJHo570onfHN8w.yml new file mode 100644 index 0000000000..3bd9304536 --- /dev/null +++ b/components/Tlo3lSEJHo570onfHN8w.yml @@ -0,0 +1,25 @@ +name: faq_skill +display_name: AI FAQ Skill +component_type: FAQ +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: Everything you wanted to know about modern AI but was afraid to ask! + This FAQ Assistant chats with you while explaining the simplest topics from today's + technology world. +ram_usage: 150M +gpu_usage: null +group: skills +connector: + protocol: http + url: http://faq-skill:3772/respond +dialog_formatter: state_formatters.dp_formatters:full_dialog +response_formatter: state_formatters.dp_formatters:base_skill_formatter +previous_services: +- annotators +required_previous_services: null +state_manager_method: add_hypothesis +tags: null +endpoint: respond +service: skills/faq_skill_deepy/service_configs/faq-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/TvtHFEgVjuut.yml b/components/TvtHFEgVjuut.yml new file mode 100644 index 0000000000..3e8e7815a2 --- /dev/null +++ b/components/TvtHFEgVjuut.yml @@ -0,0 +1,32 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you + say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/agent_services/service_configs/dream_multilingual +date_created: '2023-03-04T19:27:44' diff --git a/components/U7OP1e0Kcceld-KplIDMvg.yml b/components/U7OP1e0Kcceld-KplIDMvg.yml new file mode 100644 index 0000000000..222b3b8087 --- /dev/null +++ b/components/U7OP1e0Kcceld-KplIDMvg.yml @@ -0,0 +1,25 @@ +name: dff_short_story_skill +display_name: Short Story Skill +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: 'tells user short stories from 3 categories: (1) bedtime stories, such + as fables and moral stories, (2) horror stories, and (3) funny ones' +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 3.0 + url: http://dff-short-story-skill:8057/respond +dialog_formatter: state_formatters.dp_formatters:dff_short_story_skill_formatter +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_short_story_skill/service_configs/dff-short-story-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/U7OP1e0KcceldKplIDMvg.yml b/components/U7OP1e0KcceldKplIDMvg.yml new file mode 100644 index 0000000000..222b3b8087 --- /dev/null +++ b/components/U7OP1e0KcceldKplIDMvg.yml @@ -0,0 +1,25 @@ +name: dff_short_story_skill +display_name: Short Story Skill +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: 'tells user short stories from 3 categories: (1) bedtime stories, such + as fables and moral stories, (2) horror stories, and (3) funny ones' +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 3.0 + url: http://dff-short-story-skill:8057/respond +dialog_formatter: state_formatters.dp_formatters:dff_short_story_skill_formatter +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_short_story_skill/service_configs/dff-short-story-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/USXkrUZRNdXbwACjKhO6KQ.yml b/components/USXkrUZRNdXbwACjKhO6KQ.yml new file mode 100644 index 0000000000..e3a8a9a5d8 --- /dev/null +++ b/components/USXkrUZRNdXbwACjKhO6KQ.yml @@ -0,0 +1,24 @@ +name: dff_weather_skill +display_name: Weather Skill +component_type: Script-based w/o NNs +model_type: External API +is_customizable: false +author: publisher@deeppavlov.ai +description: uses the OpenWeatherMap service to get the forecast for the user's location +ram_usage: 1.4G +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://dff-weather-skill:8037/respond +dialog_formatter: state_formatters.dp_formatters:dff_weather_skill_formatter +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_weather_skill/service_configs/dff-weather-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/V21kCVvTaCv8J0c4rDV4RA.yml b/components/V21kCVvTaCv8J0c4rDV4RA.yml new file mode 100644 index 0000000000..76e7f1caa7 --- /dev/null +++ b/components/V21kCVvTaCv8J0c4rDV4RA.yml @@ -0,0 +1,25 @@ +name: dff_gaming_skill +display_name: Gaming Skill +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: provides a video games discussion. Gaming Skill is for more general talk + about video games +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://dff-gaming-skill:8115/respond +dialog_formatter: state_formatters.dp_formatters:dff_gaming_skill_formatter +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_gaming_skill/service_configs/dff-gaming-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/V2iGM38Tkgmf1OcURQnAg.yml b/components/V2iGM38Tkgmf1OcURQnAg.yml new file mode 100644 index 0000000000..c01b14cc5b --- /dev/null +++ b/components/V2iGM38Tkgmf1OcURQnAg.yml @@ -0,0 +1,24 @@ +name: midas_predictor +display_name: MIDAS Predictor +component_type: null +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: BERT-based model trained on a semantic classes subset of MIDAS dataset +ram_usage: 100M +gpu_usage: null +group: annotators +connector: + protocol: http + timeout: 1.0 + url: http://midas-predictor:8121/respond +dialog_formatter: state_formatters.dp_formatters:midas_predictor_formatter +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- annotators.combined_classification +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: respond +service: annotators/midas_predictor/service_configs/midas-predictor +date_created: '2023-03-16T09:45:32' diff --git a/components/V2iGM_38Tkgmf1OcURQnAg.yml b/components/V2iGM_38Tkgmf1OcURQnAg.yml new file mode 100644 index 0000000000..c01b14cc5b --- /dev/null +++ b/components/V2iGM_38Tkgmf1OcURQnAg.yml @@ -0,0 +1,24 @@ +name: midas_predictor +display_name: MIDAS Predictor +component_type: null +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: BERT-based model trained on a semantic classes subset of MIDAS dataset +ram_usage: 100M +gpu_usage: null +group: annotators +connector: + protocol: http + timeout: 1.0 + url: http://midas-predictor:8121/respond +dialog_formatter: state_formatters.dp_formatters:midas_predictor_formatter +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- annotators.combined_classification +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: respond +service: annotators/midas_predictor/service_configs/midas-predictor +date_created: '2023-03-16T09:45:32' diff --git a/components/VFdfQBQqBODF.yml b/components/VFdfQBQqBODF.yml new file mode 100644 index 0000000000..cb8f1026d2 --- /dev/null +++ b/components/VFdfQBQqBODF.yml @@ -0,0 +1,24 @@ +name: prompt_selector +display_name: Prompt Selector +component_type: null +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: Annotator utilizing Sentence Ranker to rank prompts and selecting `N_SENTENCES_TO_RETURN` + most relevant prompts (based on questions provided in prompts) +ram_usage: 100M +gpu_usage: null +group: annotators +connector: + protocol: http + timeout: 2.0 + url: http://prompt-selector:8135/respond +dialog_formatter: state_formatters.dp_formatters:context_formatter_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: null +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: respond +service: annotators/prompt_selector/service_configs/deeppavlov_assistant +date_created: '2023-03-16T09:45:32' diff --git a/components/VFltJVPpaCZ7Mquk2N7qg.yml b/components/VFltJVPpaCZ7Mquk2N7qg.yml new file mode 100644 index 0000000000..38acc17c12 --- /dev/null +++ b/components/VFltJVPpaCZ7Mquk2N7qg.yml @@ -0,0 +1,25 @@ +name: dff_program_y_dangerous_skill +display_name: Program Y Dangerous Skill +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: Chatbot Program Y (https://github.com/keiffster/program-y) adapted for + Dream socialbot, containing responses to dangerous situations in a dialog +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://dff-program-y-dangerous-skill:8022/respond +dialog_formatter: state_formatters.dp_formatters:dff_program_y_dangerous_skill_formatter +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_program_y_dangerous_skill/service_configs/dff-program-y-dangerous-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/VVQgKT69i36HzEqbJKoWqQ.yml b/components/VVQgKT69i36HzEqbJKoWqQ.yml new file mode 100644 index 0000000000..354d11a8f8 --- /dev/null +++ b/components/VVQgKT69i36HzEqbJKoWqQ.yml @@ -0,0 +1,24 @@ +name: dff_art_skill +display_name: Art Skill +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: DFF-based skill to discuss art +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://dff-art-skill:8117/respond +dialog_formatter: state_formatters.dp_formatters:dff_art_skill_formatter +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_art_skill/service_configs/dff-art-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/Vi0jGZfqNIU8.yml b/components/Vi0jGZfqNIU8.yml new file mode 100644 index 0000000000..5738448908 --- /dev/null +++ b/components/Vi0jGZfqNIU8.yml @@ -0,0 +1,32 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you + say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/agent_services/service_configs/dream_persona_prompted +date_created: '2023-03-04T19:27:44' diff --git a/components/VkkvnRwjgB5GwrH98k5EKA.yml b/components/VkkvnRwjgB5GwrH98k5EKA.yml new file mode 100644 index 0000000000..e9151089c3 --- /dev/null +++ b/components/VkkvnRwjgB5GwrH98k5EKA.yml @@ -0,0 +1,25 @@ +name: relative_persona_extractor +display_name: Relative Persona Extractor +component_type: null +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: Annotator utilizing Sentence Ranker to rank persona sentences and selecting + `N_SENTENCES_TO_RETURN` the most relevant sentences +ram_usage: 100M +gpu_usage: null +group: annotators +connector: + protocol: http + timeout: 2.0 + url: http://relative-persona-extractor:8133/respond +dialog_formatter: state_formatters.dp_formatters:context_formatter_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- annotators.spelling_preprocessing +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: respond +service: annotators/relative_persona_extractor/service_configs/relative-persona-extractor +date_created: '2023-03-16T09:45:32' diff --git a/components/W6hdAGshQyMwdQukRXXuKA.yml b/components/W6hdAGshQyMwdQukRXXuKA.yml new file mode 100644 index 0000000000..7ed609569d --- /dev/null +++ b/components/W6hdAGshQyMwdQukRXXuKA.yml @@ -0,0 +1,27 @@ +name: dff_dream_persona_prompted_skill +display_name: Dream Persona Skill +component_type: Generative +model_type: NN-based +is_customizable: true +author: publisher@deeppavlov.ai +description: Prompt-based skill that utilizes GPT-3.5 to generate + responses based on the given Dream persona description. +ram_usage: 150M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 10.0 + url: http://dff-dream-persona-davinci3-prompted-skill:8137/respond +dialog_formatter: + name: state_formatters.dp_formatters:dff_prompted_skill_formatter + skill_name: dff_dream_persona_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-dream-persona-davinci3-prompted-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/WU-5Uy2COnuEIRp9P7vymA.yml b/components/WU-5Uy2COnuEIRp9P7vymA.yml new file mode 100644 index 0000000000..aee4f9f458 --- /dev/null +++ b/components/WU-5Uy2COnuEIRp9P7vymA.yml @@ -0,0 +1,24 @@ +name: spacy_nounphrases +display_name: Spacy Nounphrases +component_type: null +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: extracts nounphrases using Spacy and filters out generic ones +ram_usage: 180M +gpu_usage: null +group: candidate_annotators +connector: + protocol: http + timeout: 1.0 + url: http://spacy-nounphrases:8006/respond_batch +dialog_formatter: state_formatters.dp_formatters:hypotheses_list +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- skills +required_previous_services: null +state_manager_method: add_hypothesis_annotation_batch +tags: null +endpoint: respond_batch +service: annotators/spacy_nounphrases/service_configs/spacy-nounphrases +date_created: '2023-03-16T09:45:32' diff --git a/components/WU5Uy2COnuEIRp9P7vymA.yml b/components/WU5Uy2COnuEIRp9P7vymA.yml new file mode 100644 index 0000000000..aee4f9f458 --- /dev/null +++ b/components/WU5Uy2COnuEIRp9P7vymA.yml @@ -0,0 +1,24 @@ +name: spacy_nounphrases +display_name: Spacy Nounphrases +component_type: null +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: extracts nounphrases using Spacy and filters out generic ones +ram_usage: 180M +gpu_usage: null +group: candidate_annotators +connector: + protocol: http + timeout: 1.0 + url: http://spacy-nounphrases:8006/respond_batch +dialog_formatter: state_formatters.dp_formatters:hypotheses_list +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- skills +required_previous_services: null +state_manager_method: add_hypothesis_annotation_batch +tags: null +endpoint: respond_batch +service: annotators/spacy_nounphrases/service_configs/spacy-nounphrases +date_created: '2023-03-16T09:45:32' diff --git a/components/WXoRDgXAlx8x17Z_lwO9jA.yml b/components/WXoRDgXAlx8x17Z_lwO9jA.yml new file mode 100644 index 0000000000..6a783adf2b --- /dev/null +++ b/components/WXoRDgXAlx8x17Z_lwO9jA.yml @@ -0,0 +1,29 @@ +name: dff_fashion_stylist_prompted_skill +display_name: Fashion Stylist Skill +component_type: Generative +model_type: NN-based +is_customizable: true +author: publisher@deeppavlov.ai +description: This skill is part of the Fashion Stylist 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 +group: skills +connector: + protocol: http + timeout: 10.0 + url: http://dff-fashion-stylist-prompted-skill:8144/respond +dialog_formatter: + name: state_formatters.dp_formatters:dff_prompted_skill_formatter + skill_name: dff_fashion_stylist_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-fashion-stylist-prompted-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/WXoRDgXAlx8x17ZlwO9jA.yml b/components/WXoRDgXAlx8x17ZlwO9jA.yml new file mode 100644 index 0000000000..6a783adf2b --- /dev/null +++ b/components/WXoRDgXAlx8x17ZlwO9jA.yml @@ -0,0 +1,29 @@ +name: dff_fashion_stylist_prompted_skill +display_name: Fashion Stylist Skill +component_type: Generative +model_type: NN-based +is_customizable: true +author: publisher@deeppavlov.ai +description: This skill is part of the Fashion Stylist 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 +group: skills +connector: + protocol: http + timeout: 10.0 + url: http://dff-fashion-stylist-prompted-skill:8144/respond +dialog_formatter: + name: state_formatters.dp_formatters:dff_prompted_skill_formatter + skill_name: dff_fashion_stylist_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-fashion-stylist-prompted-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/WhchMmh929YzMMs3MoxCfw.yml b/components/WhchMmh929YzMMs3MoxCfw.yml new file mode 100644 index 0000000000..8e60553531 --- /dev/null +++ b/components/WhchMmh929YzMMs3MoxCfw.yml @@ -0,0 +1,24 @@ +name: rake_keywords +display_name: Rake Keywords +component_type: null +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: extracts keywords from utterances with the help of RAKE algorithm +ram_usage: 100M +gpu_usage: null +group: annotators +connector: + protocol: http + timeout: 1.0 + url: http://rake-keywords:8007/respond +dialog_formatter: state_formatters.dp_formatters:preproc_last_human_utt_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- annotators.spelling_preprocessing +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: respond +service: annotators/rake_keywords/service_configs/rake-keywords +date_created: '2023-03-16T09:45:32' diff --git a/components/Wps5FHxkwj3Z.yml b/components/Wps5FHxkwj3Z.yml new file mode 100644 index 0000000000..2ea7baff13 --- /dev/null +++ b/components/Wps5FHxkwj3Z.yml @@ -0,0 +1,24 @@ +name: prompt_selector +display_name: Prompt Selector +component_type: null +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: Annotator utilizing Sentence Ranker to rank prompts and selecting `N_SENTENCES_TO_RETURN` + most relevant prompts (based on questions provided in prompts) +ram_usage: 100M +gpu_usage: null +group: annotators +connector: + protocol: http + timeout: 2.0 + url: http://prompt-selector:8135/respond +dialog_formatter: state_formatters.dp_formatters:context_formatter_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: null +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: respond +service: annotators/prompt_selector/service_configs/dream_persona_prompted +date_created: '2023-03-16T09:45:32' diff --git a/components/WuybEuX9oXVKeg7ttDF-Sg.yml b/components/WuybEuX9oXVKeg7ttDF-Sg.yml new file mode 100644 index 0000000000..7de6e24602 --- /dev/null +++ b/components/WuybEuX9oXVKeg7ttDF-Sg.yml @@ -0,0 +1,25 @@ +name: combined_classification +display_name: Combined Classification +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: BERT-based model including topic classification, dialog acts classification, + sentiment, toxicity, emotion, factoid classification +ram_usage: 1.5G +gpu_usage: 3.5G +group: candidate_annotators +connector: + protocol: http + timeout: 2.0 + url: http://combined-classification:8087/batch_model +dialog_formatter: state_formatters.dp_formatters:hypothesis_histories_list +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- skills +required_previous_services: null +state_manager_method: add_hypothesis_annotation_batch +tags: null +endpoint: batch_model +service: annotators/combined_classification/service_configs/combined-classification +date_created: '2023-03-16T09:45:32' diff --git a/components/WuybEuX9oXVKeg7ttDFSg.yml b/components/WuybEuX9oXVKeg7ttDFSg.yml new file mode 100644 index 0000000000..7de6e24602 --- /dev/null +++ b/components/WuybEuX9oXVKeg7ttDFSg.yml @@ -0,0 +1,25 @@ +name: combined_classification +display_name: Combined Classification +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: BERT-based model including topic classification, dialog acts classification, + sentiment, toxicity, emotion, factoid classification +ram_usage: 1.5G +gpu_usage: 3.5G +group: candidate_annotators +connector: + protocol: http + timeout: 2.0 + url: http://combined-classification:8087/batch_model +dialog_formatter: state_formatters.dp_formatters:hypothesis_histories_list +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- skills +required_previous_services: null +state_manager_method: add_hypothesis_annotation_batch +tags: null +endpoint: batch_model +service: annotators/combined_classification/service_configs/combined-classification +date_created: '2023-03-16T09:45:32' diff --git a/components/WzIX0HJ0Xyo4V8ItwL--ew.yml b/components/WzIX0HJ0Xyo4V8ItwL--ew.yml new file mode 100644 index 0000000000..b979bc9efb --- /dev/null +++ b/components/WzIX0HJ0Xyo4V8ItwL--ew.yml @@ -0,0 +1,25 @@ +name: badlisted_words +display_name: Bad Words Detection +component_type: null +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: detects obscene Russian words from the badlist +ram_usage: 100M +gpu_usage: null +group: annotators +connector: + protocol: http + timeout: 1.0 + url: http://badlisted-words-ru:8018/badlisted_words +dialog_formatter: state_formatters.dp_formatters:preproc_and_tokenized_last_human_utt_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- annotators.spelling_preprocessing +- annotators.spacy_annotator +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: badlisted_words +service: annotators/BadlistedWordsDetector_ru/service_configs/badlisted-words-ru +date_created: '2023-03-16T09:45:32' diff --git a/components/WzIX0HJ0Xyo4V8ItwLew.yml b/components/WzIX0HJ0Xyo4V8ItwLew.yml new file mode 100644 index 0000000000..b979bc9efb --- /dev/null +++ b/components/WzIX0HJ0Xyo4V8ItwLew.yml @@ -0,0 +1,25 @@ +name: badlisted_words +display_name: Bad Words Detection +component_type: null +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: detects obscene Russian words from the badlist +ram_usage: 100M +gpu_usage: null +group: annotators +connector: + protocol: http + timeout: 1.0 + url: http://badlisted-words-ru:8018/badlisted_words +dialog_formatter: state_formatters.dp_formatters:preproc_and_tokenized_last_human_utt_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- annotators.spelling_preprocessing +- annotators.spacy_annotator +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: badlisted_words +service: annotators/BadlistedWordsDetector_ru/service_configs/badlisted-words-ru +date_created: '2023-03-16T09:45:32' diff --git a/components/X-WQGXXbppnHZVm1h-yDIw.yml b/components/X-WQGXXbppnHZVm1h-yDIw.yml new file mode 100644 index 0000000000..690a680ed2 --- /dev/null +++ b/components/X-WQGXXbppnHZVm1h-yDIw.yml @@ -0,0 +1,25 @@ +name: speech_function_classifier +display_name: Speech Function Classifier +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: a hierarchical algorithm based on several linear models and a rule-based + approach for the prediction of speech functions described by Eggins and Slade +ram_usage: 1.1G +gpu_usage: 4.5G +group: candidate_annotators +connector: + protocol: http + timeout: 5.0 + url: http://speech-function-classifier:8108/annotation +dialog_formatter: state_formatters.dp_formatters:speech_function_annotation +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- skills +required_previous_services: null +state_manager_method: add_hypothesis_annotation_batch +tags: null +endpoint: annotation +service: annotators/speech_function_classifier/service_configs/speech-function-classifier +date_created: '2023-03-16T09:45:32' diff --git a/components/XE0P0D9hrEvJAu4a8QRw.yml b/components/XE0P0D9hrEvJAu4a8QRw.yml new file mode 100644 index 0000000000..97b98ba622 --- /dev/null +++ b/components/XE0P0D9hrEvJAu4a8QRw.yml @@ -0,0 +1,24 @@ +name: toxic_classification +display_name: Toxic Classification +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: 'classifies toxicity: identity_attack, insult, obscene, severe_toxicity, + sexual_explicit, threat, toxicity' +ram_usage: 3G +gpu_usage: 2G +group: annotators +connector: + protocol: http + timeout: 2.0 + url: http://toxic-classification-multilingual:8013/respond +dialog_formatter: state_formatters.dp_formatters:preproc_last_human_utt_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: null +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: respond +service: annotators/MultilingualToxicClassification/service_configs/toxic-classification-multilingual +date_created: '2023-03-16T09:45:32' diff --git a/components/XE0P0D9hrEvJAu__4a8QRw.yml b/components/XE0P0D9hrEvJAu__4a8QRw.yml new file mode 100644 index 0000000000..97b98ba622 --- /dev/null +++ b/components/XE0P0D9hrEvJAu__4a8QRw.yml @@ -0,0 +1,24 @@ +name: toxic_classification +display_name: Toxic Classification +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: 'classifies toxicity: identity_attack, insult, obscene, severe_toxicity, + sexual_explicit, threat, toxicity' +ram_usage: 3G +gpu_usage: 2G +group: annotators +connector: + protocol: http + timeout: 2.0 + url: http://toxic-classification-multilingual:8013/respond +dialog_formatter: state_formatters.dp_formatters:preproc_last_human_utt_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: null +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: respond +service: annotators/MultilingualToxicClassification/service_configs/toxic-classification-multilingual +date_created: '2023-03-16T09:45:32' diff --git a/components/XGwmAHtAOu0NDqqG3Q-CJw.yml b/components/XGwmAHtAOu0NDqqG3Q-CJw.yml new file mode 100644 index 0000000000..f8a87a53ba --- /dev/null +++ b/components/XGwmAHtAOu0NDqqG3Q-CJw.yml @@ -0,0 +1,25 @@ +name: sentence_ranker +display_name: Sentence Ranker +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: ranking model given as `PRETRAINED_MODEL_NAME_OR_PATH` which for a pair + os sentences returns a float score of correspondence +ram_usage: 1.2G +gpu_usage: 2.1G +group: candidate_annotators +connector: + protocol: http + timeout: 1.0 + url: http://sentence-ranker:8128/respond +dialog_formatter: state_formatters.dp_formatters:sentence_ranker_formatter +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- skills +required_previous_services: null +state_manager_method: add_hypothesis_annotation_batch +tags: null +endpoint: respond +service: services/sentence_ranker/service_configs/sentence-ranker +date_created: '2023-03-16T09:45:32' diff --git a/components/XGwmAHtAOu0NDqqG3QCJw.yml b/components/XGwmAHtAOu0NDqqG3QCJw.yml new file mode 100644 index 0000000000..f8a87a53ba --- /dev/null +++ b/components/XGwmAHtAOu0NDqqG3QCJw.yml @@ -0,0 +1,25 @@ +name: sentence_ranker +display_name: Sentence Ranker +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: ranking model given as `PRETRAINED_MODEL_NAME_OR_PATH` which for a pair + os sentences returns a float score of correspondence +ram_usage: 1.2G +gpu_usage: 2.1G +group: candidate_annotators +connector: + protocol: http + timeout: 1.0 + url: http://sentence-ranker:8128/respond +dialog_formatter: state_formatters.dp_formatters:sentence_ranker_formatter +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- skills +required_previous_services: null +state_manager_method: add_hypothesis_annotation_batch +tags: null +endpoint: respond +service: services/sentence_ranker/service_configs/sentence-ranker +date_created: '2023-03-16T09:45:32' diff --git a/components/XWQGXXbppnHZVm1hyDIw.yml b/components/XWQGXXbppnHZVm1hyDIw.yml new file mode 100644 index 0000000000..690a680ed2 --- /dev/null +++ b/components/XWQGXXbppnHZVm1hyDIw.yml @@ -0,0 +1,25 @@ +name: speech_function_classifier +display_name: Speech Function Classifier +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: a hierarchical algorithm based on several linear models and a rule-based + approach for the prediction of speech functions described by Eggins and Slade +ram_usage: 1.1G +gpu_usage: 4.5G +group: candidate_annotators +connector: + protocol: http + timeout: 5.0 + url: http://speech-function-classifier:8108/annotation +dialog_formatter: state_formatters.dp_formatters:speech_function_annotation +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- skills +required_previous_services: null +state_manager_method: add_hypothesis_annotation_batch +tags: null +endpoint: annotation +service: annotators/speech_function_classifier/service_configs/speech-function-classifier +date_created: '2023-03-16T09:45:32' diff --git a/components/XZhbQ6HldVwk.yml b/components/XZhbQ6HldVwk.yml new file mode 100644 index 0000000000..01397773df --- /dev/null +++ b/components/XZhbQ6HldVwk.yml @@ -0,0 +1,32 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you + say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/agent_services/service_configs/deeppavlov_assistant +date_created: '2023-03-04T19:27:44' diff --git a/components/XgWzjx4qHTsfx1ijyDc_sw.yml b/components/XgWzjx4qHTsfx1ijyDc_sw.yml new file mode 100644 index 0000000000..abdcb90cb1 --- /dev/null +++ b/components/XgWzjx4qHTsfx1ijyDc_sw.yml @@ -0,0 +1,25 @@ +name: gpt2_generator +display_name: GPT-2 Multilingual +component_type: Script-based with NNs +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: GPT2-based generative model. For Multilingual distribution we propose + mgpt by Sberbank [from HugginFace](https://huggingface.co/sberbank-ai/mGPT) +ram_usage: 5G +gpu_usage: 6.5G +group: skills +connector: + protocol: http + timeout: 5.0 + url: http://gpt2-multilingual:8132/respond +dialog_formatter: state_formatters.dp_formatters:last_utt_and_history_dialog +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: services/gpt2_generator/service_configs/gpt2-multilingual +date_created: '2023-03-16T09:45:32' diff --git a/components/XgWzjx4qHTsfx1ijyDcsw.yml b/components/XgWzjx4qHTsfx1ijyDcsw.yml new file mode 100644 index 0000000000..abdcb90cb1 --- /dev/null +++ b/components/XgWzjx4qHTsfx1ijyDcsw.yml @@ -0,0 +1,25 @@ +name: gpt2_generator +display_name: GPT-2 Multilingual +component_type: Script-based with NNs +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: GPT2-based generative model. For Multilingual distribution we propose + mgpt by Sberbank [from HugginFace](https://huggingface.co/sberbank-ai/mGPT) +ram_usage: 5G +gpu_usage: 6.5G +group: skills +connector: + protocol: http + timeout: 5.0 + url: http://gpt2-multilingual:8132/respond +dialog_formatter: state_formatters.dp_formatters:last_utt_and_history_dialog +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: services/gpt2_generator/service_configs/gpt2-multilingual +date_created: '2023-03-16T09:45:32' diff --git a/components/XnOc0ygtsgoaEdDdzSJQ.yml b/components/XnOc0ygtsgoaEdDdzSJQ.yml new file mode 100644 index 0000000000..32e976156c --- /dev/null +++ b/components/XnOc0ygtsgoaEdDdzSJQ.yml @@ -0,0 +1,25 @@ +name: comet_dialog_skill +display_name: Comet Dialog skill +component_type: Script-based w/o NNs +model_type: ML-based +is_customizable: false +author: publisher@deeppavlov.ai +description: uses COMeT ConceptNet model to express an opinion, to ask a question + or give a comment about user's actions mentioned in the dialogue +ram_usage: 300M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://meta-script-skill:8054/meta_script +dialog_formatter: state_formatters.dp_formatters:utt_sentseg_punct_dialog +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: meta_script +service: skills/meta_script_skill/service_configs/meta-script-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/Xn_Oc0ygts_goaEdDdzSJQ.yml b/components/Xn_Oc0ygts_goaEdDdzSJQ.yml new file mode 100644 index 0000000000..32e976156c --- /dev/null +++ b/components/Xn_Oc0ygts_goaEdDdzSJQ.yml @@ -0,0 +1,25 @@ +name: comet_dialog_skill +display_name: Comet Dialog skill +component_type: Script-based w/o NNs +model_type: ML-based +is_customizable: false +author: publisher@deeppavlov.ai +description: uses COMeT ConceptNet model to express an opinion, to ask a question + or give a comment about user's actions mentioned in the dialogue +ram_usage: 300M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://meta-script-skill:8054/meta_script +dialog_formatter: state_formatters.dp_formatters:utt_sentseg_punct_dialog +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: meta_script +service: skills/meta_script_skill/service_configs/meta-script-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/YJzc7NwGrLmKp6gfZJh7X1.yml b/components/YJzc7NwGrLmKp6gfZJh7X1.yml new file mode 100644 index 0000000000..64bbdf0b0a --- /dev/null +++ b/components/YJzc7NwGrLmKp6gfZJh7X1.yml @@ -0,0 +1,25 @@ +name: response_selector +display_name: Response Selector +component_type: null +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: Algorithm that selects the final response among the given list of candidate + responses via the given ranking service +ram_usage: 100M +gpu_usage: null +group: response_selectors +connector: + protocol: http + timeout: 1.0 + url: http://ranking-based-response-selector:8002/respond +dialog_formatter: state_formatters.dp_formatters:cropped_dialog +response_formatter: state_formatters.dp_formatters:base_response_selector_formatter_service +previous_services: +- candidate_annotators +required_previous_services: null +state_manager_method: add_bot_utterance +tags: null +endpoint: respond +service: response_selectors/ranking_based_response_selector/service_configs/ranking-based-response-selector +date_created: '2023-03-16T09:45:32' diff --git a/components/YJzc7NwGrLmKp6gfZJh7Xg.yml b/components/YJzc7NwGrLmKp6gfZJh7Xg.yml new file mode 100644 index 0000000000..0b61833096 --- /dev/null +++ b/components/YJzc7NwGrLmKp6gfZJh7Xg.yml @@ -0,0 +1,25 @@ +name: response_selector +display_name: Response Selector +component_type: null +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: Algorithm that selects a final responses among the given list of candidate + responses +ram_usage: 100M +gpu_usage: null +group: response_selectors +connector: + protocol: http + timeout: 1.0 + url: http://no-restrictions-selector:8009/respond +dialog_formatter: state_formatters.dp_formatters:full_history_dialog +response_formatter: state_formatters.dp_formatters:base_response_selector_formatter_service +previous_services: +- candidate_annotators +required_previous_services: null +state_manager_method: add_bot_utterance +tags: null +endpoint: respond +service: response_selectors/convers_evaluation_based_selector/service_configs/no-restrictions-selector +date_created: '2023-03-16T09:45:32' diff --git a/components/Zs3hq7LIexcITcvlU39Cjw.yml b/components/Zs3hq7LIexcITcvlU39Cjw.yml new file mode 100644 index 0000000000..abb932b6c2 --- /dev/null +++ b/components/Zs3hq7LIexcITcvlU39Cjw.yml @@ -0,0 +1,26 @@ +name: seq2seq_persona_based +display_name: Seq2seq Persona-based +component_type: Script-based with NNs +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: generative service based on Transformers seq2seq model, the model was + pre-trained on the PersonaChat dataset to generate a response conditioned on a several + sentences of the socialbot's persona +ram_usage: 1.5G +gpu_usage: 1.5G +group: skills +connector: + protocol: http + timeout: 3.0 + url: http://seq2seq-persona-based:8140/respond +dialog_formatter: state_formatters.dp_formatters:persona_bot_formatter +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: services/seq2seq_persona_based/service_configs/seq2seq-persona-based +date_created: '2023-03-16T09:45:32' diff --git a/components/_QqTMvljZNeJGkLykBRUAw.yml b/components/_QqTMvljZNeJGkLykBRUAw.yml new file mode 100644 index 0000000000..6dd257b344 --- /dev/null +++ b/components/_QqTMvljZNeJGkLykBRUAw.yml @@ -0,0 +1,26 @@ +name: fact_random +display_name: Fact Random +component_type: null +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: returns random facts for the given entity (for entities from user utterance) +ram_usage: 100M +gpu_usage: null +group: annotators +connector: + protocol: http + timeout: 1.0 + url: http://fact-random:8119/respond +dialog_formatter: state_formatters.dp_formatters:fact_random_formatter_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- annotators.entity_linking +- annotators.spacy_nounphrases +- annotators.entity_detection +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: respond +service: annotators/fact_random/service_configs/fact-random +date_created: '2023-03-16T09:45:32' diff --git a/components/_n1HuqlV7EoNrWXcv8WaIQ.yml b/components/_n1HuqlV7EoNrWXcv8WaIQ.yml new file mode 100644 index 0000000000..067b6bee7b --- /dev/null +++ b/components/_n1HuqlV7EoNrWXcv8WaIQ.yml @@ -0,0 +1,26 @@ +name: convers_evaluator_annotator +display_name: Conversation Evaluator +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: is trained on the Alexa Prize data from the previous competitions and + predicts whether the candidate response is interesting, comprehensible, on-topic, + engaging, or erroneous +ram_usage: 1G +gpu_usage: 4.5G +group: candidate_annotators +connector: + protocol: http + timeout: 2.0 + url: http://convers-evaluator-annotator:8004/batch_model +dialog_formatter: state_formatters.dp_formatters:convers_evaluator_annotator_formatter +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- skills +required_previous_services: null +state_manager_method: add_hypothesis_annotation_batch +tags: null +endpoint: batch_model +service: annotators/ConversationEvaluator/service_configs/convers-evaluator-annotator +date_created: '2023-03-16T09:45:32' diff --git a/components/_qx0j5QHAzog0b-39nRnuA.yml b/components/_qx0j5QHAzog0b-39nRnuA.yml new file mode 100644 index 0000000000..08ec6f26a7 --- /dev/null +++ b/components/_qx0j5QHAzog0b-39nRnuA.yml @@ -0,0 +1,24 @@ +name: factoid_qa +display_name: Factoid QA +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: answers factoid questions +ram_usage: 170M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://factoid-qa:8071/respond +dialog_formatter: state_formatters.dp_formatters:utt_sentseg_punct_dialog +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/factoid_qa/service_configs/factoid-qa +date_created: '2023-03-16T09:45:32' diff --git a/components/bWzlHQXmA4f67-3B8_LmXQ.yml b/components/bWzlHQXmA4f67-3B8_LmXQ.yml new file mode 100644 index 0000000000..535efc4979 --- /dev/null +++ b/components/bWzlHQXmA4f67-3B8_LmXQ.yml @@ -0,0 +1,24 @@ +name: text_qa +display_name: Text QA +component_type: Retrieval +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: The service finds the answer of a factoid question in text. +ram_usage: 1.8G +gpu_usage: 2.8G +group: services +connector: + protocol: http + timeout: 2.0 + url: http://text-qa:8078/model +dialog_formatter: state_formatters.dp_formatters:utt_sentseg_punct_dialog +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: model +service: services/text_qa/service_configs/text-qa +date_created: '2023-03-16T09:45:32' diff --git a/components/bWzlHQXmA4f673B8LmXQ.yml b/components/bWzlHQXmA4f673B8LmXQ.yml new file mode 100644 index 0000000000..535efc4979 --- /dev/null +++ b/components/bWzlHQXmA4f673B8LmXQ.yml @@ -0,0 +1,24 @@ +name: text_qa +display_name: Text QA +component_type: Retrieval +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: The service finds the answer of a factoid question in text. +ram_usage: 1.8G +gpu_usage: 2.8G +group: services +connector: + protocol: http + timeout: 2.0 + url: http://text-qa:8078/model +dialog_formatter: state_formatters.dp_formatters:utt_sentseg_punct_dialog +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: model +service: services/text_qa/service_configs/text-qa +date_created: '2023-03-16T09:45:32' diff --git a/components/ci8xMlIVkTwcjOOQ5ztZ2g.yml b/components/ci8xMlIVkTwcjOOQ5ztZ2g.yml new file mode 100644 index 0000000000..a1cf95bd1c --- /dev/null +++ b/components/ci8xMlIVkTwcjOOQ5ztZ2g.yml @@ -0,0 +1,23 @@ +name: sentiment_classification +display_name: Sentiment Classification +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: classifies sentiment to positive, negative and neutral classes +ram_usage: 2G +gpu_usage: 2G +group: annotators +connector: + protocol: http + timeout: 2.0 + url: http://sentiment-classification-multilingual:8024/respond +dialog_formatter: state_formatters.dp_formatters:preproc_last_human_utt_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: null +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: respond +service: annotators/MultilingualSentimentClassification/service_configs/sentiment-classification-multilingual +date_created: '2023-03-16T09:45:32' diff --git a/components/ciuEzuXB-NAXpidbSBXTyw.yml b/components/ciuEzuXB-NAXpidbSBXTyw.yml new file mode 100644 index 0000000000..90eedd6f55 --- /dev/null +++ b/components/ciuEzuXB-NAXpidbSBXTyw.yml @@ -0,0 +1,25 @@ +name: knowledge_grounding_skill +display_name: Knowledge Grounding Skill +component_type: Script-based with NNs +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: generates a response based on the dialogue history and provided knowledge + related to the current conversation topic +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://knowledge-grounding-skill:8085/respond +dialog_formatter: state_formatters.dp_formatters:utt_sentseg_punct_dialog +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/knowledge_grounding_skill/service_configs/knowledge-grounding-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/ciuEzuXBNAXpidbSBXTyw.yml b/components/ciuEzuXBNAXpidbSBXTyw.yml new file mode 100644 index 0000000000..90eedd6f55 --- /dev/null +++ b/components/ciuEzuXBNAXpidbSBXTyw.yml @@ -0,0 +1,25 @@ +name: knowledge_grounding_skill +display_name: Knowledge Grounding Skill +component_type: Script-based with NNs +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: generates a response based on the dialogue history and provided knowledge + related to the current conversation topic +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://knowledge-grounding-skill:8085/respond +dialog_formatter: state_formatters.dp_formatters:utt_sentseg_punct_dialog +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/knowledge_grounding_skill/service_configs/knowledge-grounding-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/ckUclxqUpl-yzwmnYyixEw.yml b/components/ckUclxqUpl-yzwmnYyixEw.yml new file mode 100644 index 0000000000..e666b23978 --- /dev/null +++ b/components/ckUclxqUpl-yzwmnYyixEw.yml @@ -0,0 +1,25 @@ +name: dff_program_y_skill +display_name: Program Y Skill +component_type: Script-based w/o NNs +model_type: ML-based +is_customizable: false +author: publisher@deeppavlov.ai +description: Chatbot Program Y (https://github.com/keiffster/program-y) adapted for + Dream socialbot +ram_usage: 800M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://dff-program-y-skill:8008/respond +dialog_formatter: state_formatters.dp_formatters:dff_program_y_skill_formatter +response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service +previous_services: +- annotators +required_previous_services: null +state_manager_method: add_hypothesis +tags: null +endpoint: respond +service: skills/dff_program_y_skill/service_configs/dff-program-y-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/ckUclxqUplyzwmnYyixEw.yml b/components/ckUclxqUplyzwmnYyixEw.yml new file mode 100644 index 0000000000..e666b23978 --- /dev/null +++ b/components/ckUclxqUplyzwmnYyixEw.yml @@ -0,0 +1,25 @@ +name: dff_program_y_skill +display_name: Program Y Skill +component_type: Script-based w/o NNs +model_type: ML-based +is_customizable: false +author: publisher@deeppavlov.ai +description: Chatbot Program Y (https://github.com/keiffster/program-y) adapted for + Dream socialbot +ram_usage: 800M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://dff-program-y-skill:8008/respond +dialog_formatter: state_formatters.dp_formatters:dff_program_y_skill_formatter +response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service +previous_services: +- annotators +required_previous_services: null +state_manager_method: add_hypothesis +tags: null +endpoint: respond +service: skills/dff_program_y_skill/service_configs/dff-program-y-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/cyCwlcQF9m-AtDNcxOS6CA.yml b/components/cyCwlcQF9m-AtDNcxOS6CA.yml new file mode 100644 index 0000000000..897081d21c --- /dev/null +++ b/components/cyCwlcQF9m-AtDNcxOS6CA.yml @@ -0,0 +1,25 @@ +name: dff_friendship_skill +display_name: Friendship Skill +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: DFF-based skill to greet the user in the beginning of the dialog, and + forward the user to some scripted skill +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://dff-friendship-ru-skill:8086/respond +dialog_formatter: state_formatters.dp_formatters:dff_friendship_skill_formatter +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_friendship_skill/service_configs/dff-friendship-ru-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/cyCwlcQF9mAtDNcxOS6CA.yml b/components/cyCwlcQF9mAtDNcxOS6CA.yml new file mode 100644 index 0000000000..897081d21c --- /dev/null +++ b/components/cyCwlcQF9mAtDNcxOS6CA.yml @@ -0,0 +1,25 @@ +name: dff_friendship_skill +display_name: Friendship Skill +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: DFF-based skill to greet the user in the beginning of the dialog, and + forward the user to some scripted skill +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://dff-friendship-ru-skill:8086/respond +dialog_formatter: state_formatters.dp_formatters:dff_friendship_skill_formatter +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_friendship_skill/service_configs/dff-friendship-ru-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/dBe4eyhkP0Dj.yml b/components/dBe4eyhkP0Dj.yml new file mode 100644 index 0000000000..476596b931 --- /dev/null +++ b/components/dBe4eyhkP0Dj.yml @@ -0,0 +1,32 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you + say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/agent_services/service_configs/dream_multimodal +date_created: '2023-03-04T19:27:44' diff --git a/components/dswI5sRZbFPmgcNQKH5iPg.yml b/components/dswI5sRZbFPmgcNQKH5iPg.yml new file mode 100644 index 0000000000..07ab60f76f --- /dev/null +++ b/components/dswI5sRZbFPmgcNQKH5iPg.yml @@ -0,0 +1,24 @@ +name: spacy_nounphrases +display_name: Spacy Nounphrases +component_type: null +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: extracts nounphrases using Spacy and filters out generic ones +ram_usage: 180M +gpu_usage: null +group: annotators +connector: + protocol: http + timeout: 1.0 + url: http://spacy-nounphrases:8006/respond +dialog_formatter: state_formatters.dp_formatters:preproc_last_human_utt_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- annotators.spelling_preprocessing +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: respond +service: annotators/spacy_nounphrases/service_configs/spacy-nounphrases +date_created: '2023-03-16T09:45:32' diff --git a/components/eAupU7hg2SeSkZV1OpaLkw.yml b/components/eAupU7hg2SeSkZV1OpaLkw.yml new file mode 100644 index 0000000000..1d3f7f19e1 --- /dev/null +++ b/components/eAupU7hg2SeSkZV1OpaLkw.yml @@ -0,0 +1,24 @@ +name: midas_classification +display_name: MIDAS Classification +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: BERT-based model trained on a semantic classes subset of MIDAS dataset +ram_usage: 1.1G +gpu_usage: 4.5G +group: candidate_annotators +connector: + protocol: http + timeout: 1.0 + url: http://midas-classification:8090/batch_model +dialog_formatter: state_formatters.dp_formatters:hypotheses_list_last_uttr +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- skills +required_previous_services: null +state_manager_method: add_hypothesis_annotation_batch +tags: null +endpoint: batch_model +service: annotators/midas_classification/service_configs/midas-classification +date_created: '2023-03-16T09:45:32' diff --git a/components/eOCFQOgp1Un10NyBC8MPow.yml b/components/eOCFQOgp1Un10NyBC8MPow.yml new file mode 100644 index 0000000000..361a0b6363 --- /dev/null +++ b/components/eOCFQOgp1Un10NyBC8MPow.yml @@ -0,0 +1,26 @@ +name: comet_conceptnet +display_name: COMeT ConceptNet +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: Commonsense prediction models COMeT ConceptNet +ram_usage: 2G +gpu_usage: 1.1G +group: annotators +connector: + protocol: http + timeout: 2.0 + url: http://comet-conceptnet:8065/comet_annotator +dialog_formatter: state_formatters.dp_formatters:last_human_utt_nounphrases +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- annotators.spelling_preprocessing +- annotators.entity_detection +- annotators.spacy_nounphrases +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: comet_annotator +service: annotators/COMeT/service_configs/comet-conceptnet +date_created: '2023-03-16T09:45:32' diff --git a/components/f2hECzXDTTfljm5mweoMFA.yml b/components/f2hECzXDTTfljm5mweoMFA.yml new file mode 100644 index 0000000000..ff12edb6a0 --- /dev/null +++ b/components/f2hECzXDTTfljm5mweoMFA.yml @@ -0,0 +1,23 @@ +name: image_captioning +display_name: Image Captioning +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: creates text representation of a received image +ram_usage: 4G +gpu_usage: 5.4G +group: annotators +connector: + protocol: http + timeout: 3.0 + url: http://image-captioning:8123/respond +dialog_formatter: state_formatters.dp_formatters:image_captioning_formatter +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: null +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: respond +service: services/image_captioning/service_configs/image-captioning +date_created: '2023-03-16T09:45:32' diff --git a/components/fOud1KbT6qhY.yml b/components/fOud1KbT6qhY.yml new file mode 100644 index 0000000000..fbbd7557c2 --- /dev/null +++ b/components/fOud1KbT6qhY.yml @@ -0,0 +1,24 @@ +name: prompt_selector +display_name: Prompt Selector +component_type: null +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: Annotator utilizing Sentence Ranker to rank prompts and selecting `N_SENTENCES_TO_RETURN` + most relevant prompts (based on questions provided in prompts) +ram_usage: 100M +gpu_usage: null +group: annotators +connector: + protocol: http + timeout: 2.0 + url: http://prompt-selector:8135/respond +dialog_formatter: state_formatters.dp_formatters:context_formatter_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: null +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: respond +service: annotators/prompt_selector/service_configs/ai_faq_assistant +date_created: '2023-03-16T09:45:32' diff --git a/components/feDgqHKLibnMNM3HSbnmA.yml b/components/feDgqHKLibnMNM3HSbnmA.yml new file mode 100644 index 0000000000..bebdbc4299 --- /dev/null +++ b/components/feDgqHKLibnMNM3HSbnmA.yml @@ -0,0 +1,24 @@ +name: wiki_parser +display_name: Wiki Parser +component_type: null +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: extracts Wikidata triplets for the entities detected with Entity Linking +ram_usage: 100M +gpu_usage: null +group: annotators +connector: + protocol: http + timeout: 1.0 + url: http://wiki-parser-ru:8077/model +dialog_formatter: state_formatters.dp_formatters:wp_formatter_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: null +required_previous_services: +- annotators.entity_linking +state_manager_method: add_annotation +tags: null +endpoint: model +service: annotators/wiki_parser/service_configs/wiki-parser-ru +date_created: '2023-03-16T09:45:32' diff --git a/components/feDgq_HKLibnMNM3HSbnmA.yml b/components/feDgq_HKLibnMNM3HSbnmA.yml new file mode 100644 index 0000000000..bebdbc4299 --- /dev/null +++ b/components/feDgq_HKLibnMNM3HSbnmA.yml @@ -0,0 +1,24 @@ +name: wiki_parser +display_name: Wiki Parser +component_type: null +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: extracts Wikidata triplets for the entities detected with Entity Linking +ram_usage: 100M +gpu_usage: null +group: annotators +connector: + protocol: http + timeout: 1.0 + url: http://wiki-parser-ru:8077/model +dialog_formatter: state_formatters.dp_formatters:wp_formatter_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: null +required_previous_services: +- annotators.entity_linking +state_manager_method: add_annotation +tags: null +endpoint: model +service: annotators/wiki_parser/service_configs/wiki-parser-ru +date_created: '2023-03-16T09:45:32' diff --git a/components/g4GQdGsud4N4VUB8Ni_deA.yml b/components/g4GQdGsud4N4VUB8Ni_deA.yml new file mode 100644 index 0000000000..60d35ed30a --- /dev/null +++ b/components/g4GQdGsud4N4VUB8Ni_deA.yml @@ -0,0 +1,24 @@ +name: user_persona_extractor +display_name: User Persona Extractor +component_type: null +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: determines which age category the user belongs to based on some key words +ram_usage: 100M +gpu_usage: null +group: annotators +connector: + protocol: http + timeout: 1.0 + url: http://user-persona-extractor:8114/respond +dialog_formatter: state_formatters.dp_formatters:utt_non_punct_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- annotators.spelling_preprocessing +required_previous_services: null +state_manager_method: update_attributes +tags: null +endpoint: respond +service: annotators/user_persona_extractor/service_configs/user-persona-extractor +date_created: '2023-03-16T09:45:32' diff --git a/components/g4GQdGsud4N4VUB8NideA.yml b/components/g4GQdGsud4N4VUB8NideA.yml new file mode 100644 index 0000000000..60d35ed30a --- /dev/null +++ b/components/g4GQdGsud4N4VUB8NideA.yml @@ -0,0 +1,24 @@ +name: user_persona_extractor +display_name: User Persona Extractor +component_type: null +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: determines which age category the user belongs to based on some key words +ram_usage: 100M +gpu_usage: null +group: annotators +connector: + protocol: http + timeout: 1.0 + url: http://user-persona-extractor:8114/respond +dialog_formatter: state_formatters.dp_formatters:utt_non_punct_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- annotators.spelling_preprocessing +required_previous_services: null +state_manager_method: update_attributes +tags: null +endpoint: respond +service: annotators/user_persona_extractor/service_configs/user-persona-extractor +date_created: '2023-03-16T09:45:32' diff --git a/components/gM4fEjvVqLlSRRRkQfds2g.yml b/components/gM4fEjvVqLlSRRRkQfds2g.yml new file mode 100644 index 0000000000..cd43260228 --- /dev/null +++ b/components/gM4fEjvVqLlSRRRkQfds2g.yml @@ -0,0 +1,24 @@ +name: sentseg +display_name: Sentence Segmentation +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: allows us to handle long and complex user's utterances by splitting them + into sentences and recovering punctuation +ram_usage: 1G +gpu_usage: null +group: annotators +connector: + protocol: http + timeout: 1.5 + url: http://sentseg:8011/sentseg +dialog_formatter: state_formatters.dp_formatters:preproc_last_human_utt_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: sentseg +service: annotators/SentSeg/service_configs/sentseg +date_created: '2023-03-16T09:45:32' diff --git a/components/gOKV41iXh0Hu.yml b/components/gOKV41iXh0Hu.yml new file mode 100644 index 0000000000..dc9c3c8ed3 --- /dev/null +++ b/components/gOKV41iXh0Hu.yml @@ -0,0 +1,32 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you + say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/agent_services/service_configs/life_coaching_assistant +date_created: '2023-03-04T19:27:44' diff --git a/components/gySZ51dyqYi9TOFr6zY5kA.yml b/components/gySZ51dyqYi9TOFr6zY5kA.yml new file mode 100644 index 0000000000..c473d089ad --- /dev/null +++ b/components/gySZ51dyqYi9TOFr6zY5kA.yml @@ -0,0 +1,24 @@ +name: badlisted_words +display_name: Bad Words Detection +component_type: null +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: detects words and phrases from the badlist +ram_usage: 150M +gpu_usage: null +group: candidate_annotators +connector: + protocol: http + timeout: 1.0 + url: http://badlisted-words:8018/badlisted_words_batch +dialog_formatter: state_formatters.dp_formatters:hypotheses_list +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- skills +required_previous_services: null +state_manager_method: add_hypothesis_annotation_batch +tags: null +endpoint: badlisted_words_batch +service: annotators/BadlistedWordsDetector/service_configs/badlisted-words +date_created: '2023-03-16T09:45:32' diff --git a/components/hE12LfxAkX3K9gU0nU4yE2.yml b/components/hE12LfxAkX3K9gU0nU4yE2.yml new file mode 100644 index 0000000000..b35108202e --- /dev/null +++ b/components/hE12LfxAkX3K9gU0nU4yE2.yml @@ -0,0 +1,25 @@ +name: response_selector +display_name: Response Selector +component_type: null +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: Algorithm that selects the final response among the given list of candidate + responses via the given ranking service +ram_usage: 100M +gpu_usage: null +group: response_selectors +connector: + protocol: http + timeout: 1.0 + url: http://ranking-based-response-selector-ru:8002/respond +dialog_formatter: state_formatters.dp_formatters:cropped_dialog +response_formatter: state_formatters.dp_formatters:base_response_selector_formatter_service +previous_services: +- candidate_annotators +required_previous_services: null +state_manager_method: add_bot_utterance +tags: null +endpoint: respond +service: response_selectors/ranking_based_response_selector/service_configs/ranking-based-response-selector-ru +date_created: '2023-03-16T09:45:32' diff --git a/components/hScAhxQyky9hbpHFZ2bFPg.yml b/components/hScAhxQyky9hbpHFZ2bFPg.yml new file mode 100644 index 0000000000..53575e7881 --- /dev/null +++ b/components/hScAhxQyky9hbpHFZ2bFPg.yml @@ -0,0 +1,23 @@ +name: harvesters_maintenance_skill +display_name: Harvesters Maintenance Skill +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: Harvesters maintenance skill +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: http + url: http://harvesters-maintenance-skill:3662/respond +dialog_formatter: state_formatters.dp_formatters:full_dialog +response_formatter: state_formatters.dp_formatters:base_skill_formatter +previous_services: +- annotators +required_previous_services: null +state_manager_method: add_hypothesis +tags: null +endpoint: respond +service: skills/harvesters_maintenance_skill_deepy/service_configs/harvesters-maintenance-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/h_c1VGhVP-yuOIDiMYUp0Q.yml b/components/h_c1VGhVP-yuOIDiMYUp0Q.yml new file mode 100644 index 0000000000..3dd98c6175 --- /dev/null +++ b/components/h_c1VGhVP-yuOIDiMYUp0Q.yml @@ -0,0 +1,24 @@ +name: eliza +display_name: Eliza +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: Chatbot (https://github.com/wadetb/eliza) +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://eliza:8047/respond +dialog_formatter: state_formatters.dp_formatters:eliza_formatter_dialog +response_formatter: state_formatters.dp_formatters:base_formatter_service +previous_services: +- skill_selectors +required_previous_services: null +state_manager_method: add_hypothesis +tags: null +endpoint: respond +service: skills/eliza/service_configs/eliza +date_created: '2023-03-16T09:45:32' diff --git a/components/haBUc1rsCitGmBzndrKl5w.yml b/components/haBUc1rsCitGmBzndrKl5w.yml new file mode 100644 index 0000000000..b20668b533 --- /dev/null +++ b/components/haBUc1rsCitGmBzndrKl5w.yml @@ -0,0 +1,25 @@ +name: dff_friendship_skill +display_name: Friendship Skill +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: DFF-based skill to greet the user in the beginning of the dialog, and + forward the user to some scripted skill +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://dff-friendship-skill:8086/respond +dialog_formatter: state_formatters.dp_formatters:dff_friendship_skill_formatter +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_friendship_skill/service_configs/dff-friendship-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/hc1VGhVPyuOIDiMYUp0Q.yml b/components/hc1VGhVPyuOIDiMYUp0Q.yml new file mode 100644 index 0000000000..3dd98c6175 --- /dev/null +++ b/components/hc1VGhVPyuOIDiMYUp0Q.yml @@ -0,0 +1,24 @@ +name: eliza +display_name: Eliza +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: Chatbot (https://github.com/wadetb/eliza) +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://eliza:8047/respond +dialog_formatter: state_formatters.dp_formatters:eliza_formatter_dialog +response_formatter: state_formatters.dp_formatters:base_formatter_service +previous_services: +- skill_selectors +required_previous_services: null +state_manager_method: add_hypothesis +tags: null +endpoint: respond +service: skills/eliza/service_configs/eliza +date_created: '2023-03-16T09:45:32' diff --git a/components/hiGZZon6OCuUIRGmd0tfqQ.yml b/components/hiGZZon6OCuUIRGmd0tfqQ.yml new file mode 100644 index 0000000000..cc78fd8b75 --- /dev/null +++ b/components/hiGZZon6OCuUIRGmd0tfqQ.yml @@ -0,0 +1,25 @@ +name: comet_dialog_skill +display_name: Comet Dialog skill +component_type: Script-based w/o NNs +model_type: ML-based +is_customizable: false +author: publisher@deeppavlov.ai +description: uses COMeT ConceptNet model to express an opinion, to ask a question + or give a comment about user's actions mentioned in the dialogue +ram_usage: 300M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://meta-script-skill:8054/comet_dialog +dialog_formatter: state_formatters.dp_formatters:utt_sentrewrite_modified_last_dialog +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: comet_dialog +service: skills/meta_script_skill/service_configs/meta-script-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/iBC0L15gOFWymHhZEAybUQ.yml b/components/iBC0L15gOFWymHhZEAybUQ.yml new file mode 100644 index 0000000000..40e389da36 --- /dev/null +++ b/components/iBC0L15gOFWymHhZEAybUQ.yml @@ -0,0 +1,26 @@ +name: ner +display_name: NER +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: extracts person names, names of locations, organizations from uncased + text +ram_usage: 2.2G +gpu_usage: 5G +group: response_annotators +connector: + protocol: http + timeout: 1.5 + url: http://ner:8021/ner +dialog_formatter: state_formatters.dp_formatters:ner_formatter_last_bot_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- response_annotator_selectors +- response_annotators.sentseg +required_previous_services: null +state_manager_method: add_annotation_prev_bot_utt +tags: null +endpoint: ner +service: annotators/NER_deeppavlov/service_configs/ner +date_created: '2023-03-16T09:45:32' diff --git a/components/iGAodokVchB6IJ7Jlggdkw.yml b/components/iGAodokVchB6IJ7Jlggdkw.yml new file mode 100644 index 0000000000..0bf9c1b9ea --- /dev/null +++ b/components/iGAodokVchB6IJ7Jlggdkw.yml @@ -0,0 +1,27 @@ +name: dff_dream_persona_ru_prompted_skill +display_name: Russian Dream Persona Skill +component_type: Generative +model_type: NN-based +is_customizable: true +author: publisher@deeppavlov.ai +description: Prompt-based skill that utilizes Russian LLaMA to generate + responses based on the given Dream persona description. +ram_usage: 150M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 10.0 + url: http://dff-dream-persona-llama7bru-prompted-skill:8151/respond +dialog_formatter: + name: state_formatters.dp_formatters:dff_prompted_skill_formatter + skill_name: dff_dream_persona_ru_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-dream-persona-llama7bru-prompted-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/iNIe7QE1KUf0.yml b/components/iNIe7QE1KUf0.yml new file mode 100644 index 0000000000..95f8200d0d --- /dev/null +++ b/components/iNIe7QE1KUf0.yml @@ -0,0 +1,32 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you + say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/agent_services/service_configs/dream_sfc +date_created: '2023-03-04T19:27:44' diff --git a/components/iOsQxWRQCKwOap49G0TAag.yml b/components/iOsQxWRQCKwOap49G0TAag.yml new file mode 100644 index 0000000000..535e9e53d0 --- /dev/null +++ b/components/iOsQxWRQCKwOap49G0TAag.yml @@ -0,0 +1,25 @@ +name: midas_classification +display_name: MIDAS Classification +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: BERT-based model trained on a semantic classes subset of MIDAS dataset +ram_usage: 1.1G +gpu_usage: 4.5G +group: annotators +connector: + protocol: http + timeout: 1.0 + url: http://midas-classification:8090/model +dialog_formatter: state_formatters.dp_formatters:utt_sentseg_punct_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- annotators.spelling_preprocessing +- annotators.sentseg +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: model +service: annotators/midas_classification/service_configs/midas-classification +date_created: '2023-03-16T09:45:32' diff --git a/components/iZluV29Xg8AwaHPGijaeLg.yml b/components/iZluV29Xg8AwaHPGijaeLg.yml new file mode 100644 index 0000000000..b69d6cac4c --- /dev/null +++ b/components/iZluV29Xg8AwaHPGijaeLg.yml @@ -0,0 +1,28 @@ +name: topic_recommendation +display_name: Topic Recommendation +component_type: null +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: offers a topic for further conversation using the information about the + discussed topics and user's preferences. Current version is based on Reddit personalities + (see Dream Report for Alexa Prize 4). +ram_usage: 100M +gpu_usage: null +group: annotators +connector: + protocol: http + timeout: 2.0 + url: http://topic-recommendation:8113/respond +dialog_formatter: state_formatters.dp_formatters:topic_recommendation_formatter +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- annotators.spelling_preprocessing +- annotators.sentseg +- annotators.combined_classification +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: respond +service: annotators/topic_recommendation/service_configs/topic-recommendation +date_created: '2023-03-16T09:45:32' diff --git a/components/jHBkaLTk5Skn.yml b/components/jHBkaLTk5Skn.yml new file mode 100644 index 0000000000..a437d31911 --- /dev/null +++ b/components/jHBkaLTk5Skn.yml @@ -0,0 +1,32 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you + say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/agent_services/service_configs/multiskill_ai_assistant +date_created: '2023-03-04T19:27:44' diff --git a/components/jduT06J4H7FsxAfQRFcjIQ.yml b/components/jduT06J4H7FsxAfQRFcjIQ.yml new file mode 100644 index 0000000000..9e8313f3e6 --- /dev/null +++ b/components/jduT06J4H7FsxAfQRFcjIQ.yml @@ -0,0 +1,24 @@ +name: personal_info_skill +display_name: Personal Info Skill +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: queries and stores user's name, birthplace, and location +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://personal-info-skill:8030/respond +dialog_formatter: state_formatters.dp_formatters:utt_sentseg_punct_dialog +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/personal_info_skill/service_configs/personal-info-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/kDMKXKzObbUL.yml b/components/kDMKXKzObbUL.yml new file mode 100644 index 0000000000..a6a4ff81c8 --- /dev/null +++ b/components/kDMKXKzObbUL.yml @@ -0,0 +1,32 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you + say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/agent_services/service_configs/fairytale_assistant +date_created: '2023-03-04T19:27:44' diff --git a/components/kHDpWaBPCxD4.yml b/components/kHDpWaBPCxD4.yml new file mode 100644 index 0000000000..88c771593b --- /dev/null +++ b/components/kHDpWaBPCxD4.yml @@ -0,0 +1,32 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you + say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/agent_services/service_configs/nutrition_assistant +date_created: '2023-03-04T19:27:44' diff --git a/components/kQnGkibrJH20J8sYTbF5rg.yml b/components/kQnGkibrJH20J8sYTbF5rg.yml new file mode 100644 index 0000000000..1bf338202d --- /dev/null +++ b/components/kQnGkibrJH20J8sYTbF5rg.yml @@ -0,0 +1,25 @@ +name: news_api_skill +display_name: News API Skill +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: presents the top-rated latest news about entities or topics using the + GNews API +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://news-api-skill:8066/respond +dialog_formatter: state_formatters.dp_formatters:utt_sentrewrite_modified_last_dialog +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/news_api_skill/service_configs/news-api-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/ly2AVNtIcJpTWz1qJ1mvKQ.yml b/components/ly2AVNtIcJpTWz1qJ1mvKQ.yml new file mode 100644 index 0000000000..dfdb8ef3a9 --- /dev/null +++ b/components/ly2AVNtIcJpTWz1qJ1mvKQ.yml @@ -0,0 +1,25 @@ +name: response_selector +display_name: Response Selector +component_type: null +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: Algorithm that selects a final responses among the given list of candidate + responses +ram_usage: 100M +gpu_usage: null +group: response_selectors +connector: + protocol: http + timeout: 1.0 + url: http://convers-evaluation-selector:8009/respond +dialog_formatter: state_formatters.dp_formatters:full_history_dialog +response_formatter: state_formatters.dp_formatters:base_response_selector_formatter_service +previous_services: +- candidate_annotators +required_previous_services: null +state_manager_method: add_bot_utterance +tags: null +endpoint: respond +service: response_selectors/convers_evaluation_based_selector/service_configs/convers-evaluation-selector +date_created: '2023-03-16T09:45:32' diff --git a/components/m30AHfu4V-gC51bUU6Jo7A.yml b/components/m30AHfu4V-gC51bUU6Jo7A.yml new file mode 100644 index 0000000000..46143e7d4c --- /dev/null +++ b/components/m30AHfu4V-gC51bUU6Jo7A.yml @@ -0,0 +1,25 @@ +name: entity_linking +display_name: Entity Linking +component_type: null +model_type: ML-based +is_customizable: false +author: publisher@deeppavlov.ai +description: finds Wikidata entity ids for the entities detected with Entity Detection +ram_usage: 400M +gpu_usage: null +group: annotators +connector: + protocol: http + timeout: 1.0 + url: http://entity-linking-ru:8075/model +dialog_formatter: state_formatters.dp_formatters:el_formatter_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- annotators.ner +- annotators.entity_detection +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: model +service: annotators/entity_linking_rus/service_configs/entity-linking-ru +date_created: '2023-03-16T09:45:32' diff --git a/components/m30AHfu4VgC51bUU6Jo7A.yml b/components/m30AHfu4VgC51bUU6Jo7A.yml new file mode 100644 index 0000000000..46143e7d4c --- /dev/null +++ b/components/m30AHfu4VgC51bUU6Jo7A.yml @@ -0,0 +1,25 @@ +name: entity_linking +display_name: Entity Linking +component_type: null +model_type: ML-based +is_customizable: false +author: publisher@deeppavlov.ai +description: finds Wikidata entity ids for the entities detected with Entity Detection +ram_usage: 400M +gpu_usage: null +group: annotators +connector: + protocol: http + timeout: 1.0 + url: http://entity-linking-ru:8075/model +dialog_formatter: state_formatters.dp_formatters:el_formatter_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- annotators.ner +- annotators.entity_detection +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: model +service: annotators/entity_linking_rus/service_configs/entity-linking-ru +date_created: '2023-03-16T09:45:32' diff --git a/components/mJFsrLmq1C2Q7bw7W6QnbT.yml b/components/mJFsrLmq1C2Q7bw7W6QnbT.yml new file mode 100644 index 0000000000..a03a18024a --- /dev/null +++ b/components/mJFsrLmq1C2Q7bw7W6QnbT.yml @@ -0,0 +1,27 @@ +name: dff_casual_email_prompted_skill +display_name: Causal Emails Skill +component_type: Generative +model_type: NN-based +is_customizable: true +author: publisher@deeppavlov.ai +description: Prompt-based skill that utilizes GPT-3.5 to generate + email of casual style based on the given by user email draft. +ram_usage: 150M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 10.0 + url: http://dff-casual-email-prompted-skill:8154/respond +dialog_formatter: + name: state_formatters.dp_formatters:dff_prompted_skill_formatter + skill_name: dff_casual_email_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-casual-email-prompted-skill +date_created: '2023-04-26T09:45:32' diff --git a/components/mUjJLckDDozfREkbYOjk5g.yml b/components/mUjJLckDDozfREkbYOjk5g.yml new file mode 100644 index 0000000000..16a39b9dd4 --- /dev/null +++ b/components/mUjJLckDDozfREkbYOjk5g.yml @@ -0,0 +1,25 @@ +name: dff_grounding_skill +display_name: Grounding Skill +component_type: Script-based with NNs +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: DFF-based skill to answer what is the topic of the conversation, to generate + acknowledgement, to generate universal responses on some dialog acts by MIDAS +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://dff-grounding-skill:8080/respond +dialog_formatter: state_formatters.dp_formatters:dff_grounding_skill_formatter +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_grounding_skill/service_configs/dff-grounding-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/ma8V138JayP8.yml b/components/ma8V138JayP8.yml new file mode 100644 index 0000000000..6c0ca543e1 --- /dev/null +++ b/components/ma8V138JayP8.yml @@ -0,0 +1,32 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you + say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/agent_services/service_configs/dream_mini_persona_based +date_created: '2023-03-04T19:27:44' diff --git a/components/mgQsWnZUXVg3.yml b/components/mgQsWnZUXVg3.yml new file mode 100644 index 0000000000..a437d31911 --- /dev/null +++ b/components/mgQsWnZUXVg3.yml @@ -0,0 +1,32 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you + say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/agent_services/service_configs/multiskill_ai_assistant +date_created: '2023-03-04T19:27:44' diff --git a/components/mtdRL2FMMYwzdfEeRtVmug.yml b/components/mtdRL2FMMYwzdfEeRtVmug.yml new file mode 100644 index 0000000000..0e4979ea01 --- /dev/null +++ b/components/mtdRL2FMMYwzdfEeRtVmug.yml @@ -0,0 +1,26 @@ +name: text_qa +display_name: Text QA +component_type: Retrieval +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: "\u041D\u0430\u0432\u044B\u043A \u0434\u043B\u044F \u043E\u0442\u0432\ + \u0435\u0442\u0430 \u043D\u0430 \u0432\u043E\u043F\u0440\u043E\u0441\u044B \u043F\ + \u043E \u0442\u0435\u043A\u0441\u0442\u0443." +ram_usage: 3.8G +gpu_usage: 5.2G +group: services +connector: + protocol: http + timeout: 2.0 + url: http://text-qa-ru:8078/model +dialog_formatter: state_formatters.dp_formatters:utt_sentseg_punct_dialog +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: model +service: services/text_qa/service_configs/text-qa-ru +date_created: '2023-03-16T09:45:32' diff --git a/components/n1HuqlV7EoNrWXcv8WaIQ.yml b/components/n1HuqlV7EoNrWXcv8WaIQ.yml new file mode 100644 index 0000000000..067b6bee7b --- /dev/null +++ b/components/n1HuqlV7EoNrWXcv8WaIQ.yml @@ -0,0 +1,26 @@ +name: convers_evaluator_annotator +display_name: Conversation Evaluator +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: is trained on the Alexa Prize data from the previous competitions and + predicts whether the candidate response is interesting, comprehensible, on-topic, + engaging, or erroneous +ram_usage: 1G +gpu_usage: 4.5G +group: candidate_annotators +connector: + protocol: http + timeout: 2.0 + url: http://convers-evaluator-annotator:8004/batch_model +dialog_formatter: state_formatters.dp_formatters:convers_evaluator_annotator_formatter +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- skills +required_previous_services: null +state_manager_method: add_hypothesis_annotation_batch +tags: null +endpoint: batch_model +service: annotators/ConversationEvaluator/service_configs/convers-evaluator-annotator +date_created: '2023-03-16T09:45:32' diff --git a/components/nNuJG45ukoB2mtszaRx3A.yml b/components/nNuJG45ukoB2mtszaRx3A.yml new file mode 100644 index 0000000000..477cae1883 --- /dev/null +++ b/components/nNuJG45ukoB2mtszaRx3A.yml @@ -0,0 +1,25 @@ +name: speech_function_predictor +display_name: Speech Function Predictor +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: yields probabilities of speech functions that can follow a speech function + predicted by Speech Function Classifier +ram_usage: 1.1G +gpu_usage: 4.5G +group: candidate_annotators +connector: + protocol: http + timeout: 5.0 + url: http://speech-function-predictor:8107/annotation +dialog_formatter: state_formatters.dp_formatters:speech_function_hypotheses_predictor_formatter +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- candidate_annotators.speech_function_classifier +required_previous_services: null +state_manager_method: add_hypothesis_annotation_batch +tags: null +endpoint: annotation +service: annotators/speech_function_predictor/service_configs/speech-function-predictor +date_created: '2023-03-16T09:45:32' diff --git a/components/nNuJG45ukoB2mtszaRx3_A.yml b/components/nNuJG45ukoB2mtszaRx3_A.yml new file mode 100644 index 0000000000..477cae1883 --- /dev/null +++ b/components/nNuJG45ukoB2mtszaRx3_A.yml @@ -0,0 +1,25 @@ +name: speech_function_predictor +display_name: Speech Function Predictor +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: yields probabilities of speech functions that can follow a speech function + predicted by Speech Function Classifier +ram_usage: 1.1G +gpu_usage: 4.5G +group: candidate_annotators +connector: + protocol: http + timeout: 5.0 + url: http://speech-function-predictor:8107/annotation +dialog_formatter: state_formatters.dp_formatters:speech_function_hypotheses_predictor_formatter +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- candidate_annotators.speech_function_classifier +required_previous_services: null +state_manager_method: add_hypothesis_annotation_batch +tags: null +endpoint: annotation +service: annotators/speech_function_predictor/service_configs/speech-function-predictor +date_created: '2023-03-16T09:45:32' diff --git a/components/nbR-gFzod7Qx6M7GL6oiPg.yml b/components/nbR-gFzod7Qx6M7GL6oiPg.yml new file mode 100644 index 0000000000..e6079ed681 --- /dev/null +++ b/components/nbR-gFzod7Qx6M7GL6oiPg.yml @@ -0,0 +1,30 @@ +name: timeout_service +display_name: Timeout Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Timeout Service +ram_usage: 100M +gpu_usage: null +group: timeout_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, I need to think more on that. Let's talk about something else. + annotations: + sentseg: + punct_sent: Sorry, I need to think more on that. Let's talk about something else. + segments: + - Sorry, I need to think more on that. + - Let's talk about something else. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- timeout +endpoint: null +service: services/timeout_service/service_configs/agent +date_created: '2023-03-04T19:27:44' diff --git a/components/nbRgFzod7Qx6M7GL6oiPg.yml b/components/nbRgFzod7Qx6M7GL6oiPg.yml new file mode 100644 index 0000000000..e6079ed681 --- /dev/null +++ b/components/nbRgFzod7Qx6M7GL6oiPg.yml @@ -0,0 +1,30 @@ +name: timeout_service +display_name: Timeout Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Timeout Service +ram_usage: 100M +gpu_usage: null +group: timeout_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, I need to think more on that. Let's talk about something else. + annotations: + sentseg: + punct_sent: Sorry, I need to think more on that. Let's talk about something else. + segments: + - Sorry, I need to think more on that. + - Let's talk about something else. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- timeout +endpoint: null +service: services/timeout_service/service_configs/agent +date_created: '2023-03-04T19:27:44' diff --git a/components/o11NkX9o26nr.yml b/components/o11NkX9o26nr.yml new file mode 100644 index 0000000000..639f6856f6 --- /dev/null +++ b/components/o11NkX9o26nr.yml @@ -0,0 +1,32 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you + say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/agent_services/service_configs/dream_russian +date_created: '2023-03-04T19:27:44' diff --git a/components/oB1FawR-dWq8rSL5XY5Xpw.yml b/components/oB1FawR-dWq8rSL5XY5Xpw.yml new file mode 100644 index 0000000000..f0f9d058ae --- /dev/null +++ b/components/oB1FawR-dWq8rSL5XY5Xpw.yml @@ -0,0 +1,24 @@ +name: sentiment_classification +display_name: Sentiment Classification +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: classifies sentiment to positive, negative and neutral classes +ram_usage: 2G +gpu_usage: 2G +group: candidate_annotators +connector: + protocol: http + timeout: 2.0 + url: http://sentiment-classification-multilingual:8024/respond_batch +dialog_formatter: state_formatters.dp_formatters:hypotheses_list +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- skills +required_previous_services: null +state_manager_method: add_hypothesis_annotation_batch +tags: null +endpoint: respond_batch +service: annotators/MultilingualSentimentClassification/service_configs/sentiment-classification-multilingual +date_created: '2023-03-16T09:45:32' diff --git a/components/oB1FawRdWq8rSL5XY5Xpw.yml b/components/oB1FawRdWq8rSL5XY5Xpw.yml new file mode 100644 index 0000000000..f0f9d058ae --- /dev/null +++ b/components/oB1FawRdWq8rSL5XY5Xpw.yml @@ -0,0 +1,24 @@ +name: sentiment_classification +display_name: Sentiment Classification +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: classifies sentiment to positive, negative and neutral classes +ram_usage: 2G +gpu_usage: 2G +group: candidate_annotators +connector: + protocol: http + timeout: 2.0 + url: http://sentiment-classification-multilingual:8024/respond_batch +dialog_formatter: state_formatters.dp_formatters:hypotheses_list +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- skills +required_previous_services: null +state_manager_method: add_hypothesis_annotation_batch +tags: null +endpoint: respond_batch +service: annotators/MultilingualSentimentClassification/service_configs/sentiment-classification-multilingual +date_created: '2023-03-16T09:45:32' diff --git a/components/ofdqbJszMago.yml b/components/ofdqbJszMago.yml new file mode 100644 index 0000000000..639f6856f6 --- /dev/null +++ b/components/ofdqbJszMago.yml @@ -0,0 +1,32 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you + say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/agent_services/service_configs/dream_russian +date_created: '2023-03-04T19:27:44' diff --git a/components/oi0YghSXgDWlMPrzjDjbVg.yml b/components/oi0YghSXgDWlMPrzjDjbVg.yml new file mode 100644 index 0000000000..7e14b7dab4 --- /dev/null +++ b/components/oi0YghSXgDWlMPrzjDjbVg.yml @@ -0,0 +1,24 @@ +name: badlisted_words +display_name: Bad Words Detection +component_type: null +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: detects words and phrases from the badlist +ram_usage: 150M +gpu_usage: null +group: annotators +connector: + protocol: http + timeout: 1.0 + url: http://badlisted-words:8018/badlisted_words +dialog_formatter: state_formatters.dp_formatters:preproc_last_human_utt_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- annotators.spelling_preprocessing +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: badlisted_words +service: annotators/BadlistedWordsDetector/service_configs/badlisted-words +date_created: '2023-03-16T09:45:32' diff --git a/components/pC342KBWtheQNnXjIni6A.yml b/components/pC342KBWtheQNnXjIni6A.yml new file mode 100644 index 0000000000..86797cff0d --- /dev/null +++ b/components/pC342KBWtheQNnXjIni6A.yml @@ -0,0 +1,24 @@ +name: dff_template_skill +display_name: DFF Template Skill +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: DFF-based skill that provides an example of DFF usage +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://dff-template-skill:8120/respond +dialog_formatter: state_formatters.dp_formatters:dff_template_skill_formatter +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_skill/service_configs/dff-template-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/pC34_2KBWtheQNnXjIni6A.yml b/components/pC34_2KBWtheQNnXjIni6A.yml new file mode 100644 index 0000000000..86797cff0d --- /dev/null +++ b/components/pC34_2KBWtheQNnXjIni6A.yml @@ -0,0 +1,24 @@ +name: dff_template_skill +display_name: DFF Template Skill +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: DFF-based skill that provides an example of DFF usage +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://dff-template-skill:8120/respond +dialog_formatter: state_formatters.dp_formatters:dff_template_skill_formatter +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_skill/service_configs/dff-template-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/pD4b43nPu73ev5T4Bf3RKw.yml b/components/pD4b43nPu73ev5T4Bf3RKw.yml new file mode 100644 index 0000000000..3de552607e --- /dev/null +++ b/components/pD4b43nPu73ev5T4Bf3RKw.yml @@ -0,0 +1,25 @@ +name: dff_wiki_skill +display_name: Wiki Skill +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: used for making scenarios with the extraction of entities, slot filling, + facts insertion, and acknowledgements +ram_usage: 150M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://dff-wiki-skill:8111/respond +dialog_formatter: state_formatters.dp_formatters:dff_wiki_skill_formatter +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_wiki_skill/service_configs/dff-wiki-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/pGxj32ic41pvquRXUdqc7A.yml b/components/pGxj32ic41pvquRXUdqc7A.yml new file mode 100644 index 0000000000..85c9b0d045 --- /dev/null +++ b/components/pGxj32ic41pvquRXUdqc7A.yml @@ -0,0 +1,24 @@ +name: spelling_preprocessing +display_name: Spell Checking +component_type: null +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: pattern-based component to rewrite different colloquial expressions to + a more formal style of conversation +ram_usage: 100M +gpu_usage: null +group: annotators +connector: + protocol: http + timeout: 1.0 + url: http://spelling-preprocessing:8074/respond +dialog_formatter: state_formatters.dp_formatters:last_utt_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: null +required_previous_services: null +state_manager_method: add_annotation_and_reset_human_attributes_for_first_turn +tags: null +endpoint: respond +service: annotators/spelling_preprocessing/service_configs/spelling-preprocessing +date_created: '2023-03-16T09:45:32' diff --git a/components/pSQhVbMPcWjL.yml b/components/pSQhVbMPcWjL.yml new file mode 100644 index 0000000000..d9531391c7 --- /dev/null +++ b/components/pSQhVbMPcWjL.yml @@ -0,0 +1,24 @@ +name: prompt_selector +display_name: Prompt Selector +component_type: null +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: Annotator utilizing Sentence Ranker to rank prompts and selecting `N_SENTENCES_TO_RETURN` + most relevant prompts (based on questions provided in prompts) +ram_usage: 100M +gpu_usage: null +group: annotators +connector: + protocol: http + timeout: 2.0 + url: http://prompt-selector:8135/respond +dialog_formatter: state_formatters.dp_formatters:context_formatter_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: null +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: respond +service: annotators/prompt_selector/service_configs/fairytale_assistant +date_created: '2023-03-16T09:45:32' diff --git a/components/pTsBXK2TYUNp.yml b/components/pTsBXK2TYUNp.yml new file mode 100644 index 0000000000..26ad621377 --- /dev/null +++ b/components/pTsBXK2TYUNp.yml @@ -0,0 +1,32 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you + say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/agent_services/service_configs/dream_alexa +date_created: '2023-03-04T19:27:44' diff --git a/components/pciAVHGPCYBn8-m14ZZsLg.yml b/components/pciAVHGPCYBn8-m14ZZsLg.yml new file mode 100644 index 0000000000..d4d0071b11 --- /dev/null +++ b/components/pciAVHGPCYBn8-m14ZZsLg.yml @@ -0,0 +1,24 @@ +name: dff_funfact_skill +display_name: Funfact Skill +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: Tells user fun facts +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://dff-funfact-skill:8104/respond +dialog_formatter: state_formatters.dp_formatters:dff_funfact_skill_formatter +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_funfact_skill/service_configs/dff-funfact-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/pciAVHGPCYBn8m14ZZsLg.yml b/components/pciAVHGPCYBn8m14ZZsLg.yml new file mode 100644 index 0000000000..d4d0071b11 --- /dev/null +++ b/components/pciAVHGPCYBn8m14ZZsLg.yml @@ -0,0 +1,24 @@ +name: dff_funfact_skill +display_name: Funfact Skill +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: Tells user fun facts +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://dff-funfact-skill:8104/respond +dialog_formatter: state_formatters.dp_formatters:dff_funfact_skill_formatter +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_funfact_skill/service_configs/dff-funfact-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/pjAMrP5HEQnm.yml b/components/pjAMrP5HEQnm.yml new file mode 100644 index 0000000000..9954648b8d --- /dev/null +++ b/components/pjAMrP5HEQnm.yml @@ -0,0 +1,24 @@ +name: prompt_selector +display_name: Prompt Selector +component_type: null +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: Annotator utilizing Sentence Ranker to rank prompts and selecting `N_SENTENCES_TO_RETURN` + most relevant prompts (based on questions provided in prompts) +ram_usage: 100M +gpu_usage: null +group: annotators +connector: + protocol: http + timeout: 2.0 + url: http://prompt-selector:8135/respond +dialog_formatter: state_formatters.dp_formatters:context_formatter_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: null +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: respond +service: annotators/prompt_selector/service_configs/life_coaching_assistant +date_created: '2023-03-16T09:45:32' diff --git a/components/pjNkr5Kenxb0NMODp9u2Dw.yml b/components/pjNkr5Kenxb0NMODp9u2Dw.yml new file mode 100644 index 0000000000..7b7961d9bb --- /dev/null +++ b/components/pjNkr5Kenxb0NMODp9u2Dw.yml @@ -0,0 +1,24 @@ +name: dff_sport_skill +display_name: Sport Skill +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: DFF-based skill to discuss sports +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://dff-sport-skill:8098/respond +dialog_formatter: state_formatters.dp_formatters:dff_sport_skill_formatter +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_sport_skill/service_configs/dff-sport-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/pmpzYhPX3ucz.yml b/components/pmpzYhPX3ucz.yml new file mode 100644 index 0000000000..3a23651a1a --- /dev/null +++ b/components/pmpzYhPX3ucz.yml @@ -0,0 +1,24 @@ +name: prompt_selector +display_name: Prompt Selector +component_type: null +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: Annotator utilizing Sentence Ranker to rank prompts and selecting `N_SENTENCES_TO_RETURN` + most relevant prompts (based on questions provided in prompts) +ram_usage: 100M +gpu_usage: null +group: annotators +connector: + protocol: http + timeout: 2.0 + url: http://prompt-selector:8135/respond +dialog_formatter: state_formatters.dp_formatters:context_formatter_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: null +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: respond +service: annotators/prompt_selector/service_configs/nutrition_assistant +date_created: '2023-03-16T09:45:32' diff --git a/components/qJPPqfjKviUyvDTCn2Xw.yml b/components/qJPPqfjKviUyvDTCn2Xw.yml new file mode 100644 index 0000000000..57d501ba87 --- /dev/null +++ b/components/qJPPqfjKviUyvDTCn2Xw.yml @@ -0,0 +1,25 @@ +name: dff_intent_responder_skill +display_name: Custom Responses +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: true +author: publisher@deeppavlov.ai +description: provides template-based replies for some of the intents detected by Intent + Catcher annotator +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://dff-intent-responder-ru-skill:8012/respond +dialog_formatter: state_formatters.dp_formatters:dff_intent_responder_skill_formatter +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_intent_responder_skill/service_configs/dff-intent-responder-ru-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/qx0j5QHAzog0b39nRnuA.yml b/components/qx0j5QHAzog0b39nRnuA.yml new file mode 100644 index 0000000000..08ec6f26a7 --- /dev/null +++ b/components/qx0j5QHAzog0b39nRnuA.yml @@ -0,0 +1,24 @@ +name: factoid_qa +display_name: Factoid QA +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: answers factoid questions +ram_usage: 170M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://factoid-qa:8071/respond +dialog_formatter: state_formatters.dp_formatters:utt_sentseg_punct_dialog +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/factoid_qa/service_configs/factoid-qa +date_created: '2023-03-16T09:45:32' diff --git a/components/rFC0YJOoDFvS.yml b/components/rFC0YJOoDFvS.yml new file mode 100644 index 0000000000..d3c6f4007f --- /dev/null +++ b/components/rFC0YJOoDFvS.yml @@ -0,0 +1,32 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you + say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/agent_services/service_configs/dream +date_created: '2023-03-04T19:27:44' diff --git a/components/rJL2LobMLcELiot0Fy-9-w.yml b/components/rJL2LobMLcELiot0Fy-9-w.yml new file mode 100644 index 0000000000..08f1ede32e --- /dev/null +++ b/components/rJL2LobMLcELiot0Fy-9-w.yml @@ -0,0 +1,25 @@ +name: dff_program_y_skill +display_name: Program Y Skill +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: Chatbot Program Y (https://github.com/keiffster/program-y) adapted for + Dream socialbot +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://dff-program-y-ru-skill:8008/respond +dialog_formatter: state_formatters.dp_formatters:dff_program_y_skill_formatter +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_program_y_skill/service_configs/dff-program-y-ru-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/rJL2LobMLcELiot0Fy9w.yml b/components/rJL2LobMLcELiot0Fy9w.yml new file mode 100644 index 0000000000..08f1ede32e --- /dev/null +++ b/components/rJL2LobMLcELiot0Fy9w.yml @@ -0,0 +1,25 @@ +name: dff_program_y_skill +display_name: Program Y Skill +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: Chatbot Program Y (https://github.com/keiffster/program-y) adapted for + Dream socialbot +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://dff-program-y-ru-skill:8008/respond +dialog_formatter: state_formatters.dp_formatters:dff_program_y_skill_formatter +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_program_y_skill/service_configs/dff-program-y-ru-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/rxuC0B8IRA61enD5IxAxOA.yml b/components/rxuC0B8IRA61enD5IxAxOA.yml new file mode 100644 index 0000000000..ff3540ae61 --- /dev/null +++ b/components/rxuC0B8IRA61enD5IxAxOA.yml @@ -0,0 +1,24 @@ +name: spacy_nounphrases +display_name: Spacy Nounphrases +component_type: null +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: extracts nounphrases using Spacy and filters out generic ones +ram_usage: 180M +gpu_usage: null +group: response_annotators +connector: + protocol: http + timeout: 1.0 + url: http://spacy-nounphrases:8006/respond +dialog_formatter: state_formatters.dp_formatters:last_bot_utt_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- skills +required_previous_services: null +state_manager_method: add_annotation_prev_bot_utt +tags: null +endpoint: respond +service: annotators/spacy_nounphrases/service_configs/spacy-nounphrases +date_created: '2023-03-16T09:45:32' diff --git a/components/sQjaqWKJj-VWjVEI_bNu-A.yml b/components/sQjaqWKJj-VWjVEI_bNu-A.yml new file mode 100644 index 0000000000..9aa33cbb18 --- /dev/null +++ b/components/sQjaqWKJj-VWjVEI_bNu-A.yml @@ -0,0 +1,29 @@ +name: dff_ai_faq_prompted_skill +display_name: AI FAQ Skill +component_type: Generative +model_type: NN-based +is_customizable: true +author: publisher@deeppavlov.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 +group: skills +connector: + protocol: http + timeout: 10.0 + url: http://dff-ai-faq-prompted-skill:8143/respond +dialog_formatter: + name: state_formatters.dp_formatters:dff_prompted_skill_formatter + skill_name: dff_ai_faq_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-ai-faq-prompted-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/sQjaqWKJjVWjVEIbNuA.yml b/components/sQjaqWKJjVWjVEIbNuA.yml new file mode 100644 index 0000000000..9aa33cbb18 --- /dev/null +++ b/components/sQjaqWKJjVWjVEIbNuA.yml @@ -0,0 +1,29 @@ +name: dff_ai_faq_prompted_skill +display_name: AI FAQ Skill +component_type: Generative +model_type: NN-based +is_customizable: true +author: publisher@deeppavlov.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 +group: skills +connector: + protocol: http + timeout: 10.0 + url: http://dff-ai-faq-prompted-skill:8143/respond +dialog_formatter: + name: state_formatters.dp_formatters:dff_prompted_skill_formatter + skill_name: dff_ai_faq_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-ai-faq-prompted-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/sRlBA8KUwLyO.yml b/components/sRlBA8KUwLyO.yml new file mode 100644 index 0000000000..386f4514a8 --- /dev/null +++ b/components/sRlBA8KUwLyO.yml @@ -0,0 +1,32 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you + say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/agent_services/service_configs/dream_persona_openai_prompted +date_created: '2023-03-04T19:27:44' diff --git a/components/sVjXygxsPhjLEWd2acwcEA.yml b/components/sVjXygxsPhjLEWd2acwcEA.yml new file mode 100644 index 0000000000..0d7341170d --- /dev/null +++ b/components/sVjXygxsPhjLEWd2acwcEA.yml @@ -0,0 +1,26 @@ +name: fact_retrieval +display_name: Fact Retrieval +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: extracts facts from Wikipedia and wikiHow +ram_usage: 7.4G +gpu_usage: 1.2G +group: annotators +connector: + protocol: http + timeout: 1.0 + url: http://fact-retrieval:8100/model +dialog_formatter: state_formatters.dp_formatters:fact_retrieval_formatter_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- annotators.spelling_preprocessing +- annotators.sentseg +- annotators.entity_linking +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: model +service: annotators/fact_retrieval/service_configs/fact-retrieval +date_created: '2023-03-16T09:45:32' diff --git a/components/sbDcAqiNqxFz.yml b/components/sbDcAqiNqxFz.yml new file mode 100644 index 0000000000..d3c6f4007f --- /dev/null +++ b/components/sbDcAqiNqxFz.yml @@ -0,0 +1,32 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you + say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/agent_services/service_configs/dream +date_created: '2023-03-04T19:27:44' diff --git a/components/szBtaOyog8QJtq5yuV1NtQ.yml b/components/szBtaOyog8QJtq5yuV1NtQ.yml new file mode 100644 index 0000000000..451d254249 --- /dev/null +++ b/components/szBtaOyog8QJtq5yuV1NtQ.yml @@ -0,0 +1,26 @@ +name: text_qa +display_name: Text QA +component_type: Retrieval +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: "\u041D\u0430\u0432\u044B\u043A \u0434\u043B\u044F \u043E\u0442\u0432\ + \u0435\u0442\u0430 \u043D\u0430 \u0432\u043E\u043F\u0440\u043E\u0441\u044B \u043F\ + \u043E \u0442\u0435\u043A\u0441\u0442\u0443." +ram_usage: 3.8G +gpu_usage: 5.2G +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://text-qa-ru:8078/model +dialog_formatter: state_formatters.dp_formatters:utt_sentseg_punct_dialog +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: model +service: services/text_qa/service_configs/text-qa-ru +date_created: '2023-03-16T09:45:32' diff --git a/components/szmBYf8nY11l.yml b/components/szmBYf8nY11l.yml new file mode 100644 index 0000000000..989751a16b --- /dev/null +++ b/components/szmBYf8nY11l.yml @@ -0,0 +1,32 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you + say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/agent_services/service_configs/deepy_assistant +date_created: '2023-03-04T19:27:44' diff --git a/components/tK0hTk4TyMj7.yml b/components/tK0hTk4TyMj7.yml new file mode 100644 index 0000000000..bc390c848b --- /dev/null +++ b/components/tK0hTk4TyMj7.yml @@ -0,0 +1,24 @@ +name: prompt_selector +display_name: Prompt Selector +component_type: null +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: Annotator utilizing Sentence Ranker to rank prompts and selecting `N_SENTENCES_TO_RETURN` + most relevant prompts (based on questions provided in prompts) +ram_usage: 100M +gpu_usage: null +group: annotators +connector: + protocol: http + timeout: 2.0 + url: http://prompt-selector:8135/respond +dialog_formatter: state_formatters.dp_formatters:context_formatter_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: null +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: respond +service: annotators/prompt_selector/service_configs/dream_persona_openai_prompted +date_created: '2023-03-16T09:45:32' diff --git a/components/t_gzaSQggV7wgMprOmF1Ww.yml b/components/t_gzaSQggV7wgMprOmF1Ww.yml new file mode 100644 index 0000000000..543304b90f --- /dev/null +++ b/components/t_gzaSQggV7wgMprOmF1Ww.yml @@ -0,0 +1,25 @@ +name: entity_detection +display_name: Entity Detection +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: extracts entities and their types from utterances +ram_usage: 1.5G +gpu_usage: 3.2G +group: annotators +connector: + protocol: http + timeout: 1.0 + url: http://entity-detection:8103/respond +dialog_formatter: state_formatters.dp_formatters:entity_detection_formatter_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- annotators.spelling_preprocessing +- annotators.sentseg +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: respond +service: annotators/entity_detection/service_configs/entity-detection +date_created: '2023-03-16T09:45:32' diff --git a/components/tgzaSQggV7wgMprOmF1Ww.yml b/components/tgzaSQggV7wgMprOmF1Ww.yml new file mode 100644 index 0000000000..543304b90f --- /dev/null +++ b/components/tgzaSQggV7wgMprOmF1Ww.yml @@ -0,0 +1,25 @@ +name: entity_detection +display_name: Entity Detection +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: extracts entities and their types from utterances +ram_usage: 1.5G +gpu_usage: 3.2G +group: annotators +connector: + protocol: http + timeout: 1.0 + url: http://entity-detection:8103/respond +dialog_formatter: state_formatters.dp_formatters:entity_detection_formatter_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- annotators.spelling_preprocessing +- annotators.sentseg +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: respond +service: annotators/entity_detection/service_configs/entity-detection +date_created: '2023-03-16T09:45:32' diff --git a/components/uBfG9guHvNVxErmJ3QZxw.yml b/components/uBfG9guHvNVxErmJ3QZxw.yml new file mode 100644 index 0000000000..36f2ef00bf --- /dev/null +++ b/components/uBfG9guHvNVxErmJ3QZxw.yml @@ -0,0 +1,25 @@ +name: misheard_asr +display_name: Misheard ASR +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: uses the ASR Processor annotations to give feedback to the user when + ASR confidence is too low +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://misheard-asr:8033/misheard_respond +dialog_formatter: state_formatters.dp_formatters:utt_sentrewrite_modified_last_dialog +response_formatter: state_formatters.dp_formatters:misheard_asr_formatter_service +previous_services: +- skill_selectors +required_previous_services: null +state_manager_method: add_hypothesis +tags: null +endpoint: misheard_respond +service: skills/misheard_asr/service_configs/misheard-asr +date_created: '2023-03-16T09:45:32' diff --git a/components/uBfG9guHvNVxErmJ3Q_Zxw.yml b/components/uBfG9guHvNVxErmJ3Q_Zxw.yml new file mode 100644 index 0000000000..36f2ef00bf --- /dev/null +++ b/components/uBfG9guHvNVxErmJ3Q_Zxw.yml @@ -0,0 +1,25 @@ +name: misheard_asr +display_name: Misheard ASR +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: uses the ASR Processor annotations to give feedback to the user when + ASR confidence is too low +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://misheard-asr:8033/misheard_respond +dialog_formatter: state_formatters.dp_formatters:utt_sentrewrite_modified_last_dialog +response_formatter: state_formatters.dp_formatters:misheard_asr_formatter_service +previous_services: +- skill_selectors +required_previous_services: null +state_manager_method: add_hypothesis +tags: null +endpoint: misheard_respond +service: skills/misheard_asr/service_configs/misheard-asr +date_created: '2023-03-16T09:45:32' diff --git a/components/uBwLe0Jusl7Q.yml b/components/uBwLe0Jusl7Q.yml new file mode 100644 index 0000000000..5738448908 --- /dev/null +++ b/components/uBwLe0Jusl7Q.yml @@ -0,0 +1,32 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you + say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/agent_services/service_configs/dream_persona_prompted +date_created: '2023-03-04T19:27:44' diff --git a/components/uYkoK0vRp4bbIg9ak-I1yw.yml b/components/uYkoK0vRp4bbIg9ak-I1yw.yml new file mode 100644 index 0000000000..484e976bfe --- /dev/null +++ b/components/uYkoK0vRp4bbIg9ak-I1yw.yml @@ -0,0 +1,23 @@ +name: dummy_skill +display_name: Dummy Skill +component_type: Fallback +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: a fallback skill with multiple non-toxic candidate responses +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: python + class_name: skills.dummy_skill.connector:DummySkillConnector +dialog_formatter: state_formatters.dp_formatters:utt_sentrewrite_modified_last_dialog +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: null +service: skills/dummy_skill/service_configs/agent +date_created: '2023-03-16T09:45:32' diff --git a/components/uYkoK0vRp4bbIg9akI1yw.yml b/components/uYkoK0vRp4bbIg9akI1yw.yml new file mode 100644 index 0000000000..484e976bfe --- /dev/null +++ b/components/uYkoK0vRp4bbIg9akI1yw.yml @@ -0,0 +1,23 @@ +name: dummy_skill +display_name: Dummy Skill +component_type: Fallback +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: a fallback skill with multiple non-toxic candidate responses +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: python + class_name: skills.dummy_skill.connector:DummySkillConnector +dialog_formatter: state_formatters.dp_formatters:utt_sentrewrite_modified_last_dialog +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: null +service: skills/dummy_skill/service_configs/agent +date_created: '2023-03-16T09:45:32' diff --git a/components/unB9cRBV3MRGqKt-rbQDPA.yml b/components/unB9cRBV3MRGqKt-rbQDPA.yml new file mode 100644 index 0000000000..f77d7a6d9c --- /dev/null +++ b/components/unB9cRBV3MRGqKt-rbQDPA.yml @@ -0,0 +1,26 @@ +name: dff_image_skill +display_name: Image Skill +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: Scripted skill that based on the sent image captioning (from annotations) + responses with specified responses in case of food, animals or people detected, + and default responses otherwise +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://dff-image-skill:8188/respond +dialog_formatter: state_formatters.dp_formatters:dff_image_skill_formatter +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_image_skill/service_configs/dff-image-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/unB9cRBV3MRGqKtrbQDPA.yml b/components/unB9cRBV3MRGqKtrbQDPA.yml new file mode 100644 index 0000000000..f77d7a6d9c --- /dev/null +++ b/components/unB9cRBV3MRGqKtrbQDPA.yml @@ -0,0 +1,26 @@ +name: dff_image_skill +display_name: Image Skill +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: Scripted skill that based on the sent image captioning (from annotations) + responses with specified responses in case of food, animals or people detected, + and default responses otherwise +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://dff-image-skill:8188/respond +dialog_formatter: state_formatters.dp_formatters:dff_image_skill_formatter +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_image_skill/service_configs/dff-image-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/v2RpT5Ryi2ke97ANZxRnJg.yml b/components/v2RpT5Ryi2ke97ANZxRnJg.yml new file mode 100644 index 0000000000..7e89c6b8e9 --- /dev/null +++ b/components/v2RpT5Ryi2ke97ANZxRnJg.yml @@ -0,0 +1,26 @@ +name: intent_catcher +display_name: Intent Catcher +component_type: null +model_type: NN-based +is_customizable: true +author: publisher@deeppavlov.ai +description: classifies user utterances into a number of predefined intents which + are trained on a set of phrases and regexps +ram_usage: 900M +gpu_usage: null +group: annotators +connector: + protocol: http + timeout: 1.0 + url: http://intent-catcher-ru:8014/detect +dialog_formatter: state_formatters.dp_formatters:last_utt_sentseg_segments_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- annotators.spelling_preprocessing +- annotators.sentseg +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: detect +service: annotators/IntentCatcherTransformers/service_configs/intent-catcher-ru +date_created: '2023-03-16T09:45:32' diff --git a/components/vC2zMO3Jf1evuVj6KqEK6A.yml b/components/vC2zMO3Jf1evuVj6KqEK6A.yml new file mode 100644 index 0000000000..0a253ba884 --- /dev/null +++ b/components/vC2zMO3Jf1evuVj6KqEK6A.yml @@ -0,0 +1,26 @@ +name: dummy_skill_dialog +display_name: Dummy Skill Dialog +component_type: Script-based w/o NNs +model_type: ML-based +is_customizable: false +author: publisher@deeppavlov.ai +description: returns the next turn from the Topical Chat dataset if the response of + the user to the Dummy Skill is similar to the corresponding response in the source + data +ram_usage: 600M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://dummy-skill-dialog:8052/respond +dialog_formatter: state_formatters.dp_formatters:utt_sentrewrite_modified_last_dialog +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/dummy_skill_dialog/service_configs/dummy-skill-dialog +date_created: '2023-03-16T09:45:32' diff --git a/components/vE3pRKimWyP_c5qaeW8Q1Q.yml b/components/vE3pRKimWyP_c5qaeW8Q1Q.yml new file mode 100644 index 0000000000..4ab69761d8 --- /dev/null +++ b/components/vE3pRKimWyP_c5qaeW8Q1Q.yml @@ -0,0 +1,28 @@ +name: fact_retrieval +display_name: Fact Retrieval +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: "\u0410\u043D\u043D\u043E\u0442\u0430\u0442\u043E\u0440 \u0438\u0437\u0432\ + \u043B\u0435\u0447\u0435\u043D\u0438\u044F \u043F\u0430\u0440\u0430\u0433\u0440\u0430\ + \u0444\u043E\u0432 \u0412\u0438\u043A\u0438\u043F\u0435\u0434\u0438\u0438, \u0440\ + \u0435\u043B\u0435\u0432\u0430\u043D\u0442\u043D\u044B\u0445 \u0438\u0441\u0442\u043E\ + \u0440\u0438\u0438 \u0434\u0438\u0430\u043B\u043E\u0433\u0430." +ram_usage: 6.5G +gpu_usage: 1G +group: annotators +connector: + protocol: http + timeout: 1.0 + url: http://fact-retrieval-ru:8130/respond +dialog_formatter: state_formatters.dp_formatters:fact_retrieval_rus_formatter_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- annotators.entity_linking +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: respond +service: annotators/fact_retrieval_rus/service_configs/fact-retrieval-ru +date_created: '2023-03-16T09:45:32' diff --git a/components/vE3pRKimWyPc5qaeW8Q1Q.yml b/components/vE3pRKimWyPc5qaeW8Q1Q.yml new file mode 100644 index 0000000000..4ab69761d8 --- /dev/null +++ b/components/vE3pRKimWyPc5qaeW8Q1Q.yml @@ -0,0 +1,28 @@ +name: fact_retrieval +display_name: Fact Retrieval +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: "\u0410\u043D\u043D\u043E\u0442\u0430\u0442\u043E\u0440 \u0438\u0437\u0432\ + \u043B\u0435\u0447\u0435\u043D\u0438\u044F \u043F\u0430\u0440\u0430\u0433\u0440\u0430\ + \u0444\u043E\u0432 \u0412\u0438\u043A\u0438\u043F\u0435\u0434\u0438\u0438, \u0440\ + \u0435\u043B\u0435\u0432\u0430\u043D\u0442\u043D\u044B\u0445 \u0438\u0441\u0442\u043E\ + \u0440\u0438\u0438 \u0434\u0438\u0430\u043B\u043E\u0433\u0430." +ram_usage: 6.5G +gpu_usage: 1G +group: annotators +connector: + protocol: http + timeout: 1.0 + url: http://fact-retrieval-ru:8130/respond +dialog_formatter: state_formatters.dp_formatters:fact_retrieval_rus_formatter_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- annotators.entity_linking +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: respond +service: annotators/fact_retrieval_rus/service_configs/fact-retrieval-ru +date_created: '2023-03-16T09:45:32' diff --git a/components/w3uS7t7cW72QFYo0Ugf29w.yml b/components/w3uS7t7cW72QFYo0Ugf29w.yml new file mode 100644 index 0000000000..01d0324c48 --- /dev/null +++ b/components/w3uS7t7cW72QFYo0Ugf29w.yml @@ -0,0 +1,25 @@ +name: dff_animals_skill +display_name: Animals Skill +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: 'is created using DFF and has three branches of conversation about animals: + user''s pets, pets of the socialbot, and wild animals' +ram_usage: 200M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://dff-animals-skill:8094/respond +dialog_formatter: state_formatters.dp_formatters:dff_animals_skill_formatter +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_animals_skill/service_configs/dff-animals-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/w5FfsS2I9Zpz.yml b/components/w5FfsS2I9Zpz.yml new file mode 100644 index 0000000000..476596b931 --- /dev/null +++ b/components/w5FfsS2I9Zpz.yml @@ -0,0 +1,32 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you + say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/agent_services/service_configs/dream_multimodal +date_created: '2023-03-04T19:27:44' diff --git a/components/w7Q37CroiOAtyhxkJMms9w.yml b/components/w7Q37CroiOAtyhxkJMms9w.yml new file mode 100644 index 0000000000..ea0afa0101 --- /dev/null +++ b/components/w7Q37CroiOAtyhxkJMms9w.yml @@ -0,0 +1,26 @@ +name: speech_function_classifier +display_name: Speech Function Classifier +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: a hierarchical algorithm based on several linear models and a rule-based + approach for the prediction of speech functions described by Eggins and Slade +ram_usage: 1.1G +gpu_usage: 4.5G +group: annotators +connector: + protocol: http + timeout: 5.0 + url: http://speech-function-classifier:8108/model +dialog_formatter: state_formatters.dp_formatters:speech_function_formatter +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- annotators.sentseg +- response_annotators.speech_function_classifier +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: model +service: annotators/speech_function_classifier/service_configs/speech-function-classifier +date_created: '2023-03-16T09:45:32' diff --git a/components/x8rLTpIWct4P.yml b/components/x8rLTpIWct4P.yml new file mode 100644 index 0000000000..c1f6376460 --- /dev/null +++ b/components/x8rLTpIWct4P.yml @@ -0,0 +1,32 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you + say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/agent_services/service_configs/ai_faq_assistant +date_created: '2023-03-04T19:27:44' diff --git a/components/xSwFvtAUdvtQosvzpb7oMg.yml b/components/xSwFvtAUdvtQosvzpb7oMg.yml new file mode 100644 index 0000000000..08b36021eb --- /dev/null +++ b/components/xSwFvtAUdvtQosvzpb7oMg.yml @@ -0,0 +1,26 @@ +name: rule_based_selector +display_name: Rule-based Skill Selector +component_type: null +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: Algorithm that selects list of skills to generate candidate responses + to the current context based on topics, entities, emotions, toxicity, dialogue acts + and dialogue history +ram_usage: 100M +gpu_usage: null +group: skill_selectors +connector: + protocol: python + class_name: skill_selectors.rule_based_selector.connector:RuleBasedSkillSelectorConnector +dialog_formatter: state_formatters.dp_formatters:base_skill_selector_formatter_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- annotators +required_previous_services: null +state_manager_method: null +tags: +- selector +endpoint: respond +service: skill_selectors/rule_based_selector/service_configs/agent +date_created: '2023-03-16T09:45:32' diff --git a/components/ybZI0GvSFGXlKF9wGKxiQ.yml b/components/ybZI0GvSFGXlKF9wGKxiQ.yml new file mode 100644 index 0000000000..8c506d799b --- /dev/null +++ b/components/ybZI0GvSFGXlKF9wGKxiQ.yml @@ -0,0 +1,29 @@ +name: dff_life_coaching_prompted_skill +display_name: Life Coaching Skill +component_type: Generative +model_type: NN-based +is_customizable: true +author: publisher@deeppavlov.ai +description: This skill is part of the Life 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 +group: skills +connector: + protocol: http + timeout: 10.0 + url: http://dff-life-coaching-prompted-skill:8142/respond +dialog_formatter: + name: state_formatters.dp_formatters:dff_prompted_skill_formatter + skill_name: dff_life_coaching_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-life-coaching-prompted-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/ybZI0GvSFGXlKF9w_GKxiQ.yml b/components/ybZI0GvSFGXlKF9w_GKxiQ.yml new file mode 100644 index 0000000000..8c506d799b --- /dev/null +++ b/components/ybZI0GvSFGXlKF9w_GKxiQ.yml @@ -0,0 +1,29 @@ +name: dff_life_coaching_prompted_skill +display_name: Life Coaching Skill +component_type: Generative +model_type: NN-based +is_customizable: true +author: publisher@deeppavlov.ai +description: This skill is part of the Life 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 +group: skills +connector: + protocol: http + timeout: 10.0 + url: http://dff-life-coaching-prompted-skill:8142/respond +dialog_formatter: + name: state_formatters.dp_formatters:dff_prompted_skill_formatter + skill_name: dff_life_coaching_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-life-coaching-prompted-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/ytOAJhcgTY7jGhIuqShU7w.yml b/components/ytOAJhcgTY7jGhIuqShU7w.yml new file mode 100644 index 0000000000..84b587538b --- /dev/null +++ b/components/ytOAJhcgTY7jGhIuqShU7w.yml @@ -0,0 +1,26 @@ +name: dff_coronavirus_skill +display_name: Coronavirus Skill +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: retrieves data about the number of coronavirus cases and deaths in different + locations sourced from the John Hopkins University Center for System Science and + Engineering +ram_usage: 110M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://dff-coronavirus-skill:8061/respond +dialog_formatter: state_formatters.dp_formatters:dff_coronavirus_skill_formatter +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_coronavirus_skill/service_configs/dff-coronavirus-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/zM6WUEh2x3PC.yml b/components/zM6WUEh2x3PC.yml new file mode 100644 index 0000000000..5007bf955e --- /dev/null +++ b/components/zM6WUEh2x3PC.yml @@ -0,0 +1,32 @@ +name: last_chance_service +display_name: Last Chance Service +component_type: null +model_type: null +is_customizable: false +author: publisher@deeppavlov.ai +description: Last Chance Service +ram_usage: 100M +gpu_usage: null +group: last_chance_service +connector: + protocol: python + class_name: PredefinedTextConnector + response_text: Sorry, something went wrong inside. Please tell me, what did you + say. + annotations: + sentseg: + punct_sent: Sorry, something went wrong inside. Please tell me, what did you + say. + segments: + - Sorry, something went wrong inside. + - Please tell me, what did you say. +dialog_formatter: null +response_formatter: null +previous_services: null +required_previous_services: null +state_manager_method: add_bot_utterance_last_chance +tags: +- last_chance +endpoint: respond +service: services/agent_services/service_configs/deepy_adv +date_created: '2023-03-04T19:27:44' diff --git a/components/zR8WrA2O9QEzhdMnsVMPg.yml b/components/zR8WrA2O9QEzhdMnsVMPg.yml new file mode 100644 index 0000000000..525bf248ac --- /dev/null +++ b/components/zR8WrA2O9QEzhdMnsVMPg.yml @@ -0,0 +1,25 @@ +name: game_cooperative_skill +display_name: Games Statistics Skill +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: 'provides user with a conversation about computer games: the charts of + the best games for the past year, past month, and last week' +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://game-cooperative-skill:8068/respond +dialog_formatter: state_formatters.dp_formatters:game_cooperative_skill_formatter +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/game_cooperative_skill/service_configs/game-cooperative-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/zR8WrA2O9QEzhdMnsV_MPg.yml b/components/zR8WrA2O9QEzhdMnsV_MPg.yml new file mode 100644 index 0000000000..525bf248ac --- /dev/null +++ b/components/zR8WrA2O9QEzhdMnsV_MPg.yml @@ -0,0 +1,25 @@ +name: game_cooperative_skill +display_name: Games Statistics Skill +component_type: Script-based w/o NNs +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: 'provides user with a conversation about computer games: the charts of + the best games for the past year, past month, and last week' +ram_usage: 100M +gpu_usage: null +group: skills +connector: + protocol: http + timeout: 2.0 + url: http://game-cooperative-skill:8068/respond +dialog_formatter: state_formatters.dp_formatters:game_cooperative_skill_formatter +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/game_cooperative_skill/service_configs/game-cooperative-skill +date_created: '2023-03-16T09:45:32' diff --git a/components/zTK24mc7QujCiFRxGdi2Lg.yml b/components/zTK24mc7QujCiFRxGdi2Lg.yml new file mode 100644 index 0000000000..2475db814e --- /dev/null +++ b/components/zTK24mc7QujCiFRxGdi2Lg.yml @@ -0,0 +1,25 @@ +name: response_selector +display_name: Response Selector +component_type: null +model_type: Dictionary/Pattern-based +is_customizable: false +author: publisher@deeppavlov.ai +description: Algorithm that selects a final responses among the given list of candidate + responses +ram_usage: 100M +gpu_usage: null +group: response_selectors +connector: + protocol: http + timeout: 1.0 + url: http://convers-evaluation-no-scripts-selector:8009/respond +dialog_formatter: state_formatters.dp_formatters:full_history_dialog +response_formatter: state_formatters.dp_formatters:base_response_selector_formatter_service +previous_services: +- candidate_annotators +required_previous_services: null +state_manager_method: add_bot_utterance +tags: null +endpoint: respond +service: response_selectors/convers_evaluation_based_selector/service_configs/convers-evaluation-no-scripts-selector +date_created: '2023-03-16T09:45:32' diff --git a/components/zTwDs7eGPcDvcrxtzgi4ag.yml b/components/zTwDs7eGPcDvcrxtzgi4ag.yml new file mode 100644 index 0000000000..545e1e90d8 --- /dev/null +++ b/components/zTwDs7eGPcDvcrxtzgi4ag.yml @@ -0,0 +1,28 @@ +name: dff_fairytale_prompted_skill +display_name: Fairytale Skill +component_type: Generative +model_type: NN-based +is_customizable: true +author: publisher@deeppavlov.ai +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 +group: skills +connector: + protocol: http + timeout: 10.0 + url: http://dff-fairytale-prompted-skill:8139/respond +dialog_formatter: + name: state_formatters.dp_formatters:dff_prompted_skill_formatter + skill_name: dff_fairytale_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-fairytale-prompted-skill +date_created: '2023-03-16T09:45:32' diff --git a/dockerfile_agent b/dockerfile_agent index 53f794cad5..f2829ca5a3 100644 --- a/dockerfile_agent +++ b/dockerfile_agent @@ -30,7 +30,7 @@ RUN mkdir /pavlov && \ RUN pip install sentry-sdk==0.16.0 requests==2.24.0 pandas GitPython==3.1.14 pyaml openpyxl==3.0.0 xlrd==1.2.0 ruamel-yaml==0.17.21 -ARG AGENT_COMMIT=1dc69085d0fed86709cc7022e6a1c1ed7f517b62 +ARG AGENT_COMMIT=cf3168c500acb7be3c544855d4f272e071986ecb RUN pip install https://codeload.github.com/deeppavlov/dp-agent/tar.gz/${AGENT_COMMIT} ENV LANG C.UTF-8 diff --git a/response_selectors/convers_evaluation_based_selector/component.yml b/response_selectors/convers_evaluation_based_selector/component.yml deleted file mode 100644 index 933ccffac6..0000000000 --- a/response_selectors/convers_evaluation_based_selector/component.yml +++ /dev/null @@ -1,273 +0,0 @@ -convers-evaluation-no-scripts-selector: - name: response_selector - display_name: Response Selector - container_name: convers-evaluation-no-scripts-selector - component_type: null - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: Algorithm that selects a final responses among the given list of candidate - responses - ram_usage: 100M - gpu_usage: null - port: 8009 - endpoints: - - group: response_selectors - endpoint: respond - build_args: - TAG_BASED_SELECTION: 1 - CALL_BY_NAME_PROBABILITY: 0.5 - PROMPT_PROBA: 0.1 - ACKNOWLEDGEMENT_PROBA: 0.3 - PRIORITIZE_WITH_REQUIRED_ACT: 0 - PRIORITIZE_NO_DIALOG_BREAKDOWN: 0 - PRIORITIZE_WITH_SAME_TOPIC_ENTITY: 0 - IGNORE_DISLIKED_SKILLS: 0 - GREETING_FIRST: 0 - RESTRICTION_FOR_SENSITIVE_CASE: 1 - PRIORITIZE_PROMTS_WHEN_NO_SCRIPTS: 0 - MAX_TURNS_WITHOUT_SCRIPTS: 7 - ADD_ACKNOWLEDGMENTS_IF_POSSIBLE: 1 - PRIORITIZE_SCRIPTED_SKILLS: 0 - CONFIDENCE_STRENGTH: 0.8 - CONV_EVAL_STRENGTH: 0.4 - PRIORITIZE_HUMAN_INITIATIVE: 1 - QUESTION_TO_QUESTION_DOWNSCORE_COEF: 0.8 - LANGUAGE: EN - SERVICE_PORT: '8009' - SERVICE_NAME: response_selector - date_created: '2023-03-16T09:45:32' -convers-evaluation-no-scripts-selector-ru: - name: response_selector - display_name: Response Selector - container_name: convers-evaluation-no-scripts-selector-ru - component_type: null - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: Algorithm that selects a final responses among the given list of candidate - responses - ram_usage: 100M - gpu_usage: null - port: 8009 - endpoints: - - group: response_selectors - endpoint: respond - build_args: - TAG_BASED_SELECTION: 1 - CALL_BY_NAME_PROBABILITY: 0.5 - PROMPT_PROBA: 0.1 - ACKNOWLEDGEMENT_PROBA: 0.3 - PRIORITIZE_WITH_REQUIRED_ACT: 0 - PRIORITIZE_NO_DIALOG_BREAKDOWN: 0 - PRIORITIZE_WITH_SAME_TOPIC_ENTITY: 0 - IGNORE_DISLIKED_SKILLS: 0 - GREETING_FIRST: 0 - RESTRICTION_FOR_SENSITIVE_CASE: 1 - PRIORITIZE_PROMTS_WHEN_NO_SCRIPTS: 0 - MAX_TURNS_WITHOUT_SCRIPTS: 7 - ADD_ACKNOWLEDGMENTS_IF_POSSIBLE: 1 - PRIORITIZE_SCRIPTED_SKILLS: 0 - CONFIDENCE_STRENGTH: 0.8 - CONV_EVAL_STRENGTH: 0.4 - PRIORITIZE_HUMAN_INITIATIVE: 1 - QUESTION_TO_QUESTION_DOWNSCORE_COEF: 0.8 - LANGUAGE: RU - SERVICE_PORT: '8009' - SERVICE_NAME: response_selector - date_created: '2023-03-16T09:45:32' -convers-evaluation-selector: - name: response_selector - display_name: Response Selector - container_name: convers-evaluation-selector - component_type: null - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: Algorithm that selects a final responses among the given list of candidate - responses - ram_usage: 100M - gpu_usage: null - port: 8009 - endpoints: - - group: response_selectors - endpoint: respond - build_args: - TAG_BASED_SELECTION: 1 - CALL_BY_NAME_PROBABILITY: 0.5 - PROMPT_PROBA: 0.1 - ACKNOWLEDGEMENT_PROBA: 0.3 - PRIORITIZE_WITH_REQUIRED_ACT: 0 - PRIORITIZE_NO_DIALOG_BREAKDOWN: 0 - PRIORITIZE_WITH_SAME_TOPIC_ENTITY: 0 - IGNORE_DISLIKED_SKILLS: 0 - GREETING_FIRST: 1 - RESTRICTION_FOR_SENSITIVE_CASE: 1 - PRIORITIZE_PROMTS_WHEN_NO_SCRIPTS: 1 - MAX_TURNS_WITHOUT_SCRIPTS: 7 - ADD_ACKNOWLEDGMENTS_IF_POSSIBLE: 1 - PRIORITIZE_SCRIPTED_SKILLS: 0 - CONFIDENCE_STRENGTH: 0.8 - CONV_EVAL_STRENGTH: 0.4 - PRIORITIZE_HUMAN_INITIATIVE: 1 - QUESTION_TO_QUESTION_DOWNSCORE_COEF: 0.8 - LANGUAGE: EN - SERVICE_PORT: '8009' - SERVICE_NAME: response_selector - date_created: '2023-03-16T09:45:32' -convers-evaluation-selector-ru: - name: response_selector - display_name: Response Selector - container_name: convers-evaluation-selector-ru - component_type: null - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: Algorithm that selects a final responses among the given list of candidate - responses - ram_usage: 100M - gpu_usage: null - port: 8009 - endpoints: - - group: response_selectors - endpoint: respond - build_args: - TAG_BASED_SELECTION: 1 - CALL_BY_NAME_PROBABILITY: 0.5 - PROMPT_PROBA: 0.1 - ACKNOWLEDGEMENT_PROBA: 0.3 - PRIORITIZE_WITH_REQUIRED_ACT: 0 - PRIORITIZE_NO_DIALOG_BREAKDOWN: 0 - PRIORITIZE_WITH_SAME_TOPIC_ENTITY: 0 - IGNORE_DISLIKED_SKILLS: 0 - GREETING_FIRST: 1 - RESTRICTION_FOR_SENSITIVE_CASE: 1 - PRIORITIZE_PROMTS_WHEN_NO_SCRIPTS: 1 - MAX_TURNS_WITHOUT_SCRIPTS: 7 - ADD_ACKNOWLEDGMENTS_IF_POSSIBLE: 1 - PRIORITIZE_SCRIPTED_SKILLS: 0 - CONFIDENCE_STRENGTH: 0.8 - CONV_EVAL_STRENGTH: 0.4 - PRIORITIZE_HUMAN_INITIATIVE: 1 - QUESTION_TO_QUESTION_DOWNSCORE_COEF: 0.8 - LANGUAGE: RU - SERVICE_PORT: '8009' - SERVICE_NAME: response_selector - date_created: '2023-03-16T09:45:32' -scripts-priority-selector: - name: response_selector - display_name: Response Selector - container_name: scripts-priority-selector - component_type: null - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: Algorithm that selects a final responses among the given list of candidate - responses - ram_usage: 100M - gpu_usage: null - port: 8009 - endpoints: - - group: response_selectors - endpoint: respond - build_args: - TAG_BASED_SELECTION: 1 - CALL_BY_NAME_PROBABILITY: 0.5 - PROMPT_PROBA: 0.3 - ACKNOWLEDGEMENT_PROBA: 0.3 - PRIORITIZE_WITH_REQUIRED_ACT: 1 - PRIORITIZE_NO_DIALOG_BREAKDOWN: 0 - PRIORITIZE_WITH_SAME_TOPIC_ENTITY: 1 - IGNORE_DISLIKED_SKILLS: 1 - GREETING_FIRST: 1 - RESTRICTION_FOR_SENSITIVE_CASE: 1 - PRIORITIZE_PROMTS_WHEN_NO_SCRIPTS: 1 - MAX_TURNS_WITHOUT_SCRIPTS: 7 - ADD_ACKNOWLEDGMENTS_IF_POSSIBLE: 1 - PRIORITIZE_SCRIPTED_SKILLS: 1 - CONFIDENCE_STRENGTH: 2.0 - CONV_EVAL_STRENGTH: 0.4 - PRIORITIZE_HUMAN_INITIATIVE: 0 - QUESTION_TO_QUESTION_DOWNSCORE_COEF: 0.8 - LANGUAGE: EN - SERVICE_PORT: '8009' - SERVICE_NAME: response_selector - date_created: '2023-03-16T09:45:32' -no-restrictions-selector: - name: response_selector - display_name: Response Selector - container_name: no-restrictions-selector - component_type: null - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: Algorithm that selects a final responses among the given list of candidate - responses - ram_usage: 100M - gpu_usage: null - port: 8009 - endpoints: - - group: response_selectors - endpoint: respond - build_args: - TAG_BASED_SELECTION: 1 - CALL_BY_NAME_PROBABILITY: 0.5 - PROMPT_PROBA: 0 - ACKNOWLEDGEMENT_PROBA: 0.3 - PRIORITIZE_WITH_REQUIRED_ACT: 0 - PRIORITIZE_NO_DIALOG_BREAKDOWN: 0 - PRIORITIZE_WITH_SAME_TOPIC_ENTITY: 0 - IGNORE_DISLIKED_SKILLS: 0 - GREETING_FIRST: 0 - RESTRICTION_FOR_SENSITIVE_CASE: 0 - PRIORITIZE_PROMTS_WHEN_NO_SCRIPTS: 0 - MAX_TURNS_WITHOUT_SCRIPTS: 100 - ADD_ACKNOWLEDGMENTS_IF_POSSIBLE: 0 - PRIORITIZE_SCRIPTED_SKILLS: 0 - CONFIDENCE_STRENGTH: 0.8 - CONV_EVAL_STRENGTH: 0.4 - PRIORITIZE_HUMAN_INITIATIVE: 1 - QUESTION_TO_QUESTION_DOWNSCORE_COEF: 0.8 - LANGUAGE: EN - SERVICE_PORT: '8009' - SERVICE_NAME: response_selector - date_created: '2023-03-16T09:45:32' -no-restrictions-selector-ru: - name: response_selector - display_name: Response Selector - container_name: no-restrictions-selector-ru - component_type: null - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: Algorithm that selects a final responses among the given list of candidate - responses - ram_usage: 100M - gpu_usage: null - port: 8009 - endpoints: - - group: response_selectors - endpoint: respond - build_args: - TAG_BASED_SELECTION: 1 - CALL_BY_NAME_PROBABILITY: 0.5 - PROMPT_PROBA: 0 - ACKNOWLEDGEMENT_PROBA: 0.3 - PRIORITIZE_WITH_REQUIRED_ACT: 0 - PRIORITIZE_NO_DIALOG_BREAKDOWN: 0 - PRIORITIZE_WITH_SAME_TOPIC_ENTITY: 0 - IGNORE_DISLIKED_SKILLS: 0 - GREETING_FIRST: 0 - RESTRICTION_FOR_SENSITIVE_CASE: 0 - PRIORITIZE_PROMTS_WHEN_NO_SCRIPTS: 0 - MAX_TURNS_WITHOUT_SCRIPTS: 100 - ADD_ACKNOWLEDGMENTS_IF_POSSIBLE: 0 - PRIORITIZE_SCRIPTED_SKILLS: 0 - CONFIDENCE_STRENGTH: 0.8 - CONV_EVAL_STRENGTH: 0.4 - PRIORITIZE_HUMAN_INITIATIVE: 1 - QUESTION_TO_QUESTION_DOWNSCORE_COEF: 0.8 - LANGUAGE: RU - SERVICE_PORT: '8009' - SERVICE_NAME: response_selector - date_created: '2023-03-16T09:45:32' diff --git a/response_selectors/convers_evaluation_based_selector/pipeline.yml b/response_selectors/convers_evaluation_based_selector/pipeline.yml deleted file mode 100644 index e989270df0..0000000000 --- a/response_selectors/convers_evaluation_based_selector/pipeline.yml +++ /dev/null @@ -1,77 +0,0 @@ -convers-evaluation-no-scripts-selector: -- group: response_selectors - connector: - protocol: http - timeout: 1.0 - url: http://convers-evaluation-no-scripts-selector:8009/respond - dialog_formatter: state_formatters.dp_formatters:full_history_dialog - response_formatter: state_formatters.dp_formatters:base_response_selector_formatter_service - previous_services: - - candidate_annotators - state_manager_method: add_bot_utterance -convers-evaluation-no-scripts-selector-ru: -- group: response_selectors - connector: - protocol: http - timeout: 1.0 - url: http://convers-evaluation-no-scripts-selector-ru:8009/respond - dialog_formatter: state_formatters.dp_formatters:full_history_dialog - response_formatter: state_formatters.dp_formatters:base_response_selector_formatter_service - previous_services: - - candidate_annotators - state_manager_method: add_bot_utterance -scripts-priority-selector: -- group: response_selectors - connector: - protocol: http - timeout: 1.0 - url: http://scripts-priority-selector:8009/respond - dialog_formatter: state_formatters.dp_formatters:full_history_dialog - response_formatter: state_formatters.dp_formatters:base_response_selector_formatter_service - previous_services: - - candidate_annotators - state_manager_method: add_bot_utterance -convers-evaluation-selector: -- group: response_selectors - connector: - protocol: http - timeout: 1.0 - url: http://convers-evaluation-selector:8009/respond - dialog_formatter: state_formatters.dp_formatters:full_history_dialog - response_formatter: state_formatters.dp_formatters:base_response_selector_formatter_service - previous_services: - - candidate_annotators - state_manager_method: add_bot_utterance -convers-evaluation-selector-ru: -- group: response_selectors - connector: - protocol: http - timeout: 1.0 - url: http://convers-evaluation-selector-ru:8009/respond - dialog_formatter: state_formatters.dp_formatters:full_history_dialog - response_formatter: state_formatters.dp_formatters:base_response_selector_formatter_service - previous_services: - - candidate_annotators - state_manager_method: add_bot_utterance -no-restrictions-selector: -- group: response_selectors - connector: - protocol: http - timeout: 1.0 - url: http://no-restrictions-selector:8009/respond - dialog_formatter: state_formatters.dp_formatters:full_history_dialog - response_formatter: state_formatters.dp_formatters:base_response_selector_formatter_service - previous_services: - - candidate_annotators - state_manager_method: add_bot_utterance -no-restrictions-selector-ru: -- group: response_selectors - connector: - protocol: http - timeout: 1.0 - url: http://no-restrictions-selector-ru:8009/respond - dialog_formatter: state_formatters.dp_formatters:full_history_dialog - response_formatter: state_formatters.dp_formatters:base_response_selector_formatter_service - previous_services: - - candidate_annotators - state_manager_method: add_bot_utterance \ No newline at end of file diff --git a/response_selectors/convers_evaluation_based_selector/service_configs/convers-evaluation-no-scripts-selector/environment.yml b/response_selectors/convers_evaluation_based_selector/service_configs/convers-evaluation-no-scripts-selector/environment.yml new file mode 100644 index 0000000000..29b89ae922 --- /dev/null +++ b/response_selectors/convers_evaluation_based_selector/service_configs/convers-evaluation-no-scripts-selector/environment.yml @@ -0,0 +1,19 @@ +TAG_BASED_SELECTION: 1 +CALL_BY_NAME_PROBABILITY: 0.5 +PROMPT_PROBA: 0.1 +ACKNOWLEDGEMENT_PROBA: 0.3 +PRIORITIZE_WITH_REQUIRED_ACT: 0 +PRIORITIZE_NO_DIALOG_BREAKDOWN: 0 +PRIORITIZE_WITH_SAME_TOPIC_ENTITY: 0 +IGNORE_DISLIKED_SKILLS: 0 +GREETING_FIRST: 1 +RESTRICTION_FOR_SENSITIVE_CASE: 1 +PRIORITIZE_PROMTS_WHEN_NO_SCRIPTS: 0 +MAX_TURNS_WITHOUT_SCRIPTS: 7 +ADD_ACKNOWLEDGMENTS_IF_POSSIBLE: 1 +PRIORITIZE_SCRIPTED_SKILLS: 0 +CONFIDENCE_STRENGTH: 0.8 +CONV_EVAL_STRENGTH: 0.4 +PRIORITIZE_HUMAN_INITIATIVE: 1 +QUESTION_TO_QUESTION_DOWNSCORE_COEF: 0.8 +FLASK_APP: server diff --git a/response_selectors/convers_evaluation_based_selector/service_configs/convers-evaluation-no-scripts-selector/service.yml b/response_selectors/convers_evaluation_based_selector/service_configs/convers-evaluation-no-scripts-selector/service.yml new file mode 100644 index 0000000000..a65b507364 --- /dev/null +++ b/response_selectors/convers_evaluation_based_selector/service_configs/convers-evaluation-no-scripts-selector/service.yml @@ -0,0 +1,44 @@ +name: convers-evaluation-no-scripts-selector +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + TAG_BASED_SELECTION: 1 + CALL_BY_NAME_PROBABILITY: 0.5 + PROMPT_PROBA: 0.1 + ACKNOWLEDGEMENT_PROBA: 0.3 + PRIORITIZE_WITH_REQUIRED_ACT: 0 + PRIORITIZE_NO_DIALOG_BREAKDOWN: 0 + PRIORITIZE_WITH_SAME_TOPIC_ENTITY: 0 + IGNORE_DISLIKED_SKILLS: 0 + GREETING_FIRST: 1 + RESTRICTION_FOR_SENSITIVE_CASE: 1 + PRIORITIZE_PROMTS_WHEN_NO_SCRIPTS: 0 + MAX_TURNS_WITHOUT_SCRIPTS: 7 + ADD_ACKNOWLEDGMENTS_IF_POSSIBLE: 1 + PRIORITIZE_SCRIPTED_SKILLS: 0 + CONFIDENCE_STRENGTH: 0.8 + CONV_EVAL_STRENGTH: 0.4 + PRIORITIZE_HUMAN_INITIATIVE: 1 + QUESTION_TO_QUESTION_DOWNSCORE_COEF: 0.8 + FLASK_APP: server + context: . + dockerfile: ./response_selectors/convers_evaluation_based_selector/Dockerfile + command: flask run -h 0.0.0.0 -p 8009 + environment: + - FLASK_APP=server + deploy: + resources: + limits: + memory: 100M + reservations: + memory: 100M + volumes: + - ./response_selectors/convers_evaluation_based_selector:/src + - ./common:/src/common + ports: + - 8009:8009 +proxy: null diff --git a/response_selectors/convers_evaluation_based_selector/service_configs/convers-evaluation-selector-ru/environment.yml b/response_selectors/convers_evaluation_based_selector/service_configs/convers-evaluation-selector-ru/environment.yml new file mode 100644 index 0000000000..28db736643 --- /dev/null +++ b/response_selectors/convers_evaluation_based_selector/service_configs/convers-evaluation-selector-ru/environment.yml @@ -0,0 +1,20 @@ +TAG_BASED_SELECTION: 1 +CALL_BY_NAME_PROBABILITY: 0.5 +PROMPT_PROBA: 0.1 +ACKNOWLEDGEMENT_PROBA: 0.3 +PRIORITIZE_WITH_REQUIRED_ACT: 0 +PRIORITIZE_NO_DIALOG_BREAKDOWN: 0 +PRIORITIZE_WITH_SAME_TOPIC_ENTITY: 0 +IGNORE_DISLIKED_SKILLS: 0 +GREETING_FIRST: 1 +RESTRICTION_FOR_SENSITIVE_CASE: 1 +PRIORITIZE_PROMTS_WHEN_NO_SCRIPTS: 1 +MAX_TURNS_WITHOUT_SCRIPTS: 7 +ADD_ACKNOWLEDGMENTS_IF_POSSIBLE: 1 +PRIORITIZE_SCRIPTED_SKILLS: 0 +CONFIDENCE_STRENGTH: 0.8 +CONV_EVAL_STRENGTH: 0.4 +PRIORITIZE_HUMAN_INITIATIVE: 1 +QUESTION_TO_QUESTION_DOWNSCORE_COEF: 0.8 +LANGUAGE: RU +FLASK_APP: server diff --git a/response_selectors/convers_evaluation_based_selector/service_configs/convers-evaluation-selector-ru/service.yml b/response_selectors/convers_evaluation_based_selector/service_configs/convers-evaluation-selector-ru/service.yml new file mode 100644 index 0000000000..3a5d9e1bf4 --- /dev/null +++ b/response_selectors/convers_evaluation_based_selector/service_configs/convers-evaluation-selector-ru/service.yml @@ -0,0 +1,45 @@ +name: convers-evaluation-selector-ru +endpoints: +- respond +compose: + env_file: + - .env_ru + build: + args: + TAG_BASED_SELECTION: 1 + CALL_BY_NAME_PROBABILITY: 0.5 + PROMPT_PROBA: 0.1 + ACKNOWLEDGEMENT_PROBA: 0.3 + PRIORITIZE_WITH_REQUIRED_ACT: 0 + PRIORITIZE_NO_DIALOG_BREAKDOWN: 0 + PRIORITIZE_WITH_SAME_TOPIC_ENTITY: 0 + IGNORE_DISLIKED_SKILLS: 0 + GREETING_FIRST: 1 + RESTRICTION_FOR_SENSITIVE_CASE: 1 + PRIORITIZE_PROMTS_WHEN_NO_SCRIPTS: 1 + MAX_TURNS_WITHOUT_SCRIPTS: 7 + ADD_ACKNOWLEDGMENTS_IF_POSSIBLE: 1 + PRIORITIZE_SCRIPTED_SKILLS: 0 + CONFIDENCE_STRENGTH: 0.8 + CONV_EVAL_STRENGTH: 0.4 + PRIORITIZE_HUMAN_INITIATIVE: 1 + QUESTION_TO_QUESTION_DOWNSCORE_COEF: 0.8 + LANGUAGE: RU + FLASK_APP: server + context: . + dockerfile: ./response_selectors/convers_evaluation_based_selector/Dockerfile + command: flask run -h 0.0.0.0 -p 8009 + environment: + - FLASK_APP=server + deploy: + resources: + limits: + memory: 256M + reservations: + memory: 256M + volumes: + - ./response_selectors/convers_evaluation_based_selector:/src + - ./common:/src/common + ports: + - 8009:8009 +proxy: null diff --git a/response_selectors/convers_evaluation_based_selector/service_configs/convers-evaluation-selector/environment.yml b/response_selectors/convers_evaluation_based_selector/service_configs/convers-evaluation-selector/environment.yml new file mode 100644 index 0000000000..2d3e8d0790 --- /dev/null +++ b/response_selectors/convers_evaluation_based_selector/service_configs/convers-evaluation-selector/environment.yml @@ -0,0 +1,19 @@ +TAG_BASED_SELECTION: 1 +CALL_BY_NAME_PROBABILITY: 0.5 +PROMPT_PROBA: 0.1 +ACKNOWLEDGEMENT_PROBA: 0.3 +PRIORITIZE_WITH_REQUIRED_ACT: 0 +PRIORITIZE_NO_DIALOG_BREAKDOWN: 0 +PRIORITIZE_WITH_SAME_TOPIC_ENTITY: 0 +IGNORE_DISLIKED_SKILLS: 0 +GREETING_FIRST: 1 +RESTRICTION_FOR_SENSITIVE_CASE: 1 +PRIORITIZE_PROMTS_WHEN_NO_SCRIPTS: 1 +MAX_TURNS_WITHOUT_SCRIPTS: 7 +ADD_ACKNOWLEDGMENTS_IF_POSSIBLE: 1 +PRIORITIZE_SCRIPTED_SKILLS: 0 +CONFIDENCE_STRENGTH: 0.8 +CONV_EVAL_STRENGTH: 0.4 +PRIORITIZE_HUMAN_INITIATIVE: 1 +QUESTION_TO_QUESTION_DOWNSCORE_COEF: 0.8 +FLASK_APP: server diff --git a/response_selectors/convers_evaluation_based_selector/service_configs/convers-evaluation-selector/service.yml b/response_selectors/convers_evaluation_based_selector/service_configs/convers-evaluation-selector/service.yml new file mode 100644 index 0000000000..04cab00317 --- /dev/null +++ b/response_selectors/convers_evaluation_based_selector/service_configs/convers-evaluation-selector/service.yml @@ -0,0 +1,54 @@ +name: convers-evaluation-selector +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + TAG_BASED_SELECTION: 1 + CALL_BY_NAME_PROBABILITY: 0.5 + PROMPT_PROBA: 0.1 + ACKNOWLEDGEMENT_PROBA: 0.3 + PRIORITIZE_WITH_REQUIRED_ACT: 0 + PRIORITIZE_NO_DIALOG_BREAKDOWN: 0 + PRIORITIZE_WITH_SAME_TOPIC_ENTITY: 0 + IGNORE_DISLIKED_SKILLS: 0 + GREETING_FIRST: 1 + RESTRICTION_FOR_SENSITIVE_CASE: 1 + PRIORITIZE_PROMTS_WHEN_NO_SCRIPTS: 1 + MAX_TURNS_WITHOUT_SCRIPTS: 7 + ADD_ACKNOWLEDGMENTS_IF_POSSIBLE: 1 + PRIORITIZE_SCRIPTED_SKILLS: 0 + CONFIDENCE_STRENGTH: 0.8 + CONV_EVAL_STRENGTH: 0.4 + PRIORITIZE_HUMAN_INITIATIVE: 1 + QUESTION_TO_QUESTION_DOWNSCORE_COEF: 0.8 + FLASK_APP: server + context: . + dockerfile: ./response_selectors/convers_evaluation_based_selector/Dockerfile + command: flask run -h 0.0.0.0 -p 8009 + environment: + - FLASK_APP=server + deploy: + resources: + limits: + memory: 100M + reservations: + memory: 100M + volumes: + - ./response_selectors/convers_evaluation_based_selector:/src + - ./common:/src/common + ports: + - 8009:8009 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8009 + - PORT=8009 diff --git a/response_selectors/convers_evaluation_based_selector/service_configs/no-restrictions-selector/environment.yml b/response_selectors/convers_evaluation_based_selector/service_configs/no-restrictions-selector/environment.yml new file mode 100644 index 0000000000..f7332ac46e --- /dev/null +++ b/response_selectors/convers_evaluation_based_selector/service_configs/no-restrictions-selector/environment.yml @@ -0,0 +1,19 @@ +TAG_BASED_SELECTION: 1 +CALL_BY_NAME_PROBABILITY: 0.5 +PROMPT_PROBA: 0 +ACKNOWLEDGEMENT_PROBA: 0.3 +PRIORITIZE_WITH_REQUIRED_ACT: 0 +PRIORITIZE_NO_DIALOG_BREAKDOWN: 0 +PRIORITIZE_WITH_SAME_TOPIC_ENTITY: 0 +IGNORE_DISLIKED_SKILLS: 0 +GREETING_FIRST: 0 +RESTRICTION_FOR_SENSITIVE_CASE: 0 +PRIORITIZE_PROMTS_WHEN_NO_SCRIPTS: 0 +MAX_TURNS_WITHOUT_SCRIPTS: 100 +ADD_ACKNOWLEDGMENTS_IF_POSSIBLE: 0 +PRIORITIZE_SCRIPTED_SKILLS: 0 +CONFIDENCE_STRENGTH: 0.8 +CONV_EVAL_STRENGTH: 0.4 +PRIORITIZE_HUMAN_INITIATIVE: 1 +QUESTION_TO_QUESTION_DOWNSCORE_COEF: 0.8 +FLASK_APP: server diff --git a/response_selectors/convers_evaluation_based_selector/service_configs/no-restrictions-selector/service.yml b/response_selectors/convers_evaluation_based_selector/service_configs/no-restrictions-selector/service.yml new file mode 100644 index 0000000000..8e4f0fafd0 --- /dev/null +++ b/response_selectors/convers_evaluation_based_selector/service_configs/no-restrictions-selector/service.yml @@ -0,0 +1,44 @@ +name: no-restrictions-selector +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + TAG_BASED_SELECTION: 1 + CALL_BY_NAME_PROBABILITY: 0.5 + PROMPT_PROBA: 0 + ACKNOWLEDGEMENT_PROBA: 0.3 + PRIORITIZE_WITH_REQUIRED_ACT: 0 + PRIORITIZE_NO_DIALOG_BREAKDOWN: 0 + PRIORITIZE_WITH_SAME_TOPIC_ENTITY: 0 + IGNORE_DISLIKED_SKILLS: 0 + GREETING_FIRST: 0 + RESTRICTION_FOR_SENSITIVE_CASE: 0 + PRIORITIZE_PROMTS_WHEN_NO_SCRIPTS: 0 + MAX_TURNS_WITHOUT_SCRIPTS: 100 + ADD_ACKNOWLEDGMENTS_IF_POSSIBLE: 0 + PRIORITIZE_SCRIPTED_SKILLS: 0 + CONFIDENCE_STRENGTH: 0.8 + CONV_EVAL_STRENGTH: 0.4 + PRIORITIZE_HUMAN_INITIATIVE: 1 + QUESTION_TO_QUESTION_DOWNSCORE_COEF: 0.8 + FLASK_APP: server + context: . + dockerfile: ./response_selectors/convers_evaluation_based_selector/Dockerfile + command: flask run -h 0.0.0.0 -p 8009 + environment: + - FLASK_APP=server + deploy: + resources: + limits: + memory: 100M + reservations: + memory: 100M + volumes: + - ./response_selectors/convers_evaluation_based_selector:/src + - ./common:/src/common + ports: + - 8009:8009 +proxy: null diff --git a/response_selectors/convers_evaluation_based_selector/service_configs/scripts-priority-selector/environment.yml b/response_selectors/convers_evaluation_based_selector/service_configs/scripts-priority-selector/environment.yml new file mode 100644 index 0000000000..12e8976420 --- /dev/null +++ b/response_selectors/convers_evaluation_based_selector/service_configs/scripts-priority-selector/environment.yml @@ -0,0 +1,19 @@ +TAG_BASED_SELECTION: 1 +CALL_BY_NAME_PROBABILITY: 0.5 +PROMPT_PROBA: 0.3 +ACKNOWLEDGEMENT_PROBA: 0.3 +PRIORITIZE_WITH_REQUIRED_ACT: 1 +PRIORITIZE_NO_DIALOG_BREAKDOWN: 0 +PRIORITIZE_WITH_SAME_TOPIC_ENTITY: 1 +IGNORE_DISLIKED_SKILLS: 1 +GREETING_FIRST: 1 +RESTRICTION_FOR_SENSITIVE_CASE: 1 +PRIORITIZE_PROMTS_WHEN_NO_SCRIPTS: 1 +MAX_TURNS_WITHOUT_SCRIPTS: 7 +ADD_ACKNOWLEDGMENTS_IF_POSSIBLE: 1 +PRIORITIZE_SCRIPTED_SKILLS: 1 +CONFIDENCE_STRENGTH: 2.0 +CONV_EVAL_STRENGTH: 0.4 +PRIORITIZE_HUMAN_INITIATIVE: 0 +QUESTION_TO_QUESTION_DOWNSCORE_COEF: 0.8 +FLASK_APP: server diff --git a/response_selectors/convers_evaluation_based_selector/service_configs/scripts-priority-selector/service.yml b/response_selectors/convers_evaluation_based_selector/service_configs/scripts-priority-selector/service.yml new file mode 100644 index 0000000000..69b8a88913 --- /dev/null +++ b/response_selectors/convers_evaluation_based_selector/service_configs/scripts-priority-selector/service.yml @@ -0,0 +1,54 @@ +name: scripts-priority-selector +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + TAG_BASED_SELECTION: 1 + CALL_BY_NAME_PROBABILITY: 0.5 + PROMPT_PROBA: 0.3 + ACKNOWLEDGEMENT_PROBA: 0.3 + PRIORITIZE_WITH_REQUIRED_ACT: 1 + PRIORITIZE_NO_DIALOG_BREAKDOWN: 0 + PRIORITIZE_WITH_SAME_TOPIC_ENTITY: 1 + IGNORE_DISLIKED_SKILLS: 1 + GREETING_FIRST: 1 + RESTRICTION_FOR_SENSITIVE_CASE: 1 + PRIORITIZE_PROMTS_WHEN_NO_SCRIPTS: 1 + MAX_TURNS_WITHOUT_SCRIPTS: 7 + ADD_ACKNOWLEDGMENTS_IF_POSSIBLE: 1 + PRIORITIZE_SCRIPTED_SKILLS: 1 + CONFIDENCE_STRENGTH: 2.0 + CONV_EVAL_STRENGTH: 0.4 + PRIORITIZE_HUMAN_INITIATIVE: 0 + QUESTION_TO_QUESTION_DOWNSCORE_COEF: 0.8 + FLASK_APP: server + context: . + dockerfile: ./response_selectors/convers_evaluation_based_selector/Dockerfile + command: flask run -h 0.0.0.0 -p 8009 + environment: + - FLASK_APP=server + deploy: + resources: + limits: + memory: 100M + reservations: + memory: 100M + volumes: + - ./response_selectors/convers_evaluation_based_selector:/src + - ./common:/src/common + ports: + - 8009:8009 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8009 + - PORT=8009 diff --git a/response_selectors/llm_based_response_selector/Dockerfile b/response_selectors/llm_based_response_selector/Dockerfile index 926c22f48d..252715eff7 100644 --- a/response_selectors/llm_based_response_selector/Dockerfile +++ b/response_selectors/llm_based_response_selector/Dockerfile @@ -21,8 +21,8 @@ ARG FILTER_TOXIC_OR_BADLISTED=1 ENV FILTER_TOXIC_OR_BADLISTED ${FILTER_TOXIC_OR_BADLISTED} COPY ./response_selectors/llm_based_response_selector/ /src/ +WORKDIR /src COPY ./common/ ./common/ -WORKDIR /src CMD gunicorn --workers=1 server:app -b 0.0.0.0:${SERVICE_PORT} --timeout=1200 diff --git a/response_selectors/llm_based_response_selector/component.yml b/response_selectors/llm_based_response_selector/component.yml deleted file mode 100644 index f6bb290445..0000000000 --- a/response_selectors/llm_based_response_selector/component.yml +++ /dev/null @@ -1,118 +0,0 @@ -davinci3-based-response-selector: - name: response_selector - display_name: Response Selector - container_name: davinci3-based-response-selector - component_type: null - model_type: Dictionary/Pattern-based - is_customizable: true - author: DeepPavlov - description: Algorithm that selects the final response among the given list of candidate - responses via asking the given LLM service to `Select {CRITERION} response - among the hypotheses to the given dialog context. Return only the selected response - without extra explanations.` where the default CRITERION is `the most appropriate, - relevant and non-toxic`. CRITERION can be customized. - ram_usage: 100M - gpu_usage: null - port: 8003 - endpoints: - - group: response_selectors - endpoint: respond - build_args: - SERVICE_PORT: 8003 - SERVICE_NAME: response_selector - GENERATIVE_SERVICE_URL: http://openai-api-davinci3:8131/respond - GENERATIVE_SERVICE_CONFIG: openai-text-davinci-003-long.json - GENERATIVE_TIMEOUT: 7 - ENVVARS_TO_SEND: OPENAI_API_KEY,OPENAI_ORGANIZATION - N_UTTERANCES_CONTEXT: 5 - FILTER_TOXIC_OR_BADLISTED: 1 - CRITERION: the most appropriate, relevant and non-toxic - date_created: '2023-04-24T09:45:32' -chatgpt-based-response-selector: - name: response_selector - display_name: Response Selector - container_name: chatgpt-based-response-selector - component_type: null - model_type: Dictionary/Pattern-based - is_customizable: true - author: DeepPavlov - description: Algorithm that selects the final response among the given list of candidate - responses via asking the given LLM service to `Select {CRITERION} response - among the hypotheses to the given dialog context. Return only the selected response - without extra explanations.` where the default CRITERION is `the most appropriate, - relevant and non-toxic`. CRITERION can be customized. - ram_usage: 100M - gpu_usage: null - port: 8003 - endpoints: - - group: response_selectors - endpoint: respond - build_args: - SERVICE_PORT: 8003 - SERVICE_NAME: response_selector - GENERATIVE_SERVICE_URL: http://openai-api-chatgpt:8145/respond - GENERATIVE_SERVICE_CONFIG: openai-chatgpt.json - GENERATIVE_TIMEOUT: 7 - ENVVARS_TO_SEND: OPENAI_API_KEY,OPENAI_ORGANIZATION - N_UTTERANCES_CONTEXT: 5 - FILTER_TOXIC_OR_BADLISTED: 1 - CRITERION: the most appropriate, relevant and non-toxic - date_created: '2023-04-24T09:45:32' -oasst12b-based-response-selector: - name: response_selector - display_name: Response Selector - container_name: oasst12b-based-response-selector - component_type: null - model_type: Dictionary/Pattern-based - is_customizable: true - author: DeepPavlov - description: Algorithm that selects the final response among the given list of candidate - responses via asking the given LLM service to `Select {CRITERION} response - among the hypotheses to the given dialog context. Return only the selected response - without extra explanations.` where the default CRITERION is `the most appropriate, - relevant and non-toxic`. CRITERION can be customized. - ram_usage: 100M - gpu_usage: null - port: 8003 - endpoints: - - group: response_selectors - endpoint: respond - build_args: - SERVICE_PORT: 8003 - SERVICE_NAME: response_selector - GENERATIVE_SERVICE_URL: http://transformers-lm-oasst12b:8158/respond - GENERATIVE_SERVICE_CONFIG: default_generative_config.json - GENERATIVE_TIMEOUT: 5 - N_UTTERANCES_CONTEXT: 5 - FILTER_TOXIC_OR_BADLISTED: 1 - CRITERION: the most appropriate, relevant and non-toxic - date_created: '2023-04-24T09:45:32' -gptj-based-response-selector: - name: response_selector - display_name: Response Selector - container_name: gptj-based-response-selector - component_type: null - model_type: Dictionary/Pattern-based - is_customizable: true - author: DeepPavlov - description: Algorithm that selects the final response among the given list of candidate - responses via asking the given LLM service to `Select {CRITERION} response - among the hypotheses to the given dialog context. Return only the selected response - without extra explanations.` where the default CRITERION is `the most appropriate, - relevant and non-toxic`. CRITERION can be customized. - ram_usage: 100M - gpu_usage: null - port: 8003 - endpoints: - - group: response_selectors - endpoint: respond - build_args: - SERVICE_PORT: 8003 - SERVICE_NAME: response_selector - GENERATIVE_SERVICE_URL: http://transformers-lm-gptj:8130/respond - GENERATIVE_SERVICE_CONFIG: default_generative_config.json - GENERATIVE_TIMEOUT: 5 - N_UTTERANCES_CONTEXT: 5 - FILTER_TOXIC_OR_BADLISTED: 1 - CRITERION: the most appropriate, relevant and non-toxic - date_created: '2023-04-24T09:45:32' diff --git a/response_selectors/llm_based_response_selector/pipeline.yml b/response_selectors/llm_based_response_selector/pipeline.yml deleted file mode 100644 index 3a02488613..0000000000 --- a/response_selectors/llm_based_response_selector/pipeline.yml +++ /dev/null @@ -1,40 +0,0 @@ -davinci3-based-response-selector: -- group: response_selectors - connector: - protocol: http - url: http://davinci3-based-response-selector:8003/respond - dialog_formatter: state_formatters.dp_formatters:cropped_dialog - response_formatter: state_formatters.dp_formatters:base_response_selector_formatter_service - previous_services: - - response_annotators - state_manager_method: add_bot_utterance -chatgpt-based-response-selector: -- group: response_selectors - connector: - protocol: http - url: http://chatgpt-based-response-selector:8003/respond - dialog_formatter: state_formatters.dp_formatters:cropped_dialog - response_formatter: state_formatters.dp_formatters:base_response_selector_formatter_service - previous_services: - - response_annotators - state_manager_method: add_bot_utterance -oasst12b-based-response-selector: -- group: response_selectors - connector: - protocol: http - url: http://oasst12b-based-response-selector:8003/respond - dialog_formatter: state_formatters.dp_formatters:cropped_dialog - response_formatter: state_formatters.dp_formatters:base_response_selector_formatter_service - previous_services: - - response_annotators - state_manager_method: add_bot_utterance -gptj-based-response-selector: -- group: response_selectors - connector: - protocol: http - url: http://gptj-based-response-selector:8003/respond - dialog_formatter: state_formatters.dp_formatters:cropped_dialog - response_formatter: state_formatters.dp_formatters:base_response_selector_formatter_service - previous_services: - - response_annotators - state_manager_method: add_bot_utterance diff --git a/response_selectors/ranking_based_response_selector/Dockerfile b/response_selectors/ranking_based_response_selector/Dockerfile index d8306092f7..cf1753c468 100644 --- a/response_selectors/ranking_based_response_selector/Dockerfile +++ b/response_selectors/ranking_based_response_selector/Dockerfile @@ -19,8 +19,8 @@ ARG FILTER_TOXIC_OR_BADLISTED=1 ENV FILTER_TOXIC_OR_BADLISTED ${FILTER_TOXIC_OR_BADLISTED} COPY ./response_selectors/ranking_based_response_selector/ /src/ +WORKDIR /src COPY ./common/ ./common/ -WORKDIR /src CMD gunicorn --workers=1 server:app -b 0.0.0.0:${SERVICE_PORT} --timeout=1200 diff --git a/response_selectors/ranking_based_response_selector/component.yml b/response_selectors/ranking_based_response_selector/component.yml deleted file mode 100644 index cc91c8b6ad..0000000000 --- a/response_selectors/ranking_based_response_selector/component.yml +++ /dev/null @@ -1,100 +0,0 @@ -ranking-based-response-selector-service: - name: response_selector - display_name: Response Selector - container_name: ranking-based-response-selector-service - component_type: null - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: Algorithm that selects the final response among the given list of candidate - responses via the given ranking service - ram_usage: 100M - gpu_usage: null - port: 8002 - endpoints: - - group: response_selectors - endpoint: respond - build_args: - SERVICE_PORT: 8002 - SERVICE_NAME: response_selector - SENTENCE_RANKER_ANNOTATION_NAME: null - SENTENCE_RANKER_SERVICE_URL: http://sentence-ranker:8128/respond - SENTENCE_RANKER_TIMEOUT: 3 - N_UTTERANCES_CONTEXT: 5 - FILTER_TOXIC_OR_BADLISTED: 1 - date_created: '2023-04-24T09:45:32' -ranking-based-response-selector-ru-service: - name: response_selector - display_name: Response Selector - container_name: ranking-based-response-selector-ru-service - component_type: null - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: Algorithm that selects the final response among the given list of candidate - responses via the given ranking service - ram_usage: 100M - gpu_usage: null - port: 8002 - endpoints: - - group: response_selectors - endpoint: respond - build_args: - SERVICE_PORT: 8002 - SERVICE_NAME: response_selector - SENTENCE_RANKER_ANNOTATION_NAME: null - SENTENCE_RANKER_SERVICE_URL: http://dialogrpt-ru:8122/rank_sentences - SENTENCE_RANKER_TIMEOUT: 3 - N_UTTERANCES_CONTEXT: 5 - FILTER_TOXIC_OR_BADLISTED: 1 - date_created: '2023-04-24T09:45:32' -ranking-based-response-selector-ru: - name: response_selector - display_name: Response Selector - container_name: ranking-based-response-selector-ru - component_type: null - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: Algorithm that selects the final response among the given list of candidate - responses via the given ranking service - ram_usage: 100M - gpu_usage: null - port: 8002 - endpoints: - - group: response_selectors - endpoint: respond - 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 - date_created: '2023-04-24T09:45:32' -ranking-based-response-selector: - name: response_selector - display_name: Response Selector - container_name: ranking-based-response-selector - component_type: null - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: Algorithm that selects the final response among the given list of candidate - responses via the given ranking service - ram_usage: 100M - gpu_usage: null - port: 8002 - endpoints: - - group: response_selectors - endpoint: respond - build_args: - SERVICE_PORT: 8002 - SERVICE_NAME: response_selector - SENTENCE_RANKER_ANNOTATION_NAME: sentence_ranker - SENTENCE_RANKER_SERVICE_URL: http://sentence-ranker:8128/respond - SENTENCE_RANKER_TIMEOUT: 3 - N_UTTERANCES_CONTEXT: 5 - FILTER_TOXIC_OR_BADLISTED: 1 - date_created: '2023-04-24T09:45:32' diff --git a/response_selectors/ranking_based_response_selector/pipeline.yml b/response_selectors/ranking_based_response_selector/pipeline.yml deleted file mode 100644 index 8d922583ea..0000000000 --- a/response_selectors/ranking_based_response_selector/pipeline.yml +++ /dev/null @@ -1,40 +0,0 @@ -ranking-based-response-selector-service: -- group: response_selectors - connector: - protocol: http - url: http://ranking-based-response-selector-service:8002/respond - dialog_formatter: state_formatters.dp_formatters:cropped_dialog - response_formatter: state_formatters.dp_formatters:base_response_selector_formatter_service - previous_services: - - response_annotators - state_manager_method: add_bot_utterance -ranking-based-response-selector-ru-service: -- group: response_selectors - connector: - protocol: http - url: http://ranking-based-response-selector-ru-service:8002/respond - dialog_formatter: state_formatters.dp_formatters:cropped_dialog - response_formatter: state_formatters.dp_formatters:base_response_selector_formatter_service - previous_services: - - response_annotators - state_manager_method: add_bot_utterance -ranking-based-response-selector-ru: -- group: response_selectors - connector: - protocol: http - url: http://ranking-based-response-selector-ru:8002/respond - dialog_formatter: state_formatters.dp_formatters:cropped_dialog - response_formatter: state_formatters.dp_formatters:base_response_selector_formatter_service - previous_services: - - response_annotators - state_manager_method: add_bot_utterance -ranking-based-response-selector: -- group: response_selectors - connector: - protocol: http - url: http://ranking-based-response-selector:8002/respond - dialog_formatter: state_formatters.dp_formatters:cropped_dialog - response_formatter: state_formatters.dp_formatters:base_response_selector_formatter_service - previous_services: - - response_annotators - state_manager_method: add_bot_utterance diff --git a/response_selectors/ranking_based_response_selector/service_configs/ranking-based-response-selector-ru/environment.yml b/response_selectors/ranking_based_response_selector/service_configs/ranking-based-response-selector-ru/environment.yml new file mode 100644 index 0000000000..66ea3e7c19 --- /dev/null +++ b/response_selectors/ranking_based_response_selector/service_configs/ranking-based-response-selector-ru/environment.yml @@ -0,0 +1,8 @@ +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 diff --git a/response_selectors/ranking_based_response_selector/service_configs/ranking-based-response-selector-ru/service.yml b/response_selectors/ranking_based_response_selector/service_configs/ranking-based-response-selector-ru/service.yml new file mode 100644 index 0000000000..b6443f9669 --- /dev/null +++ b/response_selectors/ranking_based_response_selector/service_configs/ranking-based-response-selector-ru/service.yml @@ -0,0 +1,29 @@ +name: ranking-based-response-selector-ru +endpoints: +- respond +compose: + 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: + - FLASK_APP=server + deploy: + resources: + limits: + memory: 100M + reservations: + memory: 100M + ports: + - 8002:8002 +proxy: null diff --git a/response_selectors/ranking_based_response_selector/service_configs/ranking-based-response-selector/environment.yml b/response_selectors/ranking_based_response_selector/service_configs/ranking-based-response-selector/environment.yml new file mode 100644 index 0000000000..73abc1177c --- /dev/null +++ b/response_selectors/ranking_based_response_selector/service_configs/ranking-based-response-selector/environment.yml @@ -0,0 +1,8 @@ +SERVICE_PORT: 8002 +SERVICE_NAME: response_selector +SENTENCE_RANKER_ANNOTATION_NAME: sentence_ranker +SENTENCE_RANKER_SERVICE_URL: http://sentence-ranker:8128/respond +SENTENCE_RANKER_TIMEOUT: 3 +N_UTTERANCES_CONTEXT: 5 +FILTER_TOXIC_OR_BADLISTED: 1 +FLASK_APP: server diff --git a/response_selectors/ranking_based_response_selector/service_configs/ranking-based-response-selector/service.yml b/response_selectors/ranking_based_response_selector/service_configs/ranking-based-response-selector/service.yml new file mode 100644 index 0000000000..73e09f1a19 --- /dev/null +++ b/response_selectors/ranking_based_response_selector/service_configs/ranking-based-response-selector/service.yml @@ -0,0 +1,30 @@ +name: ranking-based-response-selector +endpoints: +- respond +compose: + env_file: [ .env ] + build: + args: + SERVICE_PORT: 8002 + SERVICE_NAME: response_selector + LANGUAGE: EN + SENTENCE_RANKER_ANNOTATION_NAME: sentence_ranker + SENTENCE_RANKER_SERVICE_URL: http://sentence-ranker:8128/respond + 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: + - FLASK_APP=server + deploy: + resources: + limits: + memory: 100M + reservations: + memory: 100M + ports: + - 8002:8002 +proxy: null diff --git a/response_selectors/rule_based_response_selector/component.yml b/response_selectors/rule_based_response_selector/component.yml deleted file mode 100644 index 5e76c5b4c1..0000000000 --- a/response_selectors/rule_based_response_selector/component.yml +++ /dev/null @@ -1,20 +0,0 @@ -rule-based-response-selector: - name: response_selector - display_name: Response Selector - container_name: rule-based-response-selector - component_type: null - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: Algorithm that selects a final responses among the given list of candidate - responses - ram_usage: 100M - gpu_usage: null - port: 8005 - endpoints: - - group: response_selectors - endpoint: respond - build_args: - SERVICE_PORT: '8005' - SERVICE_NAME: response_selector - date_created: '2023-03-16T09:45:32' diff --git a/response_selectors/rule_based_response_selector/pipeline.yml b/response_selectors/rule_based_response_selector/pipeline.yml deleted file mode 100644 index 51d27f2d08..0000000000 --- a/response_selectors/rule_based_response_selector/pipeline.yml +++ /dev/null @@ -1,10 +0,0 @@ -rule-based-response-selector: -- group: response_selectors - connector: - protocol: http - url: http://rule-based-response-selector:8005/respond - dialog_formatter: state_formatters.dp_formatters:full_dialog - response_formatter: state_formatters.dp_formatters:base_response_selector_formatter_service - previous_services: - - response_annotators - state_manager_method: add_bot_utterance diff --git a/response_selectors/rule_based_response_selector/service_configs/rule-based-response-selector/environment.yml b/response_selectors/rule_based_response_selector/service_configs/rule-based-response-selector/environment.yml new file mode 100644 index 0000000000..e69de29bb2 diff --git a/response_selectors/rule_based_response_selector/service_configs/rule-based-response-selector/service.yml b/response_selectors/rule_based_response_selector/service_configs/rule-based-response-selector/service.yml new file mode 100644 index 0000000000..1179dc540d --- /dev/null +++ b/response_selectors/rule_based_response_selector/service_configs/rule-based-response-selector/service.yml @@ -0,0 +1,11 @@ +name: rule-based-response-selector +endpoints: +- respond +compose: + build: + context: response_selectors/rule_based_response_selector + command: gunicorn --workers=1 server:app -b 0.0.0.0:8005 + volumes: [] + ports: + - 8005:8005 +proxy: null diff --git a/services/agent_services/service_configs/ai_faq_assistant/environment.yml b/services/agent_services/service_configs/ai_faq_assistant/environment.yml new file mode 100644 index 0000000000..618b8e6b6f --- /dev/null +++ b/services/agent_services/service_configs/ai_faq_assistant/environment.yml @@ -0,0 +1,6 @@ +WAIT_HOSTS: '' +WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} +HIGH_PRIORITY_INTENTS: 1 +RESTRICTION_FOR_SENSITIVE_CASE: 1 +ALWAYS_TURN_ON_ALL_SKILLS: 0 +LANGUAGE: EN diff --git a/services/agent_services/service_configs/ai_faq_assistant/service.yml b/services/agent_services/service_configs/ai_faq_assistant/service.yml new file mode 100644 index 0000000000..e6094a8b47 --- /dev/null +++ b/services/agent_services/service_configs/ai_faq_assistant/service.yml @@ -0,0 +1,17 @@ +name: agent +endpoints: +- respond +compose: + command: sh -c 'bin/wait && python -m deeppavlov_agent.run agent.pipeline_config=assistant_dists/ai_faq_assistant/pipeline_conf.json' + environment: + WAIT_HOSTS: '' + WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} + HIGH_PRIORITY_INTENTS: 1 + RESTRICTION_FOR_SENSITIVE_CASE: 1 + ALWAYS_TURN_ON_ALL_SKILLS: 0 + LANGUAGE: EN + volumes: + - .:/dp-agent + ports: + - 4242:4242 +proxy: null diff --git a/services/agent_services/service_configs/deeppavlov_assistant/environment.yml b/services/agent_services/service_configs/deeppavlov_assistant/environment.yml new file mode 100644 index 0000000000..618b8e6b6f --- /dev/null +++ b/services/agent_services/service_configs/deeppavlov_assistant/environment.yml @@ -0,0 +1,6 @@ +WAIT_HOSTS: '' +WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} +HIGH_PRIORITY_INTENTS: 1 +RESTRICTION_FOR_SENSITIVE_CASE: 1 +ALWAYS_TURN_ON_ALL_SKILLS: 0 +LANGUAGE: EN diff --git a/services/agent_services/service_configs/deeppavlov_assistant/service.yml b/services/agent_services/service_configs/deeppavlov_assistant/service.yml new file mode 100644 index 0000000000..89f787f8c5 --- /dev/null +++ b/services/agent_services/service_configs/deeppavlov_assistant/service.yml @@ -0,0 +1,17 @@ +name: agent +endpoints: +- respond +compose: + command: sh -c 'bin/wait && python -m deeppavlov_agent.run agent.pipeline_config=assistant_dists/deeppavlov_assistant/pipeline_conf.json' + environment: + WAIT_HOSTS: '' + WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} + HIGH_PRIORITY_INTENTS: 1 + RESTRICTION_FOR_SENSITIVE_CASE: 1 + ALWAYS_TURN_ON_ALL_SKILLS: 0 + LANGUAGE: EN + volumes: + - .:/dp-agent + ports: + - 4242:4242 +proxy: null diff --git a/services/agent_services/service_configs/deepy_adv/environment.yml b/services/agent_services/service_configs/deepy_adv/environment.yml new file mode 100644 index 0000000000..618b8e6b6f --- /dev/null +++ b/services/agent_services/service_configs/deepy_adv/environment.yml @@ -0,0 +1,6 @@ +WAIT_HOSTS: '' +WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} +HIGH_PRIORITY_INTENTS: 1 +RESTRICTION_FOR_SENSITIVE_CASE: 1 +ALWAYS_TURN_ON_ALL_SKILLS: 0 +LANGUAGE: EN diff --git a/services/agent_services/service_configs/deepy_adv/service.yml b/services/agent_services/service_configs/deepy_adv/service.yml new file mode 100644 index 0000000000..46ba3e6671 --- /dev/null +++ b/services/agent_services/service_configs/deepy_adv/service.yml @@ -0,0 +1,17 @@ +name: agent +endpoints: +- respond +compose: + command: sh -c 'bin/wait && python -m deeppavlov_agent.run agent.pipeline_config=assistant_dists/deepy_adv/pipeline_conf.json' + environment: + WAIT_HOSTS: '' + WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} + HIGH_PRIORITY_INTENTS: 1 + RESTRICTION_FOR_SENSITIVE_CASE: 1 + ALWAYS_TURN_ON_ALL_SKILLS: 0 + LANGUAGE: EN + volumes: + - .:/dp-agent + ports: + - 4242:4242 +proxy: null diff --git a/services/agent_services/service_configs/deepy_assistant/environment.yml b/services/agent_services/service_configs/deepy_assistant/environment.yml new file mode 100644 index 0000000000..618b8e6b6f --- /dev/null +++ b/services/agent_services/service_configs/deepy_assistant/environment.yml @@ -0,0 +1,6 @@ +WAIT_HOSTS: '' +WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} +HIGH_PRIORITY_INTENTS: 1 +RESTRICTION_FOR_SENSITIVE_CASE: 1 +ALWAYS_TURN_ON_ALL_SKILLS: 0 +LANGUAGE: EN diff --git a/services/agent_services/service_configs/deepy_assistant/service.yml b/services/agent_services/service_configs/deepy_assistant/service.yml new file mode 100644 index 0000000000..cea9ac1fec --- /dev/null +++ b/services/agent_services/service_configs/deepy_assistant/service.yml @@ -0,0 +1,17 @@ +name: agent +endpoints: +- respond +compose: + command: sh -c 'bin/wait && python -m deeppavlov_agent.run agent.pipeline_config=assistant_dists/deepy_assistant/pipeline_conf.json' + environment: + WAIT_HOSTS: '' + WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} + HIGH_PRIORITY_INTENTS: 1 + RESTRICTION_FOR_SENSITIVE_CASE: 1 + ALWAYS_TURN_ON_ALL_SKILLS: 0 + LANGUAGE: EN + volumes: + - .:/dp-agent + ports: + - 4242:4242 +proxy: null diff --git a/services/agent_services/service_configs/deepy_base/environment.yml b/services/agent_services/service_configs/deepy_base/environment.yml new file mode 100644 index 0000000000..618b8e6b6f --- /dev/null +++ b/services/agent_services/service_configs/deepy_base/environment.yml @@ -0,0 +1,6 @@ +WAIT_HOSTS: '' +WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} +HIGH_PRIORITY_INTENTS: 1 +RESTRICTION_FOR_SENSITIVE_CASE: 1 +ALWAYS_TURN_ON_ALL_SKILLS: 0 +LANGUAGE: EN diff --git a/services/agent_services/service_configs/deepy_base/service.yml b/services/agent_services/service_configs/deepy_base/service.yml new file mode 100644 index 0000000000..42fbb3b846 --- /dev/null +++ b/services/agent_services/service_configs/deepy_base/service.yml @@ -0,0 +1,17 @@ +name: agent +endpoints: +- respond +compose: + command: sh -c 'bin/wait && python -m deeppavlov_agent.run agent.pipeline_config=assistant_dists/deepy_base/pipeline_conf.json' + environment: + WAIT_HOSTS: '' + WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} + HIGH_PRIORITY_INTENTS: 1 + RESTRICTION_FOR_SENSITIVE_CASE: 1 + ALWAYS_TURN_ON_ALL_SKILLS: 0 + LANGUAGE: EN + volumes: + - .:/dp-agent + ports: + - 4242:4242 +proxy: null diff --git a/services/agent_services/service_configs/deepy_faq/environment.yml b/services/agent_services/service_configs/deepy_faq/environment.yml new file mode 100644 index 0000000000..618b8e6b6f --- /dev/null +++ b/services/agent_services/service_configs/deepy_faq/environment.yml @@ -0,0 +1,6 @@ +WAIT_HOSTS: '' +WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} +HIGH_PRIORITY_INTENTS: 1 +RESTRICTION_FOR_SENSITIVE_CASE: 1 +ALWAYS_TURN_ON_ALL_SKILLS: 0 +LANGUAGE: EN diff --git a/services/agent_services/service_configs/deepy_faq/service.yml b/services/agent_services/service_configs/deepy_faq/service.yml new file mode 100644 index 0000000000..7f853b8820 --- /dev/null +++ b/services/agent_services/service_configs/deepy_faq/service.yml @@ -0,0 +1,17 @@ +name: agent +endpoints: +- respond +compose: + command: sh -c 'bin/wait && python -m deeppavlov_agent.run agent.pipeline_config=assistant_dists/deepy_faq/pipeline_conf.json' + environment: + WAIT_HOSTS: '' + WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} + HIGH_PRIORITY_INTENTS: 1 + RESTRICTION_FOR_SENSITIVE_CASE: 1 + ALWAYS_TURN_ON_ALL_SKILLS: 0 + LANGUAGE: EN + volumes: + - .:/dp-agent + ports: + - 4242:4242 +proxy: null diff --git a/services/agent_services/service_configs/deepy_gobot_base/environment.yml b/services/agent_services/service_configs/deepy_gobot_base/environment.yml new file mode 100644 index 0000000000..618b8e6b6f --- /dev/null +++ b/services/agent_services/service_configs/deepy_gobot_base/environment.yml @@ -0,0 +1,6 @@ +WAIT_HOSTS: '' +WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} +HIGH_PRIORITY_INTENTS: 1 +RESTRICTION_FOR_SENSITIVE_CASE: 1 +ALWAYS_TURN_ON_ALL_SKILLS: 0 +LANGUAGE: EN diff --git a/services/agent_services/service_configs/deepy_gobot_base/service.yml b/services/agent_services/service_configs/deepy_gobot_base/service.yml new file mode 100644 index 0000000000..b93a3b761c --- /dev/null +++ b/services/agent_services/service_configs/deepy_gobot_base/service.yml @@ -0,0 +1,17 @@ +name: agent +endpoints: +- respond +compose: + command: sh -c 'bin/wait && python -m deeppavlov_agent.run agent.pipeline_config=assistant_dists/deepy_gobot_base/pipeline_conf.json' + environment: + WAIT_HOSTS: '' + WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} + HIGH_PRIORITY_INTENTS: 1 + RESTRICTION_FOR_SENSITIVE_CASE: 1 + ALWAYS_TURN_ON_ALL_SKILLS: 0 + LANGUAGE: EN + volumes: + - .:/dp-agent + ports: + - 4242:4242 +proxy: null diff --git a/services/agent_services/service_configs/dream/environment.yml b/services/agent_services/service_configs/dream/environment.yml new file mode 100644 index 0000000000..618b8e6b6f --- /dev/null +++ b/services/agent_services/service_configs/dream/environment.yml @@ -0,0 +1,6 @@ +WAIT_HOSTS: '' +WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} +HIGH_PRIORITY_INTENTS: 1 +RESTRICTION_FOR_SENSITIVE_CASE: 1 +ALWAYS_TURN_ON_ALL_SKILLS: 0 +LANGUAGE: EN diff --git a/services/agent_services/service_configs/dream/service.yml b/services/agent_services/service_configs/dream/service.yml new file mode 100644 index 0000000000..dd6f5e08d5 --- /dev/null +++ b/services/agent_services/service_configs/dream/service.yml @@ -0,0 +1,17 @@ +name: agent +endpoints: +- respond +compose: + command: sh -c 'bin/wait && python -m deeppavlov_agent.run agent.pipeline_config=assistant_dists/dream/pipeline_conf.json' + environment: + WAIT_HOSTS: '' + WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} + HIGH_PRIORITY_INTENTS: 1 + RESTRICTION_FOR_SENSITIVE_CASE: 1 + ALWAYS_TURN_ON_ALL_SKILLS: 0 + LANGUAGE: EN + volumes: + - .:/dp-agent + ports: + - 4242:4242 +proxy: null diff --git a/services/agent_services/service_configs/dream_alexa/environment.yml b/services/agent_services/service_configs/dream_alexa/environment.yml new file mode 100644 index 0000000000..618b8e6b6f --- /dev/null +++ b/services/agent_services/service_configs/dream_alexa/environment.yml @@ -0,0 +1,6 @@ +WAIT_HOSTS: '' +WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} +HIGH_PRIORITY_INTENTS: 1 +RESTRICTION_FOR_SENSITIVE_CASE: 1 +ALWAYS_TURN_ON_ALL_SKILLS: 0 +LANGUAGE: EN diff --git a/services/agent_services/service_configs/dream_alexa/service.yml b/services/agent_services/service_configs/dream_alexa/service.yml new file mode 100644 index 0000000000..d7d7ebdc7e --- /dev/null +++ b/services/agent_services/service_configs/dream_alexa/service.yml @@ -0,0 +1,17 @@ +name: agent +endpoints: +- respond +compose: + command: sh -c 'bin/wait && python -m deeppavlov_agent.run agent.pipeline_config=assistant_dists/dream_alexa/pipeline_conf.json' + environment: + WAIT_HOSTS: '' + WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} + HIGH_PRIORITY_INTENTS: 1 + RESTRICTION_FOR_SENSITIVE_CASE: 1 + ALWAYS_TURN_ON_ALL_SKILLS: 0 + LANGUAGE: EN + volumes: + - .:/dp-agent + ports: + - 4242:4242 +proxy: null diff --git a/services/agent_services/service_configs/dream_mini/environment.yml b/services/agent_services/service_configs/dream_mini/environment.yml new file mode 100644 index 0000000000..618b8e6b6f --- /dev/null +++ b/services/agent_services/service_configs/dream_mini/environment.yml @@ -0,0 +1,6 @@ +WAIT_HOSTS: '' +WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} +HIGH_PRIORITY_INTENTS: 1 +RESTRICTION_FOR_SENSITIVE_CASE: 1 +ALWAYS_TURN_ON_ALL_SKILLS: 0 +LANGUAGE: EN diff --git a/services/agent_services/service_configs/dream_mini/service.yml b/services/agent_services/service_configs/dream_mini/service.yml new file mode 100644 index 0000000000..2738508e50 --- /dev/null +++ b/services/agent_services/service_configs/dream_mini/service.yml @@ -0,0 +1,17 @@ +name: agent +endpoints: +- respond +compose: + command: sh -c 'bin/wait && python -m deeppavlov_agent.run agent.pipeline_config=assistant_dists/dream_mini/pipeline_conf.json' + environment: + WAIT_HOSTS: '' + WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} + HIGH_PRIORITY_INTENTS: 1 + RESTRICTION_FOR_SENSITIVE_CASE: 1 + ALWAYS_TURN_ON_ALL_SKILLS: 0 + LANGUAGE: EN + volumes: + - .:/dp-agent + ports: + - 4242:4242 +proxy: null diff --git a/services/agent_services/service_configs/dream_mini_persona_based/environment.yml b/services/agent_services/service_configs/dream_mini_persona_based/environment.yml new file mode 100644 index 0000000000..618b8e6b6f --- /dev/null +++ b/services/agent_services/service_configs/dream_mini_persona_based/environment.yml @@ -0,0 +1,6 @@ +WAIT_HOSTS: '' +WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} +HIGH_PRIORITY_INTENTS: 1 +RESTRICTION_FOR_SENSITIVE_CASE: 1 +ALWAYS_TURN_ON_ALL_SKILLS: 0 +LANGUAGE: EN diff --git a/services/agent_services/service_configs/dream_mini_persona_based/service.yml b/services/agent_services/service_configs/dream_mini_persona_based/service.yml new file mode 100644 index 0000000000..9091a79411 --- /dev/null +++ b/services/agent_services/service_configs/dream_mini_persona_based/service.yml @@ -0,0 +1,17 @@ +name: agent +endpoints: +- respond +compose: + command: sh -c 'bin/wait && python -m deeppavlov_agent.run agent.pipeline_config=assistant_dists/dream_mini_persona_based/pipeline_conf.json' + environment: + WAIT_HOSTS: '' + WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} + HIGH_PRIORITY_INTENTS: 1 + RESTRICTION_FOR_SENSITIVE_CASE: 1 + ALWAYS_TURN_ON_ALL_SKILLS: 0 + LANGUAGE: EN + volumes: + - .:/dp-agent + ports: + - 4242:4242 +proxy: null diff --git a/services/agent_services/service_configs/dream_multilingual/environment.yml b/services/agent_services/service_configs/dream_multilingual/environment.yml new file mode 100644 index 0000000000..618b8e6b6f --- /dev/null +++ b/services/agent_services/service_configs/dream_multilingual/environment.yml @@ -0,0 +1,6 @@ +WAIT_HOSTS: '' +WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} +HIGH_PRIORITY_INTENTS: 1 +RESTRICTION_FOR_SENSITIVE_CASE: 1 +ALWAYS_TURN_ON_ALL_SKILLS: 0 +LANGUAGE: EN diff --git a/services/agent_services/service_configs/dream_multilingual/service.yml b/services/agent_services/service_configs/dream_multilingual/service.yml new file mode 100644 index 0000000000..fa5acc1ff6 --- /dev/null +++ b/services/agent_services/service_configs/dream_multilingual/service.yml @@ -0,0 +1,17 @@ +name: agent +endpoints: +- respond +compose: + command: sh -c 'bin/wait && python -m deeppavlov_agent.run agent.pipeline_config=assistant_dists/dream_multilingual/pipeline_conf.json' + environment: + WAIT_HOSTS: '' + WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} + HIGH_PRIORITY_INTENTS: 1 + RESTRICTION_FOR_SENSITIVE_CASE: 1 + ALWAYS_TURN_ON_ALL_SKILLS: 0 + LANGUAGE: EN + volumes: + - .:/dp-agent + ports: + - 4242:4242 +proxy: null diff --git a/services/agent_services/service_configs/dream_multimodal/environment.yml b/services/agent_services/service_configs/dream_multimodal/environment.yml new file mode 100644 index 0000000000..618b8e6b6f --- /dev/null +++ b/services/agent_services/service_configs/dream_multimodal/environment.yml @@ -0,0 +1,6 @@ +WAIT_HOSTS: '' +WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} +HIGH_PRIORITY_INTENTS: 1 +RESTRICTION_FOR_SENSITIVE_CASE: 1 +ALWAYS_TURN_ON_ALL_SKILLS: 0 +LANGUAGE: EN diff --git a/services/agent_services/service_configs/dream_multimodal/service.yml b/services/agent_services/service_configs/dream_multimodal/service.yml new file mode 100644 index 0000000000..f0f303acd0 --- /dev/null +++ b/services/agent_services/service_configs/dream_multimodal/service.yml @@ -0,0 +1,17 @@ +name: agent +endpoints: +- respond +compose: + command: sh -c 'bin/wait && python -m deeppavlov_agent.run agent.pipeline_config=assistant_dists/dream_multimodal/pipeline_conf.json' + environment: + WAIT_HOSTS: '' + WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} + HIGH_PRIORITY_INTENTS: 1 + RESTRICTION_FOR_SENSITIVE_CASE: 1 + ALWAYS_TURN_ON_ALL_SKILLS: 0 + LANGUAGE: EN + volumes: + - .:/dp-agent + ports: + - 4242:4242 +proxy: null diff --git a/services/agent_services/service_configs/dream_persona_openai_prompted/environment.yml b/services/agent_services/service_configs/dream_persona_openai_prompted/environment.yml new file mode 100644 index 0000000000..618b8e6b6f --- /dev/null +++ b/services/agent_services/service_configs/dream_persona_openai_prompted/environment.yml @@ -0,0 +1,6 @@ +WAIT_HOSTS: '' +WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} +HIGH_PRIORITY_INTENTS: 1 +RESTRICTION_FOR_SENSITIVE_CASE: 1 +ALWAYS_TURN_ON_ALL_SKILLS: 0 +LANGUAGE: EN diff --git a/services/agent_services/service_configs/dream_persona_openai_prompted/service.yml b/services/agent_services/service_configs/dream_persona_openai_prompted/service.yml new file mode 100644 index 0000000000..7c00621851 --- /dev/null +++ b/services/agent_services/service_configs/dream_persona_openai_prompted/service.yml @@ -0,0 +1,17 @@ +name: agent +endpoints: +- respond +compose: + command: sh -c 'bin/wait && python -m deeppavlov_agent.run agent.pipeline_config=assistant_dists/dream_persona_openai_prompted/pipeline_conf.json' + environment: + WAIT_HOSTS: '' + WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} + HIGH_PRIORITY_INTENTS: 1 + RESTRICTION_FOR_SENSITIVE_CASE: 1 + ALWAYS_TURN_ON_ALL_SKILLS: 0 + LANGUAGE: EN + volumes: + - .:/dp-agent + ports: + - 4242:4242 +proxy: null diff --git a/services/agent_services/service_configs/dream_persona_prompted/environment.yml b/services/agent_services/service_configs/dream_persona_prompted/environment.yml new file mode 100644 index 0000000000..618b8e6b6f --- /dev/null +++ b/services/agent_services/service_configs/dream_persona_prompted/environment.yml @@ -0,0 +1,6 @@ +WAIT_HOSTS: '' +WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} +HIGH_PRIORITY_INTENTS: 1 +RESTRICTION_FOR_SENSITIVE_CASE: 1 +ALWAYS_TURN_ON_ALL_SKILLS: 0 +LANGUAGE: EN diff --git a/services/agent_services/service_configs/dream_persona_prompted/service.yml b/services/agent_services/service_configs/dream_persona_prompted/service.yml new file mode 100644 index 0000000000..cdd292eefa --- /dev/null +++ b/services/agent_services/service_configs/dream_persona_prompted/service.yml @@ -0,0 +1,17 @@ +name: agent +endpoints: +- respond +compose: + command: sh -c 'bin/wait && python -m deeppavlov_agent.run agent.pipeline_config=assistant_dists/dream_persona_prompted/pipeline_conf.json' + environment: + WAIT_HOSTS: '' + WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} + HIGH_PRIORITY_INTENTS: 1 + RESTRICTION_FOR_SENSITIVE_CASE: 1 + ALWAYS_TURN_ON_ALL_SKILLS: 0 + LANGUAGE: EN + volumes: + - .:/dp-agent + ports: + - 4242:4242 +proxy: null diff --git a/services/agent_services/service_configs/dream_russian/environment.yml b/services/agent_services/service_configs/dream_russian/environment.yml new file mode 100644 index 0000000000..618b8e6b6f --- /dev/null +++ b/services/agent_services/service_configs/dream_russian/environment.yml @@ -0,0 +1,6 @@ +WAIT_HOSTS: '' +WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} +HIGH_PRIORITY_INTENTS: 1 +RESTRICTION_FOR_SENSITIVE_CASE: 1 +ALWAYS_TURN_ON_ALL_SKILLS: 0 +LANGUAGE: EN diff --git a/services/agent_services/service_configs/dream_russian/service.yml b/services/agent_services/service_configs/dream_russian/service.yml new file mode 100644 index 0000000000..6c1bb45217 --- /dev/null +++ b/services/agent_services/service_configs/dream_russian/service.yml @@ -0,0 +1,17 @@ +name: agent +endpoints: +- respond +compose: + command: sh -c 'bin/wait && python -m deeppavlov_agent.run agent.pipeline_config=assistant_dists/dream_russian/pipeline_conf.json' + environment: + WAIT_HOSTS: '' + WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} + HIGH_PRIORITY_INTENTS: 1 + RESTRICTION_FOR_SENSITIVE_CASE: 1 + ALWAYS_TURN_ON_ALL_SKILLS: 0 + LANGUAGE: EN + volumes: + - .:/dp-agent + ports: + - 4242:4242 +proxy: null diff --git a/services/agent_services/service_configs/dream_sfc/environment.yml b/services/agent_services/service_configs/dream_sfc/environment.yml new file mode 100644 index 0000000000..618b8e6b6f --- /dev/null +++ b/services/agent_services/service_configs/dream_sfc/environment.yml @@ -0,0 +1,6 @@ +WAIT_HOSTS: '' +WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} +HIGH_PRIORITY_INTENTS: 1 +RESTRICTION_FOR_SENSITIVE_CASE: 1 +ALWAYS_TURN_ON_ALL_SKILLS: 0 +LANGUAGE: EN diff --git a/services/agent_services/service_configs/dream_sfc/service.yml b/services/agent_services/service_configs/dream_sfc/service.yml new file mode 100644 index 0000000000..ccf0a4c886 --- /dev/null +++ b/services/agent_services/service_configs/dream_sfc/service.yml @@ -0,0 +1,17 @@ +name: agent +endpoints: +- respond +compose: + command: sh -c 'bin/wait && python -m deeppavlov_agent.run agent.pipeline_config=assistant_dists/dream_sfc/pipeline_conf.json' + environment: + WAIT_HOSTS: '' + WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} + HIGH_PRIORITY_INTENTS: 1 + RESTRICTION_FOR_SENSITIVE_CASE: 1 + ALWAYS_TURN_ON_ALL_SKILLS: 0 + LANGUAGE: EN + volumes: + - .:/dp-agent + ports: + - 4242:4242 +proxy: null diff --git a/services/agent_services/service_configs/fairytale_assistant/environment.yml b/services/agent_services/service_configs/fairytale_assistant/environment.yml new file mode 100644 index 0000000000..618b8e6b6f --- /dev/null +++ b/services/agent_services/service_configs/fairytale_assistant/environment.yml @@ -0,0 +1,6 @@ +WAIT_HOSTS: '' +WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} +HIGH_PRIORITY_INTENTS: 1 +RESTRICTION_FOR_SENSITIVE_CASE: 1 +ALWAYS_TURN_ON_ALL_SKILLS: 0 +LANGUAGE: EN diff --git a/services/agent_services/service_configs/fairytale_assistant/service.yml b/services/agent_services/service_configs/fairytale_assistant/service.yml new file mode 100644 index 0000000000..be585efe24 --- /dev/null +++ b/services/agent_services/service_configs/fairytale_assistant/service.yml @@ -0,0 +1,17 @@ +name: agent +endpoints: +- respond +compose: + command: sh -c 'bin/wait && python -m deeppavlov_agent.run agent.pipeline_config=assistant_dists/fairytale_assistant/pipeline_conf.json' + environment: + WAIT_HOSTS: '' + WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} + HIGH_PRIORITY_INTENTS: 1 + RESTRICTION_FOR_SENSITIVE_CASE: 1 + ALWAYS_TURN_ON_ALL_SKILLS: 0 + LANGUAGE: EN + volumes: + - .:/dp-agent + ports: + - 4242:4242 +proxy: null diff --git a/services/agent_services/service_configs/fashion_stylist_assistant/environment.yml b/services/agent_services/service_configs/fashion_stylist_assistant/environment.yml new file mode 100644 index 0000000000..618b8e6b6f --- /dev/null +++ b/services/agent_services/service_configs/fashion_stylist_assistant/environment.yml @@ -0,0 +1,6 @@ +WAIT_HOSTS: '' +WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} +HIGH_PRIORITY_INTENTS: 1 +RESTRICTION_FOR_SENSITIVE_CASE: 1 +ALWAYS_TURN_ON_ALL_SKILLS: 0 +LANGUAGE: EN diff --git a/services/agent_services/service_configs/fashion_stylist_assistant/service.yml b/services/agent_services/service_configs/fashion_stylist_assistant/service.yml new file mode 100644 index 0000000000..151467527b --- /dev/null +++ b/services/agent_services/service_configs/fashion_stylist_assistant/service.yml @@ -0,0 +1,17 @@ +name: agent +endpoints: +- respond +compose: + command: sh -c 'bin/wait && python -m deeppavlov_agent.run agent.pipeline_config=assistant_dists/fashion_stylist_assistant/pipeline_conf.json' + environment: + WAIT_HOSTS: '' + WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} + HIGH_PRIORITY_INTENTS: 1 + RESTRICTION_FOR_SENSITIVE_CASE: 1 + ALWAYS_TURN_ON_ALL_SKILLS: 0 + LANGUAGE: EN + volumes: + - .:/dp-agent + ports: + - 4242:4242 +proxy: null diff --git a/services/agent_services/service_configs/life_coaching_assistant/environment.yml b/services/agent_services/service_configs/life_coaching_assistant/environment.yml new file mode 100644 index 0000000000..618b8e6b6f --- /dev/null +++ b/services/agent_services/service_configs/life_coaching_assistant/environment.yml @@ -0,0 +1,6 @@ +WAIT_HOSTS: '' +WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} +HIGH_PRIORITY_INTENTS: 1 +RESTRICTION_FOR_SENSITIVE_CASE: 1 +ALWAYS_TURN_ON_ALL_SKILLS: 0 +LANGUAGE: EN diff --git a/services/agent_services/service_configs/life_coaching_assistant/service.yml b/services/agent_services/service_configs/life_coaching_assistant/service.yml new file mode 100644 index 0000000000..f66f947b7f --- /dev/null +++ b/services/agent_services/service_configs/life_coaching_assistant/service.yml @@ -0,0 +1,17 @@ +name: agent +endpoints: +- respond +compose: + command: sh -c 'bin/wait && python -m deeppavlov_agent.run agent.pipeline_config=assistant_dists/life_coaching_assistant/pipeline_conf.json' + environment: + WAIT_HOSTS: '' + WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} + HIGH_PRIORITY_INTENTS: 1 + RESTRICTION_FOR_SENSITIVE_CASE: 1 + ALWAYS_TURN_ON_ALL_SKILLS: 0 + LANGUAGE: EN + volumes: + - .:/dp-agent + ports: + - 4242:4242 +proxy: null diff --git a/services/agent_services/service_configs/marketing_assistant/environment.yml b/services/agent_services/service_configs/marketing_assistant/environment.yml new file mode 100644 index 0000000000..618b8e6b6f --- /dev/null +++ b/services/agent_services/service_configs/marketing_assistant/environment.yml @@ -0,0 +1,6 @@ +WAIT_HOSTS: '' +WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} +HIGH_PRIORITY_INTENTS: 1 +RESTRICTION_FOR_SENSITIVE_CASE: 1 +ALWAYS_TURN_ON_ALL_SKILLS: 0 +LANGUAGE: EN diff --git a/services/agent_services/service_configs/marketing_assistant/service.yml b/services/agent_services/service_configs/marketing_assistant/service.yml new file mode 100644 index 0000000000..cb69a4c080 --- /dev/null +++ b/services/agent_services/service_configs/marketing_assistant/service.yml @@ -0,0 +1,17 @@ +name: agent +endpoints: +- respond +compose: + command: sh -c 'bin/wait && python -m deeppavlov_agent.run agent.pipeline_config=assistant_dists/marketing_assistant/pipeline_conf.json' + environment: + WAIT_HOSTS: '' + WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} + HIGH_PRIORITY_INTENTS: 1 + RESTRICTION_FOR_SENSITIVE_CASE: 1 + ALWAYS_TURN_ON_ALL_SKILLS: 0 + LANGUAGE: EN + volumes: + - .:/dp-agent + ports: + - 4242:4242 +proxy: null diff --git a/services/agent_services/service_configs/multiskill_ai_assistant/environment.yml b/services/agent_services/service_configs/multiskill_ai_assistant/environment.yml new file mode 100644 index 0000000000..618b8e6b6f --- /dev/null +++ b/services/agent_services/service_configs/multiskill_ai_assistant/environment.yml @@ -0,0 +1,6 @@ +WAIT_HOSTS: '' +WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} +HIGH_PRIORITY_INTENTS: 1 +RESTRICTION_FOR_SENSITIVE_CASE: 1 +ALWAYS_TURN_ON_ALL_SKILLS: 0 +LANGUAGE: EN diff --git a/services/agent_services/service_configs/multiskill_ai_assistant/service.yml b/services/agent_services/service_configs/multiskill_ai_assistant/service.yml new file mode 100644 index 0000000000..ae65b5ac95 --- /dev/null +++ b/services/agent_services/service_configs/multiskill_ai_assistant/service.yml @@ -0,0 +1,17 @@ +name: agent +endpoints: +- respond +compose: + command: sh -c 'bin/wait && python -m deeppavlov_agent.run agent.pipeline_config=assistant_dists/multiskill_ai_assistant/pipeline_conf.json' + environment: + WAIT_HOSTS: '' + WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} + HIGH_PRIORITY_INTENTS: 1 + RESTRICTION_FOR_SENSITIVE_CASE: 1 + ALWAYS_TURN_ON_ALL_SKILLS: 0 + LANGUAGE: EN + volumes: + - .:/dp-agent + ports: + - 4242:4242 +proxy: null diff --git a/services/agent_services/service_configs/nutrition_assistant/environment.yml b/services/agent_services/service_configs/nutrition_assistant/environment.yml new file mode 100644 index 0000000000..618b8e6b6f --- /dev/null +++ b/services/agent_services/service_configs/nutrition_assistant/environment.yml @@ -0,0 +1,6 @@ +WAIT_HOSTS: '' +WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} +HIGH_PRIORITY_INTENTS: 1 +RESTRICTION_FOR_SENSITIVE_CASE: 1 +ALWAYS_TURN_ON_ALL_SKILLS: 0 +LANGUAGE: EN diff --git a/services/agent_services/service_configs/nutrition_assistant/service.yml b/services/agent_services/service_configs/nutrition_assistant/service.yml new file mode 100644 index 0000000000..977609fd26 --- /dev/null +++ b/services/agent_services/service_configs/nutrition_assistant/service.yml @@ -0,0 +1,17 @@ +name: agent +endpoints: +- respond +compose: + command: sh -c 'bin/wait && python -m deeppavlov_agent.run agent.pipeline_config=assistant_dists/nutrition_assistant/pipeline_conf.json' + environment: + WAIT_HOSTS: '' + WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} + HIGH_PRIORITY_INTENTS: 1 + RESTRICTION_FOR_SENSITIVE_CASE: 1 + ALWAYS_TURN_ON_ALL_SKILLS: 0 + LANGUAGE: EN + volumes: + - .:/dp-agent + ports: + - 4242:4242 +proxy: null diff --git a/services/agent_services/service_configs/universal_prompted_assistant/environment.yml b/services/agent_services/service_configs/universal_prompted_assistant/environment.yml new file mode 100644 index 0000000000..618b8e6b6f --- /dev/null +++ b/services/agent_services/service_configs/universal_prompted_assistant/environment.yml @@ -0,0 +1,6 @@ +WAIT_HOSTS: '' +WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} +HIGH_PRIORITY_INTENTS: 1 +RESTRICTION_FOR_SENSITIVE_CASE: 1 +ALWAYS_TURN_ON_ALL_SKILLS: 0 +LANGUAGE: EN diff --git a/services/agent_services/service_configs/universal_prompted_assistant/service.yml b/services/agent_services/service_configs/universal_prompted_assistant/service.yml new file mode 100644 index 0000000000..822bf7d7db --- /dev/null +++ b/services/agent_services/service_configs/universal_prompted_assistant/service.yml @@ -0,0 +1,17 @@ +name: agent +endpoints: +- respond +compose: + command: sh -c 'bin/wait && python -m deeppavlov_agent.run agent.pipeline_config=assistant_dists/universal_prompted_assistant/pipeline_conf.json' + environment: + WAIT_HOSTS: '' + WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} + HIGH_PRIORITY_INTENTS: 1 + RESTRICTION_FOR_SENSITIVE_CASE: 1 + ALWAYS_TURN_ON_ALL_SKILLS: 0 + LANGUAGE: EN + volumes: + - .:/dp-agent + ports: + - 4242:4242 +proxy: null diff --git a/services/dialogpt/component.yml b/services/dialogpt/component.yml deleted file mode 100644 index 8dcece78ed..0000000000 --- a/services/dialogpt/component.yml +++ /dev/null @@ -1,27 +0,0 @@ -dialogpt: - name: dialogpt - display_name: DialoGPT - container_name: dialogpt - component_type: Generative - model_type: NN-based - is_customizable: false - author: DeepPavlov - description: generative service based on Transformers generative model, the model - is set in docker compose argument `PRETRAINED_MODEL_NAME_OR_PATH` (for example, - `microsoft/DialoGPT-small` with 0.2-0.5 sec on GPU) - ram_usage: 1.2G - gpu_usage: 2.1G - port: 8125 - endpoints: - - group: skills - endpoint: respond - - group: services - endpoint: continue - build_args: - SERVICE_PORT: 8125 - SERVICE_NAME: dialogpt - PRETRAINED_MODEL_NAME_OR_PATH: microsoft/DialoGPT-medium - N_HYPOTHESES_TO_GENERATE: 5 - CONFIG_NAME: dialogpt_en.json - MAX_HISTORY_DEPTH: 2 - date_created: '2023-03-16T09:45:32' diff --git a/services/dialogpt/pipeline.yml b/services/dialogpt/pipeline.yml deleted file mode 100644 index 345d55b91b..0000000000 --- a/services/dialogpt/pipeline.yml +++ /dev/null @@ -1,11 +0,0 @@ -dialogpt: -- group: skills - connector: - protocol: http - timeout: 3.0 - url: http://dialogpt:8125/respond - dialog_formatter: state_formatters.dp_formatters:last_utt_and_history_dialog - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis diff --git a/services/dialogpt/service_configs/dialogpt/environment.yml b/services/dialogpt/service_configs/dialogpt/environment.yml new file mode 100644 index 0000000000..8681c55d6e --- /dev/null +++ b/services/dialogpt/service_configs/dialogpt/environment.yml @@ -0,0 +1,8 @@ +SERVICE_PORT: 8125 +SERVICE_NAME: dialogpt +PRETRAINED_MODEL_NAME_OR_PATH: microsoft/DialoGPT-medium +N_HYPOTHESES_TO_GENERATE: 5 +CONFIG_NAME: dialogpt_en.json +MAX_HISTORY_DEPTH: 2 +CUDA_VISIBLE_DEVICES: '0' +FLASK_APP: server diff --git a/services/dialogpt/service_configs/dialogpt/service.yml b/services/dialogpt/service_configs/dialogpt/service.yml new file mode 100644 index 0000000000..8fc6065e26 --- /dev/null +++ b/services/dialogpt/service_configs/dialogpt/service.yml @@ -0,0 +1,46 @@ +name: dialogpt +endpoints: +- respond +- continue +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8125 + SERVICE_NAME: dialogpt + PRETRAINED_MODEL_NAME_OR_PATH: microsoft/DialoGPT-medium + N_HYPOTHESES_TO_GENERATE: 5 + CONFIG_NAME: dialogpt_en.json + MAX_HISTORY_DEPTH: 2 + CUDA_VISIBLE_DEVICES: '0' + FLASK_APP: server + context: . + dockerfile: ./services/dialogpt/Dockerfile + command: flask run -h 0.0.0.0 -p 8125 + environment: + - CUDA_VISIBLE_DEVICES=0 + - FLASK_APP=server + deploy: + resources: + limits: + memory: 2G + reservations: + memory: 2G + volumes: + - ./services/dialogpt:/src + - ./common:/src/common + - ~/.deeppavlov/cache:/root/.cache + ports: + - 8125:8125 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8125 + - PORT=8125 diff --git a/services/dialogrpt_ru/component.yml b/services/dialogrpt_ru/component.yml deleted file mode 100644 index c0faa4be9b..0000000000 --- a/services/dialogrpt_ru/component.yml +++ /dev/null @@ -1,22 +0,0 @@ -dialogrpt-ru: - name: dialogrpt - display_name: DialogRPT - container_name: dialogrpt-ru - component_type: null - model_type: NN-based - is_customizable: false - author: DeepPavlov - description: DialogRPT model which is based on [Russian DialoGPT by DeepPavlov](https://huggingface.co/DeepPavlov/rudialogpt3_medium_based_on_gpt2_v2) - and fine-tuned on Russian Pikabu Comment sequences - ram_usage: 3.8G - gpu_usage: 2G - port: 8122 - endpoints: - - group: candidate_annotators - endpoint: respond - build_args: - SERVICE_PORT: 8122 - PRETRAINED_MODEL_FNAME: dialogrpt_ru_ckpt_v0.pth - TOKENIZER_NAME_OR_PATH: DeepPavlov/rudialogpt3_medium_based_on_gpt2_v2 - SERVICE_NAME: dialogrpt - date_created: '2023-03-16T09:45:32' diff --git a/services/dialogrpt_ru/pipeline.yml b/services/dialogrpt_ru/pipeline.yml deleted file mode 100644 index cacb247a9d..0000000000 --- a/services/dialogrpt_ru/pipeline.yml +++ /dev/null @@ -1,11 +0,0 @@ -dialogrpt-ru: -- group: candidate_annotators - connector: - protocol: http - timeout: 1.0 - url: http://dialogrpt-ru:8122/respond - dialog_formatter: state_formatters.dp_formatters:hypotheses_with_context_list - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - skills - state_manager_method: add_hypothesis_annotation_batch diff --git a/services/dialogrpt_ru/service_configs/dialogrpt-ru/environment.yml b/services/dialogrpt_ru/service_configs/dialogrpt-ru/environment.yml new file mode 100644 index 0000000000..bd339cfc59 --- /dev/null +++ b/services/dialogrpt_ru/service_configs/dialogrpt-ru/environment.yml @@ -0,0 +1,5 @@ +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 diff --git a/services/dialogrpt_ru/service_configs/dialogrpt-ru/service.yml b/services/dialogrpt_ru/service_configs/dialogrpt-ru/service.yml new file mode 100644 index 0000000000..7b4dbb5af3 --- /dev/null +++ b/services/dialogrpt_ru/service_configs/dialogrpt-ru/service.yml @@ -0,0 +1,30 @@ +name: dialogrpt-ru +endpoints: +- respond +compose: + env_file: + - .env_ru + build: + context: ./services/dialogrpt_ru/ + 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 + command: flask run -h 0.0.0.0 -p 8122 + environment: + - CUDA_VISIBLE_DEVICES=0 + - FLASK_APP=server + deploy: + resources: + limits: + memory: 4G + reservations: + memory: 4G + volumes: + - ./services/dialogrpt_ru:/src + - ~/.deeppavlov/cache:/root/.cache + ports: + - 8122:8122 +proxy: null diff --git a/services/gpt2_generator/component.yml b/services/gpt2_generator/component.yml deleted file mode 100644 index 1b59ef76a5..0000000000 --- a/services/gpt2_generator/component.yml +++ /dev/null @@ -1,24 +0,0 @@ -gpt2-multilingual: - name: gpt2_generator - display_name: GPT-2 Multilingual - container_name: gpt2-multilingual - component_type: Script-based with NNs - model_type: NN-based - is_customizable: false - author: DeepPavlov - description: GPT2-based generative model. For Multilingual distribution we propose - mgpt by Sberbank [from HugginFace](https://huggingface.co/sberbank-ai/mGPT) - ram_usage: 5G - gpu_usage: 6.5G - port: 8132 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8132 - SERVICE_NAME: gpt2_generator - CONFIG_NAME: mgpt.json - PRETRAINED_MODEL_NAME_OR_PATH: sberbank-ai/mGPT - N_HYPOTHESES_TO_GENERATE: 3 - MAX_HISTORY_DEPTH: 3 - date_created: '2023-03-16T09:45:32' diff --git a/services/gpt2_generator/pipeline.yml b/services/gpt2_generator/pipeline.yml deleted file mode 100644 index 62bb5f7a46..0000000000 --- a/services/gpt2_generator/pipeline.yml +++ /dev/null @@ -1,11 +0,0 @@ -gpt2-multilingual: -- group: skills - connector: - protocol: http - timeout: 5.0 - url: http://gpt2-multilingual:8132/respond - dialog_formatter: state_formatters.dp_formatters:last_utt_and_history_dialog - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis diff --git a/services/gpt2_generator/service_configs/gpt2-multilingual/environment.yml b/services/gpt2_generator/service_configs/gpt2-multilingual/environment.yml new file mode 100644 index 0000000000..ced46ac6ef --- /dev/null +++ b/services/gpt2_generator/service_configs/gpt2-multilingual/environment.yml @@ -0,0 +1,8 @@ +SERVICE_PORT: 8132 +SERVICE_NAME: gpt2_generator +CONFIG_NAME: mgpt.json +PRETRAINED_MODEL_NAME_OR_PATH: sberbank-ai/mGPT +N_HYPOTHESES_TO_GENERATE: 3 +MAX_HISTORY_DEPTH: 3 +CUDA_VISIBLE_DEVICES: '0' +FLASK_APP: server diff --git a/services/gpt2_generator/service_configs/gpt2-multilingual/service.yml b/services/gpt2_generator/service_configs/gpt2-multilingual/service.yml new file mode 100644 index 0000000000..691081cd6e --- /dev/null +++ b/services/gpt2_generator/service_configs/gpt2-multilingual/service.yml @@ -0,0 +1,33 @@ +name: gpt2-multilingual +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8132 + SERVICE_NAME: gpt2_generator + CONFIG_NAME: mgpt.json + PRETRAINED_MODEL_NAME_OR_PATH: sberbank-ai/mGPT + N_HYPOTHESES_TO_GENERATE: 3 + MAX_HISTORY_DEPTH: 3 + CUDA_VISIBLE_DEVICES: '0' + FLASK_APP: server + context: ./services/gpt2_generator/ + command: flask run -h 0.0.0.0 -p 8132 + environment: + - CUDA_VISIBLE_DEVICES=0 + - FLASK_APP=server + deploy: + resources: + limits: + memory: 6G + reservations: + memory: 6G + volumes: + - ./services/gpt2_generator:/src + - ~/.deeppavlov/cache:/root/.cache + ports: + - 8132:8132 +proxy: null diff --git a/services/image_captioning/component.yml b/services/image_captioning/component.yml deleted file mode 100644 index c8aaa589bf..0000000000 --- a/services/image_captioning/component.yml +++ /dev/null @@ -1,19 +0,0 @@ -image-captioning: - name: image_captioning - display_name: Image Captioning - container_name: image-captioning - component_type: null - model_type: NN-based - is_customizable: false - author: DeepPavlov - description: creates text representation of a received image - ram_usage: 4G - gpu_usage: 5.4G - port: 8123 - endpoints: - - group: annotators - endpoint: respond - build_args: - SERVICE_PORT: 8123 - SERVICE_NAME: image_captioning - date_created: '2023-03-16T09:45:32' diff --git a/services/image_captioning/pipeline.yml b/services/image_captioning/pipeline.yml deleted file mode 100644 index 15a7438e79..0000000000 --- a/services/image_captioning/pipeline.yml +++ /dev/null @@ -1,9 +0,0 @@ -image-captioning: -- group: annotators - connector: - protocol: http - timeout: 3.0 - url: http://image-captioning:8123/respond - dialog_formatter: state_formatters.dp_formatters:image_captioning_formatter - response_formatter: state_formatters.dp_formatters:simple_formatter_service - state_manager_method: add_annotation diff --git a/services/image_captioning/service_configs/image-captioning/environment.yml b/services/image_captioning/service_configs/image-captioning/environment.yml new file mode 100644 index 0000000000..9e57740afe --- /dev/null +++ b/services/image_captioning/service_configs/image-captioning/environment.yml @@ -0,0 +1,4 @@ +SERVICE_PORT: 8123 +SERVICE_NAME: image_captioning +CUDA_VISIBLE_DEVICES: '0' +FLASK_APP: server diff --git a/services/image_captioning/service_configs/image-captioning/service.yml b/services/image_captioning/service_configs/image-captioning/service.yml new file mode 100644 index 0000000000..8579570634 --- /dev/null +++ b/services/image_captioning/service_configs/image-captioning/service.yml @@ -0,0 +1,29 @@ +name: image-captioning +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8123 + SERVICE_NAME: image_captioning + CUDA_VISIBLE_DEVICES: '0' + FLASK_APP: server + context: ./services/image_captioning/ + command: flask run -h 0.0.0.0 -p 8123 + environment: + - CUDA_VISIBLE_DEVICES=0 + - FLASK_APP=server + deploy: + resources: + limits: + memory: 5G + reservations: + memory: 5G + volumes: + - ./services/image_captioning:/src + - ~/.deeppavlov/file_server:/tmp + ports: + - 8123:8123 +proxy: null diff --git a/services/infilling/component.yml b/services/infilling/component.yml deleted file mode 100644 index d9a6ad2634..0000000000 --- a/services/infilling/component.yml +++ /dev/null @@ -1,21 +0,0 @@ -infilling: - name: infilling - display_name: Infilling - container_name: infilling - component_type: null - model_type: NN-based - is_customizable: false - author: DeepPavlov - description: (turned off but the code is available) generative service based on - Infilling model, for the given utterance returns utterance where `_` from original - text is replaced with generated tokens - ram_usage: 1G - gpu_usage: 1.2G - port: 8122 - endpoints: - - group: services - endpoint: respond - build_args: - SERVICE_PORT: 8139 - SERVICE_NAME: infilling - date_created: '2023-03-16T09:45:32' diff --git a/services/infilling/service_configs/infilling/environment.yml b/services/infilling/service_configs/infilling/environment.yml new file mode 100644 index 0000000000..43c2ea6272 --- /dev/null +++ b/services/infilling/service_configs/infilling/environment.yml @@ -0,0 +1,4 @@ +SERVICE_PORT: 8139 +SERVICE_NAME: infilling +CUDA_VISIBLE_DEVICES: '0' +FLASK_APP: server diff --git a/services/infilling/service_configs/infilling/service.yml b/services/infilling/service_configs/infilling/service.yml new file mode 100644 index 0000000000..0756d71533 --- /dev/null +++ b/services/infilling/service_configs/infilling/service.yml @@ -0,0 +1,29 @@ +name: infilling +endpoints: +- respond +compose: + env_file: + - .env + build: + context: ./services/infilling/ + args: + SERVICE_PORT: 8139 + SERVICE_NAME: infilling + CUDA_VISIBLE_DEVICES: '0' + FLASK_APP: server + command: flask run -h 0.0.0.0 -p 8139 + environment: + - CUDA_VISIBLE_DEVICES=0 + - FLASK_APP=server + deploy: + resources: + limits: + memory: 2.5G + reservations: + memory: 2.5G + volumes: + - ./services/infilling:/src + - ~/.deeppavlov:/root/.deeppavlov + ports: + - 8139:8139 +proxy: null diff --git a/services/knowledge_grounding/component.yml b/services/knowledge_grounding/component.yml deleted file mode 100644 index e08868208d..0000000000 --- a/services/knowledge_grounding/component.yml +++ /dev/null @@ -1,24 +0,0 @@ -knowledge-grounding: - name: knowledge_grounding - display_name: Knowledge Grounding - container_name: knowledge-grounding - component_type: null - model_type: NN-based - is_customizable: false - author: DeepPavlov - description: generative service based on BlenderBot architecture providing a response - to the context taking into account an additional text paragraph - ram_usage: 2G - gpu_usage: 2.1G - port: 8083 - endpoints: - - group: services - endpoint: respond - build_args: - SERVICE_PORT: 8083 - SERVICE_NAME: knowledge_grounding - MODEL_CKPT: 3_sent_62_epochs - DATA_ARG: http://files.deeppavlov.ai/alexaprize_data/parlai_grounding_knowledge/parlai_topical_chat_data.tar.gz - MODEL1_ARG: http://files.deeppavlov.ai/alexaprize_data/parlai_grounding_knowledge/topical_chat_blender90_1_sent_48_epochs.tar.gz - MODEL2_ARG: http://files.deeppavlov.ai/alexaprize_data/parlai_grounding_knowledge/topical_chat_blender90_3_sent_62_epochs.tar.gz - date_created: '2023-03-16T09:45:32' diff --git a/services/knowledge_grounding/service_configs/knowledge-grounding/environment.yml b/services/knowledge_grounding/service_configs/knowledge-grounding/environment.yml new file mode 100644 index 0000000000..a09221c38b --- /dev/null +++ b/services/knowledge_grounding/service_configs/knowledge-grounding/environment.yml @@ -0,0 +1,8 @@ +SERVICE_PORT: 8083 +SERVICE_NAME: knowledge_grounding +MODEL_CKPT: 3_sent_62_epochs +DATA_ARG: http://files.deeppavlov.ai/alexaprize_data/parlai_grounding_knowledge/parlai_topical_chat_data.tar.gz +MODEL1_ARG: http://files.deeppavlov.ai/alexaprize_data/parlai_grounding_knowledge/topical_chat_blender90_1_sent_48_epochs.tar.gz +MODEL2_ARG: http://files.deeppavlov.ai/alexaprize_data/parlai_grounding_knowledge/topical_chat_blender90_3_sent_62_epochs.tar.gz +CUDA_VISIBLE_DEVICES: '0' +FLASK_APP: server diff --git a/services/knowledge_grounding/service_configs/knowledge-grounding/service.yml b/services/knowledge_grounding/service_configs/knowledge-grounding/service.yml new file mode 100644 index 0000000000..db44e23fda --- /dev/null +++ b/services/knowledge_grounding/service_configs/knowledge-grounding/service.yml @@ -0,0 +1,42 @@ +name: knowledge-grounding +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8083 + SERVICE_NAME: knowledge_grounding + MODEL_CKPT: 3_sent_62_epochs + DATA_ARG: http://files.deeppavlov.ai/alexaprize_data/parlai_grounding_knowledge/parlai_topical_chat_data.tar.gz + MODEL1_ARG: http://files.deeppavlov.ai/alexaprize_data/parlai_grounding_knowledge/topical_chat_blender90_1_sent_48_epochs.tar.gz + MODEL2_ARG: http://files.deeppavlov.ai/alexaprize_data/parlai_grounding_knowledge/topical_chat_blender90_3_sent_62_epochs.tar.gz + CUDA_VISIBLE_DEVICES: '0' + FLASK_APP: server + context: ./services/knowledge_grounding/ + command: flask run -h 0.0.0.0 -p 8083 + environment: + - CUDA_VISIBLE_DEVICES=0 + - FLASK_APP=server + deploy: + resources: + limits: + memory: 4G + reservations: + memory: 4G + volumes: + - ./services/knowledge_grounding:/src + ports: + - 8083:8083 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8083 + - PORT=8083 diff --git a/services/last_chance_service/component.yml b/services/last_chance_service/component.yml deleted file mode 100644 index b0a607b921..0000000000 --- a/services/last_chance_service/component.yml +++ /dev/null @@ -1,17 +0,0 @@ -agent: - name: last_chance_service - display_name: Last Chance Service - component_type: null - model_type: null - container_name: agent - is_customizable: false - author: DeepPavlov - description: Last Chance Service - ram_usage: 100M - gpu_usage: null - port: 4242 - endpoints: - - group: last_chance_service - endpoint: respond - build_args: null - date_created: '2023-03-04T19:27:44' diff --git a/services/last_chance_service/pipeline.yml b/services/last_chance_service/pipeline.yml deleted file mode 100644 index 2a4539dfb2..0000000000 --- a/services/last_chance_service/pipeline.yml +++ /dev/null @@ -1,10 +0,0 @@ -agent: -- group: last_chance_service - connector: - protocol: python - class_name: PredefinedTextConnector - response_text: Sorry, something went wrong inside. Please tell me, what did you - say. - state_manager_method: add_bot_utterance_last_chance - tags: - - last_chance diff --git a/services/last_chance_service/service_configs/agent/environment.yml b/services/last_chance_service/service_configs/agent/environment.yml new file mode 100644 index 0000000000..33120fd390 --- /dev/null +++ b/services/last_chance_service/service_configs/agent/environment.yml @@ -0,0 +1,6 @@ +WAIT_HOSTS: "" +WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} +HIGH_PRIORITY_INTENTS: 1 +RESTRICTION_FOR_SENSITIVE_CASE: 1 +ALWAYS_TURN_ON_ALL_SKILLS: 0 +LANGUAGE: EN diff --git a/services/last_chance_service/service_configs/agent/service.yml b/services/last_chance_service/service_configs/agent/service.yml new file mode 100644 index 0000000000..b5abd7d985 --- /dev/null +++ b/services/last_chance_service/service_configs/agent/service.yml @@ -0,0 +1,17 @@ +name: agent +endpoints: +- respond +compose: + command: sh -c 'bin/wait && python -m deeppavlov_agent.run agent.pipeline_config=assistant_dists/dream_alexa/pipeline_conf.json' + environment: + WAIT_HOSTS: "" + WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} + HIGH_PRIORITY_INTENTS: 1 + RESTRICTION_FOR_SENSITIVE_CASE: 1 + ALWAYS_TURN_ON_ALL_SKILLS: 0 + LANGUAGE: EN + volumes: + - .:/dp-agent + ports: + - 4242:4242 +proxy: null diff --git a/services/masked_lm/component.yml b/services/masked_lm/component.yml deleted file mode 100644 index 4f992d59e7..0000000000 --- a/services/masked_lm/component.yml +++ /dev/null @@ -1,20 +0,0 @@ -masked-lm: - name: masked_lm - display_name: Masked LM - container_name: masked-lm - component_type: null - model_type: NN-based - is_customizable: false - author: DeepPavlov - description: (turned off but the code is available) - ram_usage: 1.1G - gpu_usage: 1G - port: 8088 - endpoints: - - group: services - endpoint: respond - build_args: - SERVICE_PORT: 8141 - SERVICE_NAME: masked_lm - PRETRAINED_MODEL_NAME_OR_PATH: bert-base-uncased - date_created: '2023-03-16T09:45:32' diff --git a/services/masked_lm/service_configs/masked-lm/environment.yml b/services/masked_lm/service_configs/masked-lm/environment.yml new file mode 100644 index 0000000000..3420c7e158 --- /dev/null +++ b/services/masked_lm/service_configs/masked-lm/environment.yml @@ -0,0 +1,5 @@ +SERVICE_PORT: 8141 +SERVICE_NAME: masked_lm +PRETRAINED_MODEL_NAME_OR_PATH: bert-base-uncased +CUDA_VISIBLE_DEVICES: '0' +FLASK_APP: server diff --git a/services/masked_lm/service_configs/masked-lm/service.yml b/services/masked_lm/service_configs/masked-lm/service.yml new file mode 100644 index 0000000000..66732ff80f --- /dev/null +++ b/services/masked_lm/service_configs/masked-lm/service.yml @@ -0,0 +1,31 @@ +name: masked-lm +endpoints: +- respond +compose: + env_file: + - .env + build: + context: ./services/masked_lm/ + args: + SERVICE_PORT: 8141 + SERVICE_NAME: masked_lm + PRETRAINED_MODEL_NAME_OR_PATH: bert-base-uncased + CUDA_VISIBLE_DEVICES: '0' + FLASK_APP: server + command: flask run -h 0.0.0.0 -p 8141 + environment: + - CUDA_VISIBLE_DEVICES=0 + - FLASK_APP=server + deploy: + resources: + limits: + memory: 4G + reservations: + memory: 4G + volumes: + - ./services/masked_lm:/src + - ./common:/src/common + - ~/.deeppavlov/cache:/root/.cache + ports: + - 8141:8141 +proxy: null diff --git a/services/openai_api_lm/component.yml b/services/openai_api_lm/component.yml deleted file mode 100644 index c5af98503f..0000000000 --- a/services/openai_api_lm/component.yml +++ /dev/null @@ -1,44 +0,0 @@ -openai-api-chatgpt: - name: openai_api_chatgpt - display_name: ChatGPT - container_name: openai-api-chatgpt - component_type: null - model_type: External API - is_customizable: false - author: DeepPavlov - description: generative service based on OpenAI API service, the model is set in - docker compose argument `PRETRAINED_MODEL_NAME_OR_PATH` (in particular, in this - service, `gpt-3.5-turbo` is used). - ram_usage: 100M - gpu_usage: null - port: 8145 - endpoints: - - group: services - endpoint: respond - build_args: - SERVICE_PORT: 8145 - SERVICE_NAME: openai_api_chatgpt - PRETRAINED_MODEL_NAME_OR_PATH: gpt-3.5-turbo - date_created: '2023-03-16T09:45:32' -openai-api-davinci3: - name: openai_api_davinci3 - display_name: GPT-3.5 - container_name: openai-api-davinci3 - component_type: null - model_type: External API - is_customizable: false - author: DeepPavlov - description: generative service based on OpenAI API service, the model is set in - docker compose argument `PRETRAINED_MODEL_NAME_OR_PATH` (in particular, in this - service, `text-davinci-003` is used). - ram_usage: 100M - gpu_usage: null - port: 8131 - endpoints: - - group: services - endpoint: respond - build_args: - SERVICE_PORT: 8131 - SERVICE_NAME: openai_api_davinci3 - PRETRAINED_MODEL_NAME_OR_PATH: text-davinci-003 - date_created: '2023-03-16T09:45:32' diff --git a/services/openai_api_lm/service_configs/openai-api-chatgpt/environment.yml b/services/openai_api_lm/service_configs/openai-api-chatgpt/environment.yml new file mode 100644 index 0000000000..7b011e9477 --- /dev/null +++ b/services/openai_api_lm/service_configs/openai-api-chatgpt/environment.yml @@ -0,0 +1,5 @@ +SERVICE_PORT: 8145 +SERVICE_NAME: openai_api_chatgpt +PRETRAINED_MODEL_NAME_OR_PATH: gpt-3.5-turbo +CUDA_VISIBLE_DEVICES: '0' +FLASK_APP: server diff --git a/services/openai_api_lm/service_configs/openai-api-chatgpt/service.yml b/services/openai_api_lm/service_configs/openai-api-chatgpt/service.yml new file mode 100644 index 0000000000..7810c40026 --- /dev/null +++ b/services/openai_api_lm/service_configs/openai-api-chatgpt/service.yml @@ -0,0 +1,31 @@ +name: openai-api-chatgpt +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8145 + SERVICE_NAME: openai_api_chatgpt + PRETRAINED_MODEL_NAME_OR_PATH: gpt-3.5-turbo + CUDA_VISIBLE_DEVICES: '0' + FLASK_APP: server + context: . + dockerfile: ./services/openai_api_lm/Dockerfile + command: flask run -h 0.0.0.0 -p 8145 + environment: + - CUDA_VISIBLE_DEVICES=0 + - FLASK_APP=server + deploy: + resources: + limits: + memory: 100M + reservations: + memory: 100M + volumes: + - ./services/openai_api_lm:/src + - ./common:/src/common + ports: + - 8145:8145 +proxy: null diff --git a/services/openai_api_lm/service_configs/openai-api-davinci3/environment.yml b/services/openai_api_lm/service_configs/openai-api-davinci3/environment.yml new file mode 100644 index 0000000000..fa38944280 --- /dev/null +++ b/services/openai_api_lm/service_configs/openai-api-davinci3/environment.yml @@ -0,0 +1,5 @@ +SERVICE_PORT: 8131 +SERVICE_NAME: openai_api_davinci3 +PRETRAINED_MODEL_NAME_OR_PATH: text-davinci-003 +CUDA_VISIBLE_DEVICES: '0' +FLASK_APP: server diff --git a/services/openai_api_lm/service_configs/openai-api-davinci3/service.yml b/services/openai_api_lm/service_configs/openai-api-davinci3/service.yml new file mode 100644 index 0000000000..debc826fe4 --- /dev/null +++ b/services/openai_api_lm/service_configs/openai-api-davinci3/service.yml @@ -0,0 +1,31 @@ +name: openai-api-davinci3 +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8131 + SERVICE_NAME: openai_api_davinci3 + PRETRAINED_MODEL_NAME_OR_PATH: text-davinci-003 + CUDA_VISIBLE_DEVICES: '0' + FLASK_APP: server + context: . + dockerfile: ./services/openai_api_lm/Dockerfile + command: flask run -h 0.0.0.0 -p 8131 + environment: + - CUDA_VISIBLE_DEVICES=0 + - FLASK_APP=server + deploy: + resources: + limits: + memory: 100M + reservations: + memory: 100M + volumes: + - ./services/openai_api_lm:/src + - ./common:/src/common + ports: + - 8131:8131 +proxy: null diff --git a/services/prompt_storygpt/component.yml b/services/prompt_storygpt/component.yml deleted file mode 100644 index e384825b55..0000000000 --- a/services/prompt_storygpt/component.yml +++ /dev/null @@ -1,23 +0,0 @@ -prompt-storygpt: - name: prompt_storygpt - display_name: Prompt StoryGPT - container_name: prompt-storygpt - component_type: null - model_type: NN-based - is_customizable: false - author: DeepPavlov - description: generative service based on fine-tuned GPT-2, for the given topic represented - by one noun returns short story on a given topic - ram_usage: 3G - gpu_usage: 4G - port: 8127 - endpoints: - - group: services - endpoint: respond - build_args: - SERVICE_PORT: 8127 - SERVICE_NAME: prompt_storygpt - MODELS_URL: http://files.deeppavlov.ai/dream_data/story_skill/finetuned2.tar.gz - BART_MODEL_NAME: facebook/bart-large - FINETUNED_MODEL_NAME: /data/finetuned2 - date_created: '2023-03-16T09:45:32' diff --git a/services/prompt_storygpt/service_configs/prompt-storygpt/environment.yml b/services/prompt_storygpt/service_configs/prompt-storygpt/environment.yml new file mode 100644 index 0000000000..f0486c0404 --- /dev/null +++ b/services/prompt_storygpt/service_configs/prompt-storygpt/environment.yml @@ -0,0 +1,7 @@ +SERVICE_PORT: 8127 +SERVICE_NAME: prompt_storygpt +MODELS_URL: http://files.deeppavlov.ai/dream_data/story_skill/finetuned2.tar.gz +BART_MODEL_NAME: facebook/bart-large +FINETUNED_MODEL_NAME: /data/finetuned2 +CUDA_VISIBLE_DEVICES: '0' +FLASK_APP: server diff --git a/services/prompt_storygpt/service_configs/prompt-storygpt/service.yml b/services/prompt_storygpt/service_configs/prompt-storygpt/service.yml new file mode 100644 index 0000000000..0ebbb8c2af --- /dev/null +++ b/services/prompt_storygpt/service_configs/prompt-storygpt/service.yml @@ -0,0 +1,42 @@ +name: prompt-storygpt +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8127 + SERVICE_NAME: prompt_storygpt + MODELS_URL: http://files.deeppavlov.ai/dream_data/story_skill/finetuned2.tar.gz + BART_MODEL_NAME: facebook/bart-large + FINETUNED_MODEL_NAME: /data/finetuned2 + CUDA_VISIBLE_DEVICES: '0' + FLASK_APP: server + context: ./services/prompt_storygpt/ + command: flask run -h 0.0.0.0 -p 8127 + environment: + - CUDA_VISIBLE_DEVICES=0 + - FLASK_APP=server + deploy: + resources: + limits: + memory: 10G + reservations: + memory: 10G + volumes: + - ./services/prompt_storygpt:/src + - ~/.deeppavlov/cache:/root/.cache + ports: + - 8127:8127 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8127 + - PORT=8127 diff --git a/services/response_annotator_selectors/component.yml b/services/response_annotator_selectors/component.yml deleted file mode 100644 index 8ec647d8ad..0000000000 --- a/services/response_annotator_selectors/component.yml +++ /dev/null @@ -1,17 +0,0 @@ -agent: - name: response_annotator_selectors - display_name: Response Annotator Selectors - component_type: null - model_type: null - container_name: agent - is_customizable: false - author: DeepPavlov - description: Response Annotator Selectors - ram_usage: 100M - gpu_usage: null - port: 4242 - endpoints: - - group: response_annotator_selectors - endpoint: respond - build_args: null - date_created: '2023-03-04T19:27:44' diff --git a/services/response_annotator_selectors/pipeline.yml b/services/response_annotator_selectors/pipeline.yml deleted file mode 100644 index ed63776ef9..0000000000 --- a/services/response_annotator_selectors/pipeline.yml +++ /dev/null @@ -1,10 +0,0 @@ -agent: -- group: response_annotator_selectors - connector: - protocol: python - class_name: skill_selectors.post_annotator_selector.connector:PostAnnotatorSelectorConnector - annotator_names: - - sentseg - state_manager_method: add_bot_utterance_last_chance - tags: - - selector diff --git a/services/response_annotator_selectors/service_configs/agent/environment.yml b/services/response_annotator_selectors/service_configs/agent/environment.yml new file mode 100644 index 0000000000..33120fd390 --- /dev/null +++ b/services/response_annotator_selectors/service_configs/agent/environment.yml @@ -0,0 +1,6 @@ +WAIT_HOSTS: "" +WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} +HIGH_PRIORITY_INTENTS: 1 +RESTRICTION_FOR_SENSITIVE_CASE: 1 +ALWAYS_TURN_ON_ALL_SKILLS: 0 +LANGUAGE: EN diff --git a/services/response_annotator_selectors/service_configs/agent/service.yml b/services/response_annotator_selectors/service_configs/agent/service.yml new file mode 100644 index 0000000000..b5abd7d985 --- /dev/null +++ b/services/response_annotator_selectors/service_configs/agent/service.yml @@ -0,0 +1,17 @@ +name: agent +endpoints: +- respond +compose: + command: sh -c 'bin/wait && python -m deeppavlov_agent.run agent.pipeline_config=assistant_dists/dream_alexa/pipeline_conf.json' + environment: + WAIT_HOSTS: "" + WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} + HIGH_PRIORITY_INTENTS: 1 + RESTRICTION_FOR_SENSITIVE_CASE: 1 + ALWAYS_TURN_ON_ALL_SKILLS: 0 + LANGUAGE: EN + volumes: + - .:/dp-agent + ports: + - 4242:4242 +proxy: null diff --git a/services/sentence_ranker/component.yml b/services/sentence_ranker/component.yml deleted file mode 100644 index 1bbfa10eb4..0000000000 --- a/services/sentence_ranker/component.yml +++ /dev/null @@ -1,45 +0,0 @@ -sentence-ranker: - name: sentence_ranker - display_name: Sentence Ranker - container_name: sentence-ranker - component_type: null - model_type: NN-based - is_customizable: false - author: DeepPavlov - description: ranking model given as `PRETRAINED_MODEL_NAME_OR_PATH` which for a - pair os sentences returns a float score of correspondence - ram_usage: 1.5G - gpu_usage: 800M - port: 8128 - endpoints: - - group: candidate_annotators - endpoint: respond - - group: services - endpoint: respond - build_args: - SERVICE_PORT: 8128 - SERVICE_NAME: sentence_ranker - PRETRAINED_MODEL_NAME_OR_PATH: sentence-transformers/all-MiniLM-L6-v2 - date_created: '2023-03-16T09:45:32' -sentence-ranker-multilingual: - name: sentence_ranker - display_name: Sentence Ranker - container_name: sentence-ranker-multilingual - component_type: null - model_type: NN-based - is_customizable: false - author: DeepPavlov - description: for a pair of sentences predicts a floating point value. For multilingual - version, return cosine similarity between embeddings from multilingual sentence - BERT - ram_usage: 2.5G - gpu_usage: 1.8G - port: 8128 - endpoints: - - group: candidate_annotators - endpoint: respond - build_args: - SERVICE_PORT: 8128 - PRETRAINED_MODEL_NAME_OR_PATH: DeepPavlov/bert-base-multilingual-cased-sentence - SERVICE_NAME: sentence_ranker - date_created: '2023-03-16T09:45:32' diff --git a/services/sentence_ranker/pipeline.yml b/services/sentence_ranker/pipeline.yml deleted file mode 100644 index 5421a407fa..0000000000 --- a/services/sentence_ranker/pipeline.yml +++ /dev/null @@ -1,22 +0,0 @@ -sentence-ranker: -- group: candidate_annotators - connector: - protocol: http - timeout: 1.0 - url: http://sentence-ranker:8128/respond - dialog_formatter: state_formatters.dp_formatters:sentence_ranker_formatter - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - skills - state_manager_method: add_hypothesis_annotation_batch -sentence-ranker-multilingual: -- group: candidate_annotators - connector: - protocol: http - timeout: 1.0 - url: http://sentence-ranker-multilingual:8128/respond - dialog_formatter: state_formatters.dp_formatters:sentence_ranker_formatter - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - skills - state_manager_method: add_hypothesis_annotation_batch diff --git a/services/sentence_ranker/service_configs/sentence-ranker-multilingual/environment.yml b/services/sentence_ranker/service_configs/sentence-ranker-multilingual/environment.yml new file mode 100644 index 0000000000..c588468829 --- /dev/null +++ b/services/sentence_ranker/service_configs/sentence-ranker-multilingual/environment.yml @@ -0,0 +1,4 @@ +SERVICE_PORT: 8128 +PRETRAINED_MODEL_NAME_OR_PATH: DeepPavlov/bert-base-multilingual-cased-sentence +CUDA_VISIBLE_DEVICES: '0' +FLASK_APP: server diff --git a/services/sentence_ranker/service_configs/sentence-ranker-multilingual/service.yml b/services/sentence_ranker/service_configs/sentence-ranker-multilingual/service.yml new file mode 100644 index 0000000000..12de9b6994 --- /dev/null +++ b/services/sentence_ranker/service_configs/sentence-ranker-multilingual/service.yml @@ -0,0 +1,29 @@ +name: sentence-ranker-multilingual +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8128 + PRETRAINED_MODEL_NAME_OR_PATH: DeepPavlov/bert-base-multilingual-cased-sentence + CUDA_VISIBLE_DEVICES: '0' + FLASK_APP: server + context: ./services/sentence_ranker/ + command: flask run -h 0.0.0.0 -p 8128 + environment: + - CUDA_VISIBLE_DEVICES=0 + - FLASK_APP=server + deploy: + resources: + limits: + memory: 3G + reservations: + memory: 3G + volumes: + - ./services/sentence_ranker:/src + - ~/.deeppavlov/cache:/root/.cache + ports: + - 8128:8128 +proxy: null diff --git a/services/sentence_ranker/service_configs/sentence-ranker/environment.yml b/services/sentence_ranker/service_configs/sentence-ranker/environment.yml new file mode 100644 index 0000000000..c08a0ef820 --- /dev/null +++ b/services/sentence_ranker/service_configs/sentence-ranker/environment.yml @@ -0,0 +1,5 @@ +SERVICE_PORT: 8128 +SERVICE_NAME: sentence_ranker +PRETRAINED_MODEL_NAME_OR_PATH: sentence-transformers/bert-base-nli-mean-tokens +CUDA_VISIBLE_DEVICES: '0' +FLASK_APP: server diff --git a/services/sentence_ranker/service_configs/sentence-ranker/service.yml b/services/sentence_ranker/service_configs/sentence-ranker/service.yml new file mode 100644 index 0000000000..39a9c31623 --- /dev/null +++ b/services/sentence_ranker/service_configs/sentence-ranker/service.yml @@ -0,0 +1,40 @@ +name: sentence-ranker +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8128 + SERVICE_NAME: sentence_ranker + PRETRAINED_MODEL_NAME_OR_PATH: sentence-transformers/bert-base-nli-mean-tokens + CUDA_VISIBLE_DEVICES: '0' + FLASK_APP: server + context: ./services/sentence_ranker/ + command: flask run -h 0.0.0.0 -p 8128 + environment: + - CUDA_VISIBLE_DEVICES=0 + - FLASK_APP=server + deploy: + resources: + limits: + memory: 3G + reservations: + memory: 3G + volumes: + - ./services/sentence_ranker:/src + - ~/.deeppavlov/cache:/root/.cache + ports: + - 8128:8128 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8128 + - PORT=8128 diff --git a/services/seq2seq_persona_based/component.yml b/services/seq2seq_persona_based/component.yml deleted file mode 100644 index 6981b0191a..0000000000 --- a/services/seq2seq_persona_based/component.yml +++ /dev/null @@ -1,26 +0,0 @@ -seq2seq-persona-based: - name: seq2seq_persona_based - display_name: Seq2seq Persona-based - container_name: seq2seq-persona-based - component_type: Script-based with NNs - model_type: NN-based - is_customizable: false - author: DeepPavlov - description: generative service based on Transformers seq2seq model, the model was - pre-trained on the PersonaChat dataset to generate a response conditioned on a - several sentences of the socialbot's persona - ram_usage: 1.5G - gpu_usage: 1.5G - port: 8140 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8140 - SERVICE_NAME: seq2seq_persona_based - PRETRAINED_MODEL_NAME_OR_PATH: DeepPavlov/bart-base-en-persona-chat - PAIR_DIALOG_HISTORY_LENGTH: 2 - CHAT_EVERY_SENT_MAX_LENGTH: 25 - PERSONA_EVERY_SENT_MAX_LENGTH: 19 - GENERATION_PARAMS_CONFIG: bart-base-en-persona-chat_v1.json - date_created: '2023-03-16T09:45:32' diff --git a/services/seq2seq_persona_based/pipeline.yml b/services/seq2seq_persona_based/pipeline.yml deleted file mode 100644 index 10abfad529..0000000000 --- a/services/seq2seq_persona_based/pipeline.yml +++ /dev/null @@ -1,11 +0,0 @@ -seq2seq-persona-based: -- group: skills - connector: - protocol: http - timeout: 3.0 - url: http://seq2seq-persona-based:8140/respond - dialog_formatter: state_formatters.dp_formatters:persona_bot_formatter - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis diff --git a/services/seq2seq_persona_based/service_configs/seq2seq-persona-based/environment.yml b/services/seq2seq_persona_based/service_configs/seq2seq-persona-based/environment.yml new file mode 100644 index 0000000000..d7a0af1238 --- /dev/null +++ b/services/seq2seq_persona_based/service_configs/seq2seq-persona-based/environment.yml @@ -0,0 +1,9 @@ +SERVICE_PORT: 8140 +SERVICE_NAME: seq2seq_persona_based +PRETRAINED_MODEL_NAME_OR_PATH: DeepPavlov/bart-base-en-persona-chat +PAIR_DIALOG_HISTORY_LENGTH: 2 +CHAT_EVERY_SENT_MAX_LENGTH: 25 +PERSONA_EVERY_SENT_MAX_LENGTH: 19 +GENERATION_PARAMS_CONFIG: bart-base-en-persona-chat_v1.json +CUDA_VISIBLE_DEVICES: '0' +FLASK_APP: server diff --git a/services/seq2seq_persona_based/service_configs/seq2seq-persona-based/service.yml b/services/seq2seq_persona_based/service_configs/seq2seq-persona-based/service.yml new file mode 100644 index 0000000000..f795efa9d7 --- /dev/null +++ b/services/seq2seq_persona_based/service_configs/seq2seq-persona-based/service.yml @@ -0,0 +1,46 @@ +name: seq2seq-persona-based +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8140 + SERVICE_NAME: seq2seq_persona_based + PRETRAINED_MODEL_NAME_OR_PATH: DeepPavlov/bart-base-en-persona-chat + PAIR_DIALOG_HISTORY_LENGTH: 2 + CHAT_EVERY_SENT_MAX_LENGTH: 25 + PERSONA_EVERY_SENT_MAX_LENGTH: 19 + GENERATION_PARAMS_CONFIG: bart-base-en-persona-chat_v1.json + CUDA_VISIBLE_DEVICES: '0' + FLASK_APP: server + context: . + dockerfile: ./services/seq2seq_persona_based/Dockerfile + command: flask run -h 0.0.0.0 -p 8140 + environment: + - CUDA_VISIBLE_DEVICES=0 + - FLASK_APP=server + deploy: + resources: + limits: + memory: 2G + reservations: + memory: 2G + volumes: + - ./services/seq2seq_persona_based:/src + - ./common:/src/common + - ~/.deeppavlov/cache:/root/.cache + ports: + - 8140:8140 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8140 + - PORT=8140 diff --git a/services/storygpt/component.yml b/services/storygpt/component.yml deleted file mode 100644 index 0ae870ecc8..0000000000 --- a/services/storygpt/component.yml +++ /dev/null @@ -1,22 +0,0 @@ -storygpt: - name: storygpt - display_name: StoryGPT - container_name: storygpt - component_type: null - model_type: NN-based - is_customizable: false - author: DeepPavlov - description: generative service based on fine-tuned GPT-2, for the given set of - keywords returns a short story using the keywords - ram_usage: 2.6G - gpu_usage: 2.15G - port: 8126 - endpoints: - - group: services - endpoint: respond - build_args: - SERVICE_PORT: 8126 - SERVICE_NAME: storygpt - PRETRAINED_MODEL_NAME_OR_PATH: gpt2-medium - FINETUNED_GPT_URL: http://files.deeppavlov.ai/dream_data/story_skill/filtered_ROCStories_gpt_medium.pt - date_created: '2023-03-16T09:45:32' diff --git a/services/storygpt/service_configs/storygpt/environment.yml b/services/storygpt/service_configs/storygpt/environment.yml new file mode 100644 index 0000000000..372b5a4200 --- /dev/null +++ b/services/storygpt/service_configs/storygpt/environment.yml @@ -0,0 +1,6 @@ +SERVICE_PORT: 8126 +SERVICE_NAME: storygpt +PRETRAINED_MODEL_NAME_OR_PATH: gpt2-medium +FINETUNED_GPT_URL: http://files.deeppavlov.ai/dream_data/story_skill/filtered_ROCStories_gpt_medium.pt +CUDA_VISIBLE_DEVICES: '0' +FLASK_APP: server diff --git a/services/storygpt/service_configs/storygpt/service.yml b/services/storygpt/service_configs/storygpt/service.yml new file mode 100644 index 0000000000..b8a6e95a3c --- /dev/null +++ b/services/storygpt/service_configs/storygpt/service.yml @@ -0,0 +1,41 @@ +name: storygpt +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8126 + SERVICE_NAME: storygpt + PRETRAINED_MODEL_NAME_OR_PATH: gpt2-medium + FINETUNED_GPT_URL: http://files.deeppavlov.ai/dream_data/story_skill/filtered_ROCStories_gpt_medium.pt + CUDA_VISIBLE_DEVICES: '0' + FLASK_APP: server + context: ./services/storygpt/ + command: flask run -h 0.0.0.0 -p 8126 + environment: + - CUDA_VISIBLE_DEVICES=0 + - FLASK_APP=server + deploy: + resources: + limits: + memory: 10G + reservations: + memory: 10G + volumes: + - ./services/storygpt:/src + - ~/.deeppavlov/cache:/root/.cache + ports: + - 8126:8126 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8126 + - PORT=8126 diff --git a/services/text_qa/component.yml b/services/text_qa/component.yml deleted file mode 100644 index 9e238f8c2d..0000000000 --- a/services/text_qa/component.yml +++ /dev/null @@ -1,44 +0,0 @@ -text-qa: - name: text_qa - display_name: Text QA - container_name: text-qa - component_type: Retrieval - model_type: NN-based - is_customizable: false - author: DeepPavlov - description: The service finds the answer of a factoid question in text. - ram_usage: 1.8G - gpu_usage: 2.8G - port: 8078 - endpoints: - - group: services - endpoint: model - build_args: - SERVICE_PORT: 8078 - SERVICE_NAME: text_qa - CONFIG: qa_eng.json - date_created: '2023-03-16T09:45:32' -text-qa-ru: - name: text_qa - display_name: Text QA - container_name: text-qa-ru - component_type: Retrieval - model_type: NN-based - is_customizable: false - author: DeepPavlov - description: "\u041D\u0430\u0432\u044B\u043A \u0434\u043B\u044F \u043E\u0442\u0432\ - \u0435\u0442\u0430 \u043D\u0430 \u0432\u043E\u043F\u0440\u043E\u0441\u044B \u043F\ - \u043E \u0442\u0435\u043A\u0441\u0442\u0443." - ram_usage: 3.8G - gpu_usage: 5.2G - port: 8078 - endpoints: - - group: skills - endpoint: model - - group: services - endpoint: model - build_args: - SERVICE_PORT: 8078 - SERVICE_NAME: text_qa - CONFIG: qa_rus.json - date_created: '2023-03-16T09:45:32' diff --git a/services/text_qa/pipeline.yml b/services/text_qa/pipeline.yml deleted file mode 100644 index 526eb8d6d6..0000000000 --- a/services/text_qa/pipeline.yml +++ /dev/null @@ -1,11 +0,0 @@ -text-qa-ru: -- group: skills - connector: - protocol: http - timeout: 2.0 - url: http://text-qa-ru:8078/model - dialog_formatter: state_formatters.dp_formatters:utt_sentseg_punct_dialog - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis diff --git a/services/text_qa/service_configs/text-qa-ru/environment.yml b/services/text_qa/service_configs/text-qa-ru/environment.yml new file mode 100644 index 0000000000..d471224fc2 --- /dev/null +++ b/services/text_qa/service_configs/text-qa-ru/environment.yml @@ -0,0 +1,6 @@ +SERVICE_PORT: 8078 +SERVICE_NAME: text_qa +CONFIG: qa_rus.json +CUDA_VISIBLE_DEVICES: '0' +FLASK_APP: server +LANGUAGE: RU diff --git a/services/text_qa/service_configs/text-qa-ru/service.yml b/services/text_qa/service_configs/text-qa-ru/service.yml new file mode 100644 index 0000000000..9d6c8c94af --- /dev/null +++ b/services/text_qa/service_configs/text-qa-ru/service.yml @@ -0,0 +1,33 @@ +name: text-qa-ru +endpoints: +- model +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8078 + SERVICE_NAME: text_qa + CONFIG: qa_rus.json + CUDA_VISIBLE_DEVICES: '0' + FLASK_APP: server + LANGUAGE: RU + context: services/text_qa + dockerfile: Dockerfile + command: flask run -h 0.0.0.0 -p 8078 + environment: + - CUDA_VISIBLE_DEVICES=0 + - FLASK_APP=server + - LANGUAGE=RU + deploy: + resources: + limits: + memory: 3G + reservations: + memory: 3G + volumes: + - ./services/text_qa:/src + - ~/.deeppavlov:/root/.deeppavlov + ports: + - 8078:8078 +proxy: null diff --git a/services/text_qa/service_configs/text-qa/environment.yml b/services/text_qa/service_configs/text-qa/environment.yml new file mode 100644 index 0000000000..2cb9e389b3 --- /dev/null +++ b/services/text_qa/service_configs/text-qa/environment.yml @@ -0,0 +1,6 @@ +SERVICE_PORT: 8078 +SERVICE_NAME: text_qa +CONFIG: qa_eng.json +CUDA_VISIBLE_DEVICES: '0' +FLASK_APP: server +LANGUAGE: EN diff --git a/services/text_qa/service_configs/text-qa/service.yml b/services/text_qa/service_configs/text-qa/service.yml new file mode 100644 index 0000000000..3f91d03dfc --- /dev/null +++ b/services/text_qa/service_configs/text-qa/service.yml @@ -0,0 +1,44 @@ +name: text-qa +endpoints: +- model +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8078 + SERVICE_NAME: text_qa + CONFIG: qa_eng.json + CUDA_VISIBLE_DEVICES: '0' + FLASK_APP: server + LANGUAGE: EN + context: services/text_qa + dockerfile: Dockerfile + command: flask run -h 0.0.0.0 -p 8078 + environment: + - CUDA_VISIBLE_DEVICES=0 + - FLASK_APP=server + - LANGUAGE=EN + deploy: + resources: + limits: + memory: 3G + reservations: + memory: 3G + volumes: + - ./services/text_qa:/src + - ~/.deeppavlov:/root/.deeppavlov + - ~/.deeppavlov/cache:/root/.cache + ports: + - 8078:8078 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8078 + - PORT=8078 diff --git a/services/timeout_service/component.yml b/services/timeout_service/component.yml deleted file mode 100644 index fdd4f7c0ce..0000000000 --- a/services/timeout_service/component.yml +++ /dev/null @@ -1,17 +0,0 @@ -agent: - name: timeout_service - display_name: Timeout Service - component_type: null - model_type: null - container_name: agent - is_customizable: false - author: DeepPavlov - description: Timeout Service - ram_usage: 100M - gpu_usage: null - port: 4242 - endpoints: - - group: timeout_service - endpoint: respond - build_args: null - date_created: '2023-03-04T19:27:44' diff --git a/services/timeout_service/pipeline.yml b/services/timeout_service/pipeline.yml deleted file mode 100644 index 85d09d8ab2..0000000000 --- a/services/timeout_service/pipeline.yml +++ /dev/null @@ -1,9 +0,0 @@ -agent: -- group: timeout_service - connector: - protocol: python - class_name: PredefinedTextConnector - response_text: Sorry, I need to think more on that. Let's talk about something else. - state_manager_method: add_bot_utterance_last_chance - tags: - - timeout diff --git a/services/timeout_service/service_configs/agent/environment.yml b/services/timeout_service/service_configs/agent/environment.yml new file mode 100644 index 0000000000..33120fd390 --- /dev/null +++ b/services/timeout_service/service_configs/agent/environment.yml @@ -0,0 +1,6 @@ +WAIT_HOSTS: "" +WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} +HIGH_PRIORITY_INTENTS: 1 +RESTRICTION_FOR_SENSITIVE_CASE: 1 +ALWAYS_TURN_ON_ALL_SKILLS: 0 +LANGUAGE: EN diff --git a/services/timeout_service/service_configs/agent/service.yml b/services/timeout_service/service_configs/agent/service.yml new file mode 100644 index 0000000000..b5abd7d985 --- /dev/null +++ b/services/timeout_service/service_configs/agent/service.yml @@ -0,0 +1,17 @@ +name: agent +endpoints: +- respond +compose: + command: sh -c 'bin/wait && python -m deeppavlov_agent.run agent.pipeline_config=assistant_dists/dream_alexa/pipeline_conf.json' + environment: + WAIT_HOSTS: "" + WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} + HIGH_PRIORITY_INTENTS: 1 + RESTRICTION_FOR_SENSITIVE_CASE: 1 + ALWAYS_TURN_ON_ALL_SKILLS: 0 + LANGUAGE: EN + volumes: + - .:/dp-agent + ports: + - 4242:4242 +proxy: null diff --git a/services/transformers_lm/component.yml b/services/transformers_lm/component.yml deleted file mode 100644 index 9a6e335f06..0000000000 --- a/services/transformers_lm/component.yml +++ /dev/null @@ -1,73 +0,0 @@ -transformers-lm-gptj: - name: transformers_lm_gptj - display_name: GPT-J 6B - container_name: transformers-lm-gptj - component_type: null - model_type: NN-based - is_customizable: false - 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, [GPT-J model](https://huggingface.co/EleutherAI/gpt-j-6B) is - used. - ram_usage: 1.5G - gpu_usage: 24.2G - port: 8130 - endpoints: - - group: services - endpoint: respond - build_args: - SERVICE_PORT: 8130 - SERVICE_NAME: transformers_lm_gptj - PRETRAINED_MODEL_NAME_OR_PATH: EleutherAI/gpt-j-6B - HALF_PRECISION: 0 - date_created: '2023-03-16T09:45:32' -transformers-lm-bloomz7b: - name: transformers_lm_bloomz7b - display_name: BLOOMZ 7B - container_name: transformers-lm-bloomz7b - component_type: null - model_type: NN-based - is_customizable: false - 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. - ram_usage: 2.5G - gpu_usage: 29G - port: 8146 - endpoints: - - group: services - endpoint: respond - build_args: - SERVICE_PORT: 8146 - SERVICE_NAME: transformers_lm_bloomz7b - PRETRAINED_MODEL_NAME_OR_PATH: bigscience/bloomz-7b1 - HALF_PRECISION: 0 - date_created: '2023-03-16T09:45:32' -transformers-lm-oasst12b: - name: transformers_lm_oasst12b - display_name: Open-Assistant SFT-1 12B - container_name: transformers-lm-oasst12b - component_type: null - model_type: NN-based - is_customizable: false - 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, - [Open-Assistant SFT-1 12B model](https://huggingface.co/OpenAssistant/oasst-sft-1-pythia-12b) - is used. - ram_usage: 3G - gpu_usage: 26G - port: 8158 - endpoints: - - group: services - endpoint: respond - build_args: - SERVICE_PORT: 8158 - SERVICE_NAME: transformers_lm_oasst12b - PRETRAINED_MODEL_NAME_OR_PATH: OpenAssistant/oasst-sft-1-pythia-12b - HALF_PRECISION: 1 - date_created: '2023-04-11T09:45:32' diff --git a/services/transformers_lm/service_configs/transformers-lm-bloomz7b/environment.yml b/services/transformers_lm/service_configs/transformers-lm-bloomz7b/environment.yml new file mode 100644 index 0000000000..599b31ac29 --- /dev/null +++ b/services/transformers_lm/service_configs/transformers-lm-bloomz7b/environment.yml @@ -0,0 +1,6 @@ +SERVICE_PORT: 8146 +SERVICE_NAME: transformers_lm_bloomz7b +PRETRAINED_MODEL_NAME_OR_PATH: bigscience/bloomz-7b1 +HALF_PRECISION: 0 +CUDA_VISIBLE_DEVICES: '0' +FLASK_APP: server diff --git a/services/transformers_lm/service_configs/transformers-lm-bloomz7b/service.yml b/services/transformers_lm/service_configs/transformers-lm-bloomz7b/service.yml new file mode 100644 index 0000000000..61d0ac05d5 --- /dev/null +++ b/services/transformers_lm/service_configs/transformers-lm-bloomz7b/service.yml @@ -0,0 +1,43 @@ +name: transformers-lm-bloomz7b +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8146 + SERVICE_NAME: transformers_lm_bloomz7b + PRETRAINED_MODEL_NAME_OR_PATH: bigscience/bloomz-7b1 + HALF_PRECISION: 0 + CUDA_VISIBLE_DEVICES: '0' + FLASK_APP: server + context: . + dockerfile: ./services/transformers_lm/Dockerfile + command: flask run -h 0.0.0.0 -p 8146 + environment: + - CUDA_VISIBLE_DEVICES=0 + - FLASK_APP=server + deploy: + resources: + limits: + memory: 50G + reservations: + memory: 50G + volumes: + - ./services/transformers_lm:/src + - ./common:/src/common + - ~/.deeppavlov/cache:/root/.cache + ports: + - 8146:8146 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8146 + - PORT=8146 diff --git a/services/transformers_lm/service_configs/transformers-lm-gptj/environment.yml b/services/transformers_lm/service_configs/transformers-lm-gptj/environment.yml new file mode 100644 index 0000000000..aa42c17e5b --- /dev/null +++ b/services/transformers_lm/service_configs/transformers-lm-gptj/environment.yml @@ -0,0 +1,6 @@ +SERVICE_PORT: 8130 +SERVICE_NAME: transformers_lm_gptj +PRETRAINED_MODEL_NAME_OR_PATH: EleutherAI/gpt-j-6B +HALF_PRECISION: 0 +CUDA_VISIBLE_DEVICES: '0' +FLASK_APP: server diff --git a/services/transformers_lm/service_configs/transformers-lm-gptj/service.yml b/services/transformers_lm/service_configs/transformers-lm-gptj/service.yml new file mode 100644 index 0000000000..a98c4e06d7 --- /dev/null +++ b/services/transformers_lm/service_configs/transformers-lm-gptj/service.yml @@ -0,0 +1,43 @@ +name: transformers-lm-gptj +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8130 + SERVICE_NAME: transformers_lm_gptj + PRETRAINED_MODEL_NAME_OR_PATH: EleutherAI/gpt-j-6B + HALF_PRECISION: 0 + CUDA_VISIBLE_DEVICES: '0' + FLASK_APP: server + context: . + dockerfile: ./services/transformers_lm/Dockerfile + command: flask run -h 0.0.0.0 -p 8130 + environment: + - CUDA_VISIBLE_DEVICES=0 + - FLASK_APP=server + deploy: + resources: + limits: + memory: 40G + reservations: + memory: 40G + volumes: + - ./services/transformers_lm:/src + - ./common:/src/common + - ~/.deeppavlov/cache:/root/.cache + ports: + - 8130:8130 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8130 + - PORT=8130 diff --git a/services/transformers_peft_lm/component.yml b/services/transformers_peft_lm/component.yml deleted file mode 100644 index 5873d238e7..0000000000 --- a/services/transformers_peft_lm/component.yml +++ /dev/null @@ -1,24 +0,0 @@ -transformers-lm-llama7bru: - name: transformers_peft_lm_llama7bru - display_name: Russian LLaMA 7B - container_name: transformers-lm-llama7bru - component_type: null - model_type: NN-based - is_customizable: false - author: DeepPavlov - description: generative service based on Transformers generative model (with PEFT), - the model is set in docker compose argument `PRETRAINED_MODEL_NAME_OR_PATH` - (in particular, in this service, - [Russian LLaMA 7B](https://huggingface.co/IlyaGusev/llama_7b_ru_turbo_alpaca_lora) - is used. - ram_usage: 2.7G - gpu_usage: 18G - port: 8149 - endpoints: - - group: services - endpoint: respond - build_args: - SERVICE_PORT: 8149 - SERVICE_NAME: transformers_peft_lm_llama7bru - PRETRAINED_MODEL_NAME_OR_PATH: IlyaGusev/llama_7b_ru_turbo_alpaca_lora - date_created: '2023-03-16T09:45:32' diff --git a/services/wiki_facts/component.yml b/services/wiki_facts/component.yml deleted file mode 100644 index 88afa126b6..0000000000 --- a/services/wiki_facts/component.yml +++ /dev/null @@ -1,22 +0,0 @@ -wiki-facts: - name: wiki_facts - display_name: Wiki Facts - container_name: wiki-facts - component_type: null - model_type: ML-based - is_customizable: false - author: DeepPavlov - description: model that extracts related facts from Wikipedia and WikiHow pages - ram_usage: 1.7G - gpu_usage: null - port: 8116 - endpoints: - - group: services - endpoint: respond - build_args: - SERVICE_PORT: 8116 - SERVICE_NAME: wiki_facts - CONFIG: page_extractor.json - SRC_DIR: services/wiki_facts - COMMIT: 5b99ac3392e8e178e2bb4f9b218d4ddb2ec2e242 - date_created: '2023-03-16T09:45:32' diff --git a/services/wiki_facts/service_configs/wiki-facts/environment.yml b/services/wiki_facts/service_configs/wiki-facts/environment.yml new file mode 100644 index 0000000000..eb04051bdc --- /dev/null +++ b/services/wiki_facts/service_configs/wiki-facts/environment.yml @@ -0,0 +1,6 @@ +SERVICE_PORT: 8116 +SERVICE_NAME: wiki_facts +CONFIG: page_extractor.json +SRC_DIR: services/wiki_facts +COMMIT: 5b99ac3392e8e178e2bb4f9b218d4ddb2ec2e242 +FLASK_APP: server diff --git a/services/wiki_facts/service_configs/wiki-facts/service.yml b/services/wiki_facts/service_configs/wiki-facts/service.yml new file mode 100644 index 0000000000..3136bd5893 --- /dev/null +++ b/services/wiki_facts/service_configs/wiki-facts/service.yml @@ -0,0 +1,42 @@ +name: wiki-facts +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8116 + SERVICE_NAME: wiki_facts + CONFIG: page_extractor.json + SRC_DIR: services/wiki_facts + COMMIT: 5b99ac3392e8e178e2bb4f9b218d4ddb2ec2e242 + FLASK_APP: server + context: ./ + dockerfile: ./services/wiki_facts/Dockerfile + command: flask run -h 0.0.0.0 -p 8116 + environment: + - FLASK_APP=server + deploy: + resources: + limits: + memory: 3.5G + reservations: + memory: 3.5G + volumes: + - ./services/wiki_facts:/src + - ./common:/src/common + - ~/.deeppavlov:/root/.deeppavlov + ports: + - 8116:8116 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8116 + - PORT=8116 diff --git a/skill_selectors/rule_based_selector/component.yml b/skill_selectors/rule_based_selector/component.yml deleted file mode 100644 index c28283ee9f..0000000000 --- a/skill_selectors/rule_based_selector/component.yml +++ /dev/null @@ -1,23 +0,0 @@ -agent: - name: rule_based_selector - display_name: Rule-based Skill Selector - container_name: agent - component_type: null - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: Algorithm that selects list of skills to generate candidate responses - to the current context based on topics, entities, emotions, toxicity, dialogue - acts and dialogue history - ram_usage: 100M - gpu_usage: null - port: 4242 - endpoints: - - group: skill_selectors - endpoint: respond - build_args: - HIGH_PRIORITY_INTENTS: 1 - RESTRICTION_FOR_SENSITIVE_CASE: 1 - ALWAYS_TURN_ON_ALL_SKILLS: 0 - LANGUAGE: EN - date_created: '2023-03-16T09:45:32' diff --git a/skill_selectors/rule_based_selector/pipeline.yml b/skill_selectors/rule_based_selector/pipeline.yml deleted file mode 100644 index 0b40a43737..0000000000 --- a/skill_selectors/rule_based_selector/pipeline.yml +++ /dev/null @@ -1,11 +0,0 @@ -agent: -- group: skill_selectors - connector: - protocol: python - class_name: skill_selectors.rule_based_selector.connector:RuleBasedSkillSelectorConnector - dialog_formatter: state_formatters.dp_formatters:base_skill_selector_formatter_dialog - response_formatter: state_formatters.dp_formatters:simple_formatter_service - previous_services: - - annotators - tags: - - selector diff --git a/skill_selectors/rule_based_selector/service_configs/agent/environment.yml b/skill_selectors/rule_based_selector/service_configs/agent/environment.yml new file mode 100644 index 0000000000..33120fd390 --- /dev/null +++ b/skill_selectors/rule_based_selector/service_configs/agent/environment.yml @@ -0,0 +1,6 @@ +WAIT_HOSTS: "" +WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} +HIGH_PRIORITY_INTENTS: 1 +RESTRICTION_FOR_SENSITIVE_CASE: 1 +ALWAYS_TURN_ON_ALL_SKILLS: 0 +LANGUAGE: EN diff --git a/skill_selectors/rule_based_selector/service_configs/agent/service.yml b/skill_selectors/rule_based_selector/service_configs/agent/service.yml new file mode 100644 index 0000000000..b5abd7d985 --- /dev/null +++ b/skill_selectors/rule_based_selector/service_configs/agent/service.yml @@ -0,0 +1,17 @@ +name: agent +endpoints: +- respond +compose: + command: sh -c 'bin/wait && python -m deeppavlov_agent.run agent.pipeline_config=assistant_dists/dream_alexa/pipeline_conf.json' + environment: + WAIT_HOSTS: "" + WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} + HIGH_PRIORITY_INTENTS: 1 + RESTRICTION_FOR_SENSITIVE_CASE: 1 + ALWAYS_TURN_ON_ALL_SKILLS: 0 + LANGUAGE: EN + volumes: + - .:/dp-agent + ports: + - 4242:4242 +proxy: null diff --git a/skills/alexa_handler/component.yml b/skills/alexa_handler/component.yml deleted file mode 100644 index d0bca552f4..0000000000 --- a/skills/alexa_handler/component.yml +++ /dev/null @@ -1,19 +0,0 @@ -agent: - name: alexa_handler - display_name: Alexa Handler - container_name: agent - component_type: Script-based w/o NNs - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: handler for several specific Alexa commands - ram_usage: 100M - gpu_usage: null - port: 4242 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 4242 - SERVICE_NAME: alexa_handler - date_created: '2023-03-16T09:45:32' diff --git a/skills/alexa_handler/pipeline.yml b/skills/alexa_handler/pipeline.yml deleted file mode 100644 index ff0ba4a002..0000000000 --- a/skills/alexa_handler/pipeline.yml +++ /dev/null @@ -1,10 +0,0 @@ -agent: -- group: skills - connector: - protocol: python - class_name: skills.alexa_handler.connector:AlexaHandlerConnector - dialog_formatter: state_formatters.dp_formatters:last_utt_dialog - response_formatter: state_formatters.dp_formatters:cobot_qa_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis diff --git a/skills/alexa_handler/service_configs/agent/environment.yml b/skills/alexa_handler/service_configs/agent/environment.yml new file mode 100644 index 0000000000..33120fd390 --- /dev/null +++ b/skills/alexa_handler/service_configs/agent/environment.yml @@ -0,0 +1,6 @@ +WAIT_HOSTS: "" +WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} +HIGH_PRIORITY_INTENTS: 1 +RESTRICTION_FOR_SENSITIVE_CASE: 1 +ALWAYS_TURN_ON_ALL_SKILLS: 0 +LANGUAGE: EN diff --git a/skills/alexa_handler/service_configs/agent/service.yml b/skills/alexa_handler/service_configs/agent/service.yml new file mode 100644 index 0000000000..b5abd7d985 --- /dev/null +++ b/skills/alexa_handler/service_configs/agent/service.yml @@ -0,0 +1,17 @@ +name: agent +endpoints: +- respond +compose: + command: sh -c 'bin/wait && python -m deeppavlov_agent.run agent.pipeline_config=assistant_dists/dream_alexa/pipeline_conf.json' + environment: + WAIT_HOSTS: "" + WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} + HIGH_PRIORITY_INTENTS: 1 + RESTRICTION_FOR_SENSITIVE_CASE: 1 + ALWAYS_TURN_ON_ALL_SKILLS: 0 + LANGUAGE: EN + volumes: + - .:/dp-agent + ports: + - 4242:4242 +proxy: null diff --git a/skills/convert_reddit/component.yml b/skills/convert_reddit/component.yml deleted file mode 100644 index aeecf852ba..0000000000 --- a/skills/convert_reddit/component.yml +++ /dev/null @@ -1,19 +0,0 @@ -convert-reddit: - name: convert_reddit - display_name: Convert Reddit - container_name: convert-reddit - component_type: Retrieval - model_type: NN-based - is_customizable: false - author: DeepPavlov - description: uses a ConveRT encoder to build efficient representations for sentences - ram_usage: 1.2G - gpu_usage: null - port: 8029 - endpoints: - - group: skills - endpoint: convert_reddit - build_args: - SERVICE_PORT: '8029' - SERVICE_NAME: convert_reddit - date_created: '2023-03-16T09:45:32' diff --git a/skills/convert_reddit/pipeline.yml b/skills/convert_reddit/pipeline.yml deleted file mode 100644 index ebf3c7df71..0000000000 --- a/skills/convert_reddit/pipeline.yml +++ /dev/null @@ -1,11 +0,0 @@ -convert-reddit: -- group: skills - connector: - protocol: http - timeout: 2.0 - url: http://convert-reddit:8029/convert_reddit - dialog_formatter: state_formatters.dp_formatters:convert_formatter_dialog - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis diff --git a/skills/convert_reddit/service_configs/convert-reddit/environment.yml b/skills/convert_reddit/service_configs/convert-reddit/environment.yml new file mode 100644 index 0000000000..904b25d807 --- /dev/null +++ b/skills/convert_reddit/service_configs/convert-reddit/environment.yml @@ -0,0 +1 @@ +FLASK_APP: server diff --git a/skills/convert_reddit/service_configs/convert-reddit/service.yml b/skills/convert_reddit/service_configs/convert-reddit/service.yml new file mode 100644 index 0000000000..ce83394188 --- /dev/null +++ b/skills/convert_reddit/service_configs/convert-reddit/service.yml @@ -0,0 +1,33 @@ +name: convert-reddit +endpoints: +- convert_reddit +compose: + env_file: + - .env + build: + context: ./skills/convert_reddit/ + command: flask run -h 0.0.0.0 -p 8029 + environment: + - FLASK_APP=server + deploy: + resources: + limits: + memory: 1536M + reservations: + memory: 1536M + volumes: + - ./skills/convert_reddit:/app + - ./common:/src/common + ports: + - 8029:8029 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8029 + - PORT=8029 diff --git a/skills/dff_animals_skill/component.yml b/skills/dff_animals_skill/component.yml deleted file mode 100644 index 3acb40b0d4..0000000000 --- a/skills/dff_animals_skill/component.yml +++ /dev/null @@ -1,21 +0,0 @@ -dff-animals-skill: - name: dff_animals_skill - display_name: Animals Skill - container_name: dff-animals-skill - component_type: Script-based w/o NNs - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: 'is created using DFF and has three branches of conversation about - animals: user''s pets, pets of the socialbot, and wild animals' - ram_usage: 200M - gpu_usage: null - port: 8094 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8094 - SERVICE_NAME: dff_animals_skill - BREED_FACTS_DB: http://files.deeppavlov.ai/kbqa/wikidata/breed_facts.json - date_created: '2023-03-16T09:45:32' diff --git a/skills/dff_animals_skill/pipeline.yml b/skills/dff_animals_skill/pipeline.yml deleted file mode 100644 index d8dc26f1d4..0000000000 --- a/skills/dff_animals_skill/pipeline.yml +++ /dev/null @@ -1,11 +0,0 @@ -dff-animals-skill: -- group: skills - connector: - protocol: http - timeout: 2.0 - url: http://dff-animals-skill:8094/respond - dialog_formatter: state_formatters.dp_formatters:dff_animals_skill_formatter - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis diff --git a/skills/dff_animals_skill/service_configs/dff-animals-skill/environment.yml b/skills/dff_animals_skill/service_configs/dff-animals-skill/environment.yml new file mode 100644 index 0000000000..ab01a900bd --- /dev/null +++ b/skills/dff_animals_skill/service_configs/dff-animals-skill/environment.yml @@ -0,0 +1,3 @@ +SERVICE_PORT: 8094 +SERVICE_NAME: dff_animals_skill +BREED_FACTS_DB: http://files.deeppavlov.ai/kbqa/wikidata/breed_facts.json diff --git a/skills/dff_animals_skill/service_configs/dff-animals-skill/service.yml b/skills/dff_animals_skill/service_configs/dff-animals-skill/service.yml new file mode 100644 index 0000000000..61a753267d --- /dev/null +++ b/skills/dff_animals_skill/service_configs/dff-animals-skill/service.yml @@ -0,0 +1,36 @@ +name: dff-animals-skill +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8094 + SERVICE_NAME: dff_animals_skill + BREED_FACTS_DB: http://files.deeppavlov.ai/kbqa/wikidata/breed_facts.json + context: . + dockerfile: ./skills/dff_animals_skill/Dockerfile + command: gunicorn --workers=1 server:app -b 0.0.0.0:8094 + deploy: + resources: + limits: + memory: 512M + reservations: + memory: 512M + volumes: + - ./skills/dff_animals_skill:/src + - ./common:/src/common + ports: + - 8094:8094 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8094 + - PORT=8094 diff --git a/skills/dff_art_skill/component.yml b/skills/dff_art_skill/component.yml deleted file mode 100644 index e7dec9ea80..0000000000 --- a/skills/dff_art_skill/component.yml +++ /dev/null @@ -1,19 +0,0 @@ -dff-art-skill: - name: dff_art_skill - display_name: Art Skill - container_name: dff-art-skill - component_type: Script-based w/o NNs - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: DFF-based skill to discuss art - ram_usage: 100M - gpu_usage: null - port: 8117 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8117 - SERVICE_NAME: dff_art_skill - date_created: '2023-03-16T09:45:32' diff --git a/skills/dff_art_skill/pipeline.yml b/skills/dff_art_skill/pipeline.yml deleted file mode 100644 index b20025c7be..0000000000 --- a/skills/dff_art_skill/pipeline.yml +++ /dev/null @@ -1,11 +0,0 @@ -dff-art-skill: -- group: skills - connector: - protocol: http - timeout: 2.0 - url: http://dff-art-skill:8117/respond - dialog_formatter: state_formatters.dp_formatters:dff_art_skill_formatter - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis diff --git a/skills/dff_art_skill/service_configs/dff-art-skill/environment.yml b/skills/dff_art_skill/service_configs/dff-art-skill/environment.yml new file mode 100644 index 0000000000..299f547f3a --- /dev/null +++ b/skills/dff_art_skill/service_configs/dff-art-skill/environment.yml @@ -0,0 +1,2 @@ +SERVICE_PORT: 8117 +SERVICE_NAME: dff_art_skill diff --git a/skills/dff_art_skill/service_configs/dff-art-skill/service.yml b/skills/dff_art_skill/service_configs/dff-art-skill/service.yml new file mode 100644 index 0000000000..274aeb8cc4 --- /dev/null +++ b/skills/dff_art_skill/service_configs/dff-art-skill/service.yml @@ -0,0 +1,35 @@ +name: dff-art-skill +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8117 + SERVICE_NAME: dff_art_skill + context: . + dockerfile: ./skills/dff_art_skill/Dockerfile + command: gunicorn --workers=1 server:app -b 0.0.0.0:8117 + deploy: + resources: + limits: + memory: 512M + reservations: + memory: 512M + volumes: + - ./skills/dff_art_skill:/src + - ./common:/src/common + ports: + - 8117:8117 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8117 + - PORT=8117 diff --git a/skills/dff_book_sfc_skill/component.yml b/skills/dff_book_sfc_skill/component.yml deleted file mode 100644 index 8732932704..0000000000 --- a/skills/dff_book_sfc_skill/component.yml +++ /dev/null @@ -1,22 +0,0 @@ -dff-book-sfc-skill: - name: dff_book_skill - display_name: Book Skill - container_name: dff-book-sfc-skill - component_type: Script-based w/o NNs - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: detects book titles and authors mentioned in the user's utterance with - the help of Wiki parser and Entity linking and recommends books by leveraging - information from the GoodReads database - ram_usage: 400M - gpu_usage: null - port: 8034 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8034 - SERVICE_NAME: dff_book_skill - QUERY_DICT: http://files.deeppavlov.ai/alexaprize_data/book_query_dict.pkl - date_created: '2023-03-16T09:45:32' diff --git a/skills/dff_book_sfc_skill/pipeline.yml b/skills/dff_book_sfc_skill/pipeline.yml deleted file mode 100644 index 119c805c1b..0000000000 --- a/skills/dff_book_sfc_skill/pipeline.yml +++ /dev/null @@ -1,11 +0,0 @@ -dff-book-sfc-skill: -- group: skills - connector: - protocol: http - timeout: 2.0 - url: http://dff-book-sfc-skill:8034/respond - dialog_formatter: state_formatters.dp_formatters:dff_book_sfc_skill_formatter - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis diff --git a/skills/dff_book_sfc_skill/service_configs/dff-book-sfc-skill/environment.yml b/skills/dff_book_sfc_skill/service_configs/dff-book-sfc-skill/environment.yml new file mode 100644 index 0000000000..ac03602421 --- /dev/null +++ b/skills/dff_book_sfc_skill/service_configs/dff-book-sfc-skill/environment.yml @@ -0,0 +1,3 @@ +SERVICE_PORT: 8034 +SERVICE_NAME: dff_book_skill +QUERY_DICT: http://files.deeppavlov.ai/alexaprize_data/book_query_dict.pkl diff --git a/skills/dff_book_sfc_skill/service_configs/dff-book-sfc-skill/service.yml b/skills/dff_book_sfc_skill/service_configs/dff-book-sfc-skill/service.yml new file mode 100644 index 0000000000..e3710b7d01 --- /dev/null +++ b/skills/dff_book_sfc_skill/service_configs/dff-book-sfc-skill/service.yml @@ -0,0 +1,36 @@ +name: dff-book-sfc-skill +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8034 + SERVICE_NAME: dff_book_skill + QUERY_DICT: http://files.deeppavlov.ai/alexaprize_data/book_query_dict.pkl + context: . + dockerfile: ./skills/dff_book_sfc_skill/Dockerfile + command: gunicorn --workers=1 server:app -b 0.0.0.0:8034 --reload + deploy: + resources: + limits: + memory: 512M + reservations: + memory: 512M + volumes: + - ./skills/dff_book_sfc_skill:/src + - ./common:/src/common + ports: + - 8034:8034 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8034 + - PORT=8034 diff --git a/skills/dff_book_skill/component.yml b/skills/dff_book_skill/component.yml deleted file mode 100644 index 8f2e8e41c8..0000000000 --- a/skills/dff_book_skill/component.yml +++ /dev/null @@ -1,22 +0,0 @@ -dff-book-skill: - name: dff_book_skill - display_name: Book Skill - container_name: dff-book-skill - component_type: Script-based w/o NNs - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: detects book titles and authors mentioned in the user's utterance with - the help of Wiki parser and Entity linking and recommends books by leveraging - information from the GoodReads database - ram_usage: 400M - gpu_usage: null - port: 8032 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8032 - SERVICE_NAME: dff_book_skill - QUERY_DICT: http://files.deeppavlov.ai/alexaprize_data/book_query_dict.pkl - date_created: '2023-03-16T09:45:32' diff --git a/skills/dff_book_skill/pipeline.yml b/skills/dff_book_skill/pipeline.yml deleted file mode 100644 index 4ac218abc6..0000000000 --- a/skills/dff_book_skill/pipeline.yml +++ /dev/null @@ -1,11 +0,0 @@ -dff-book-skill: -- group: skills - connector: - protocol: http - timeout: 2.0 - url: http://dff-book-skill:8032/respond - dialog_formatter: state_formatters.dp_formatters:dff_book_skill_formatter - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis diff --git a/skills/dff_book_skill/service_configs/dff-book-skill/environment.yml b/skills/dff_book_skill/service_configs/dff-book-skill/environment.yml new file mode 100644 index 0000000000..e5f4eaaf54 --- /dev/null +++ b/skills/dff_book_skill/service_configs/dff-book-skill/environment.yml @@ -0,0 +1,3 @@ +SERVICE_PORT: 8032 +SERVICE_NAME: dff_book_skill +QUERY_DICT: http://files.deeppavlov.ai/alexaprize_data/book_query_dict.pkl diff --git a/skills/dff_book_skill/service_configs/dff-book-skill/service.yml b/skills/dff_book_skill/service_configs/dff-book-skill/service.yml new file mode 100644 index 0000000000..eac82f9998 --- /dev/null +++ b/skills/dff_book_skill/service_configs/dff-book-skill/service.yml @@ -0,0 +1,36 @@ +name: dff-book-skill +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8032 + SERVICE_NAME: dff_book_skill + QUERY_DICT: http://files.deeppavlov.ai/alexaprize_data/book_query_dict.pkl + context: . + dockerfile: ./skills/dff_book_skill/Dockerfile + command: gunicorn --workers=1 server:app -b 0.0.0.0:8032 --reload + deploy: + resources: + limits: + memory: 512M + reservations: + memory: 512M + volumes: + - ./skills/dff_book_skill:/src + - ./common:/src/common + ports: + - 8032:8032 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8032 + - PORT=8032 diff --git a/skills/dff_bot_persona_skill/component.yml b/skills/dff_bot_persona_skill/component.yml deleted file mode 100644 index 61a6105ca1..0000000000 --- a/skills/dff_bot_persona_skill/component.yml +++ /dev/null @@ -1,20 +0,0 @@ -dff-bot-persona-skill: - name: dff_bot_persona_skill - display_name: Bot Persona Skill - container_name: dff-bot-persona-skill - component_type: Script-based w/o NNs - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: aims to discuss user favorites and 20 most popular things with short - stories expressing the socialbot's opinion towards them - ram_usage: 150M - gpu_usage: null - port: 8105 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8105 - SERVICE_NAME: dff_bot_persona_skill - date_created: '2023-03-16T09:45:32' diff --git a/skills/dff_bot_persona_skill/pipeline.yml b/skills/dff_bot_persona_skill/pipeline.yml deleted file mode 100644 index dfe1b6ea87..0000000000 --- a/skills/dff_bot_persona_skill/pipeline.yml +++ /dev/null @@ -1,11 +0,0 @@ -dff-bot-persona-skill: -- group: skills - connector: - protocol: http - timeout: 2.0 - url: http://dff-bot-persona-skill:8105/respond - dialog_formatter: state_formatters.dp_formatters:dff_bot_persona_skill_formatter - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis diff --git a/skills/dff_bot_persona_skill/service_configs/dff-bot-persona-skill/environment.yml b/skills/dff_bot_persona_skill/service_configs/dff-bot-persona-skill/environment.yml new file mode 100644 index 0000000000..cd0f2e840c --- /dev/null +++ b/skills/dff_bot_persona_skill/service_configs/dff-bot-persona-skill/environment.yml @@ -0,0 +1,2 @@ +SERVICE_PORT: 8105 +SERVICE_NAME: dff_bot_persona_skill diff --git a/skills/dff_bot_persona_skill/service_configs/dff-bot-persona-skill/service.yml b/skills/dff_bot_persona_skill/service_configs/dff-bot-persona-skill/service.yml new file mode 100644 index 0000000000..25e2a6e195 --- /dev/null +++ b/skills/dff_bot_persona_skill/service_configs/dff-bot-persona-skill/service.yml @@ -0,0 +1,35 @@ +name: dff-bot-persona-skill +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8105 + SERVICE_NAME: dff_bot_persona_skill + context: . + dockerfile: ./skills/dff_bot_persona_skill/Dockerfile + command: gunicorn --workers=1 server:app -b 0.0.0.0:8105 + deploy: + resources: + limits: + memory: 256M + reservations: + memory: 256M + volumes: + - ./skills/dff_bot_persona_skill:/src + - ./common:/src/common + ports: + - 8105:8105 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8105 + - PORT=8105 diff --git a/skills/dff_coronavirus_skill/component.yml b/skills/dff_coronavirus_skill/component.yml deleted file mode 100644 index d5c57fe66b..0000000000 --- a/skills/dff_coronavirus_skill/component.yml +++ /dev/null @@ -1,21 +0,0 @@ -dff-coronavirus-skill: - name: dff_coronavirus_skill - display_name: Coronavirus Skill - container_name: dff-coronavirus-skill - component_type: Script-based w/o NNs - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: retrieves data about the number of coronavirus cases and deaths in - different locations sourced from the John Hopkins University Center for System - Science and Engineering - ram_usage: 110M - gpu_usage: null - port: 8061 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8061 - SERVICE_NAME: dff_coronavirus_skill - date_created: '2023-03-16T09:45:32' diff --git a/skills/dff_coronavirus_skill/pipeline.yml b/skills/dff_coronavirus_skill/pipeline.yml deleted file mode 100644 index 40b0d9427d..0000000000 --- a/skills/dff_coronavirus_skill/pipeline.yml +++ /dev/null @@ -1,11 +0,0 @@ -dff-coronavirus-skill: -- group: skills - connector: - protocol: http - timeout: 2.0 - url: http://dff-coronavirus-skill:8061/respond - dialog_formatter: state_formatters.dp_formatters:dff_coronavirus_skill_formatter - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis diff --git a/skills/dff_coronavirus_skill/service_configs/dff-coronavirus-skill/environment.yml b/skills/dff_coronavirus_skill/service_configs/dff-coronavirus-skill/environment.yml new file mode 100644 index 0000000000..0e30d0ca8c --- /dev/null +++ b/skills/dff_coronavirus_skill/service_configs/dff-coronavirus-skill/environment.yml @@ -0,0 +1,2 @@ +SERVICE_PORT: 8061 +SERVICE_NAME: dff_coronavirus_skill diff --git a/skills/dff_coronavirus_skill/service_configs/dff-coronavirus-skill/service.yml b/skills/dff_coronavirus_skill/service_configs/dff-coronavirus-skill/service.yml new file mode 100644 index 0000000000..95e93f3222 --- /dev/null +++ b/skills/dff_coronavirus_skill/service_configs/dff-coronavirus-skill/service.yml @@ -0,0 +1,35 @@ +name: dff-coronavirus-skill +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8061 + SERVICE_NAME: dff_coronavirus_skill + context: . + dockerfile: ./skills/dff_coronavirus_skill/Dockerfile + command: gunicorn --workers=1 server:app -b 0.0.0.0:8061 --reload + deploy: + resources: + limits: + memory: 192M + reservations: + memory: 192M + volumes: + - ./skills/dff_coronavirus_skill:/src + - ./common:/src/common + ports: + - 8061:8061 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8061 + - PORT=8061 diff --git a/skills/dff_food_skill/component.yml b/skills/dff_food_skill/component.yml deleted file mode 100644 index 96824c3f52..0000000000 --- a/skills/dff_food_skill/component.yml +++ /dev/null @@ -1,19 +0,0 @@ -dff-food-skill: - name: dff_food_skill - display_name: Food Skill - container_name: dff-food-skill - component_type: Script-based w/o NNs - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: constructed with DFF to encourage food-related conversation - ram_usage: 150M - gpu_usage: null - port: 8097 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8097 - SERVICE_NAME: dff_food_skill - date_created: '2023-03-16T09:45:32' diff --git a/skills/dff_food_skill/pipeline.yml b/skills/dff_food_skill/pipeline.yml deleted file mode 100644 index 09b34cc23c..0000000000 --- a/skills/dff_food_skill/pipeline.yml +++ /dev/null @@ -1,11 +0,0 @@ -dff-food-skill: -- group: skills - connector: - protocol: http - timeout: 2.0 - url: http://dff-food-skill:8097/respond - dialog_formatter: state_formatters.dp_formatters:dff_food_skill_formatter - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis diff --git a/skills/dff_food_skill/service_configs/dff-food-skill/environment.yml b/skills/dff_food_skill/service_configs/dff-food-skill/environment.yml new file mode 100644 index 0000000000..3bfa96afda --- /dev/null +++ b/skills/dff_food_skill/service_configs/dff-food-skill/environment.yml @@ -0,0 +1,2 @@ +SERVICE_PORT: 8097 +SERVICE_NAME: dff_food_skill diff --git a/skills/dff_food_skill/service_configs/dff-food-skill/service.yml b/skills/dff_food_skill/service_configs/dff-food-skill/service.yml new file mode 100644 index 0000000000..2b54ad44f0 --- /dev/null +++ b/skills/dff_food_skill/service_configs/dff-food-skill/service.yml @@ -0,0 +1,35 @@ +name: dff-food-skill +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8097 + SERVICE_NAME: dff_food_skill + context: . + dockerfile: ./skills/dff_food_skill/Dockerfile + command: gunicorn --workers=1 server:app -b 0.0.0.0:8097 + deploy: + resources: + limits: + memory: 256M + reservations: + memory: 256M + volumes: + - ./skills/dff_food_skill:/src + - ./common:/src/common + ports: + - 8097:8097 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8097 + - PORT=8097 diff --git a/skills/dff_friendship_skill/component.yml b/skills/dff_friendship_skill/component.yml deleted file mode 100644 index 582bc881eb..0000000000 --- a/skills/dff_friendship_skill/component.yml +++ /dev/null @@ -1,41 +0,0 @@ -dff-friendship-ru-skill: - name: dff_friendship_skill - display_name: Friendship Skill - container_name: dff-friendship-ru-skill - component_type: Script-based w/o NNs - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: DFF-based skill to greet the user in the beginning of the dialog, and - forward the user to some scripted skill - ram_usage: 100M - gpu_usage: null - port: 8086 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8086 - SERVICE_NAME: dff_friendship_skill - LANGUAGE: RU - date_created: '2023-03-16T09:45:32' -dff-friendship-skill: - name: dff_friendship_skill - display_name: Friendship Skill - container_name: dff-friendship-skill - component_type: Script-based w/o NNs - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: DFF-based skill to greet the user in the beginning of the dialog, and - forward the user to some scripted skill - ram_usage: 100M - gpu_usage: null - port: 8086 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8086 - SERVICE_NAME: dff_friendship_skill - date_created: '2023-03-16T09:45:32' diff --git a/skills/dff_friendship_skill/pipeline.yml b/skills/dff_friendship_skill/pipeline.yml deleted file mode 100644 index 5c3ce0f175..0000000000 --- a/skills/dff_friendship_skill/pipeline.yml +++ /dev/null @@ -1,22 +0,0 @@ -dff-friendship-skill: -- group: skills - connector: - protocol: http - timeout: 2.0 - url: http://dff-friendship-skill:8086/respond - dialog_formatter: state_formatters.dp_formatters:dff_friendship_skill_formatter - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis -dff-friendship-ru-skill: -- group: skills - connector: - protocol: http - timeout: 2.0 - url: http://dff-friendship-ru-skill:8086/respond - dialog_formatter: state_formatters.dp_formatters:dff_friendship_skill_formatter - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis diff --git a/skills/dff_friendship_skill/service_configs/dff-friendship-ru-skill/environment.yml b/skills/dff_friendship_skill/service_configs/dff-friendship-ru-skill/environment.yml new file mode 100644 index 0000000000..9120c39189 --- /dev/null +++ b/skills/dff_friendship_skill/service_configs/dff-friendship-ru-skill/environment.yml @@ -0,0 +1,3 @@ +SERVICE_PORT: 8086 +SERVICE_NAME: dff_friendship_skill +LANGUAGE: RU diff --git a/skills/dff_friendship_skill/service_configs/dff-friendship-ru-skill/service.yml b/skills/dff_friendship_skill/service_configs/dff-friendship-ru-skill/service.yml new file mode 100644 index 0000000000..747bf7a052 --- /dev/null +++ b/skills/dff_friendship_skill/service_configs/dff-friendship-ru-skill/service.yml @@ -0,0 +1,26 @@ +name: dff-friendship-ru-skill +endpoints: +- respond +compose: + env_file: + - .env_ru + build: + args: + SERVICE_PORT: 8086 + SERVICE_NAME: dff_friendship_skill + LANGUAGE: RU + context: . + dockerfile: ./skills/dff_friendship_skill/Dockerfile + command: gunicorn --workers=1 server:app -b 0.0.0.0:8086 + deploy: + resources: + limits: + memory: 128M + reservations: + memory: 128M + volumes: + - ./skills/dff_friendship_skill:/src + - ./common:/src/common + ports: + - 8086:8086 +proxy: null diff --git a/skills/dff_friendship_skill/service_configs/dff-friendship-skill/environment.yml b/skills/dff_friendship_skill/service_configs/dff-friendship-skill/environment.yml new file mode 100644 index 0000000000..fbba775de4 --- /dev/null +++ b/skills/dff_friendship_skill/service_configs/dff-friendship-skill/environment.yml @@ -0,0 +1,2 @@ +SERVICE_PORT: 8086 +SERVICE_NAME: dff_friendship_skill diff --git a/skills/dff_friendship_skill/service_configs/dff-friendship-skill/service.yml b/skills/dff_friendship_skill/service_configs/dff-friendship-skill/service.yml new file mode 100644 index 0000000000..230d07419b --- /dev/null +++ b/skills/dff_friendship_skill/service_configs/dff-friendship-skill/service.yml @@ -0,0 +1,35 @@ +name: dff-friendship-skill +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8086 + SERVICE_NAME: dff_friendship_skill + context: . + dockerfile: ./skills/dff_friendship_skill/Dockerfile + command: gunicorn --workers=1 server:app -b 0.0.0.0:8086 + deploy: + resources: + limits: + memory: 256M + reservations: + memory: 256M + volumes: + - ./skills/dff_friendship_skill:/src + - ./common:/src/common + ports: + - 8086:8086 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8086 + - PORT=8086 diff --git a/skills/dff_funfact_skill/component.yml b/skills/dff_funfact_skill/component.yml deleted file mode 100644 index e582a8977c..0000000000 --- a/skills/dff_funfact_skill/component.yml +++ /dev/null @@ -1,19 +0,0 @@ -dff-funfact-skill: - name: dff_funfact_skill - display_name: Funfact Skill - container_name: dff-funfact-skill - component_type: Script-based w/o NNs - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: Tells user fun facts - ram_usage: 100M - gpu_usage: null - port: 8104 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8104 - SERVICE_NAME: dff_funfact_skill - date_created: '2023-03-16T09:45:32' diff --git a/skills/dff_funfact_skill/pipeline.yml b/skills/dff_funfact_skill/pipeline.yml deleted file mode 100644 index 36d065fad7..0000000000 --- a/skills/dff_funfact_skill/pipeline.yml +++ /dev/null @@ -1,11 +0,0 @@ -dff-funfact-skill: -- group: skills - connector: - protocol: http - timeout: 2.0 - url: http://dff-funfact-skill:8104/respond - dialog_formatter: state_formatters.dp_formatters:dff_funfact_skill_formatter - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis diff --git a/skills/dff_funfact_skill/service_configs/dff-funfact-skill/environment.yml b/skills/dff_funfact_skill/service_configs/dff-funfact-skill/environment.yml new file mode 100644 index 0000000000..12e7421994 --- /dev/null +++ b/skills/dff_funfact_skill/service_configs/dff-funfact-skill/environment.yml @@ -0,0 +1,2 @@ +SERVICE_PORT: 8104 +SERVICE_NAME: dff_funfact_skill diff --git a/skills/dff_funfact_skill/service_configs/dff-funfact-skill/service.yml b/skills/dff_funfact_skill/service_configs/dff-funfact-skill/service.yml new file mode 100644 index 0000000000..8b82ad04fe --- /dev/null +++ b/skills/dff_funfact_skill/service_configs/dff-funfact-skill/service.yml @@ -0,0 +1,35 @@ +name: dff-funfact-skill +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8104 + SERVICE_NAME: dff_funfact_skill + context: . + dockerfile: ./skills/dff_funfact_skill/Dockerfile + command: gunicorn --workers=1 server:app -b 0.0.0.0:8104 + deploy: + resources: + limits: + memory: 256M + reservations: + memory: 256M + volumes: + - ./skills/dff_funfact_skill:/src + - ./common:/src/common + ports: + - 8104:8104 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8104 + - PORT=8104 diff --git a/skills/dff_gaming_skill/component.yml b/skills/dff_gaming_skill/component.yml deleted file mode 100644 index a13ae021d3..0000000000 --- a/skills/dff_gaming_skill/component.yml +++ /dev/null @@ -1,22 +0,0 @@ -dff-gaming-skill: - name: dff_gaming_skill - display_name: Gaming Skill - container_name: dff-gaming-skill - component_type: Script-based w/o NNs - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: provides a video games discussion. Gaming Skill is for more general - talk about video games - ram_usage: 100M - gpu_usage: null - port: 8115 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8115 - SERVICE_NAME: dff_gaming_skill - GAMES_IGDB_SEARCH_RESULTS_URL: http://files.deeppavlov.ai/alexaprize_data/games_igdb_search_results_v2.json - GAMES_IGDB_IDS_URL: http://files.deeppavlov.ai/alexaprize_data/game_igdb_ids_v2.json - date_created: '2023-03-16T09:45:32' diff --git a/skills/dff_gaming_skill/pipeline.yml b/skills/dff_gaming_skill/pipeline.yml deleted file mode 100644 index ded56230e3..0000000000 --- a/skills/dff_gaming_skill/pipeline.yml +++ /dev/null @@ -1,11 +0,0 @@ -dff-gaming-skill: -- group: skills - connector: - protocol: http - timeout: 2.0 - url: http://dff-gaming-skill:8115/respond - dialog_formatter: state_formatters.dp_formatters:dff_gaming_skill_formatter - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis diff --git a/skills/dff_gaming_skill/service_configs/dff-gaming-skill/environment.yml b/skills/dff_gaming_skill/service_configs/dff-gaming-skill/environment.yml new file mode 100644 index 0000000000..d672255b96 --- /dev/null +++ b/skills/dff_gaming_skill/service_configs/dff-gaming-skill/environment.yml @@ -0,0 +1,4 @@ +SERVICE_PORT: 8115 +SERVICE_NAME: dff_gaming_skill +GAMES_IGDB_SEARCH_RESULTS_URL: http://files.deeppavlov.ai/alexaprize_data/games_igdb_search_results_v2.json +GAMES_IGDB_IDS_URL: http://files.deeppavlov.ai/alexaprize_data/game_igdb_ids_v2.json diff --git a/skills/dff_gaming_skill/service_configs/dff-gaming-skill/service.yml b/skills/dff_gaming_skill/service_configs/dff-gaming-skill/service.yml new file mode 100644 index 0000000000..e10230333d --- /dev/null +++ b/skills/dff_gaming_skill/service_configs/dff-gaming-skill/service.yml @@ -0,0 +1,37 @@ +name: dff-gaming-skill +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8115 + SERVICE_NAME: dff_gaming_skill + GAMES_IGDB_SEARCH_RESULTS_URL: http://files.deeppavlov.ai/alexaprize_data/games_igdb_search_results_v2.json + GAMES_IGDB_IDS_URL: http://files.deeppavlov.ai/alexaprize_data/game_igdb_ids_v2.json + context: . + dockerfile: ./skills/dff_gaming_skill/Dockerfile + command: gunicorn --workers=1 server:app -b 0.0.0.0:8115 + deploy: + resources: + limits: + memory: 512M + reservations: + memory: 512M + volumes: + - ./skills/dff_gaming_skill:/src + - ./common:/src/common + ports: + - 8115:8115 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8115 + - PORT=8115 diff --git a/skills/dff_generative_skill/component.yml b/skills/dff_generative_skill/component.yml deleted file mode 100644 index 169662f4dd..0000000000 --- a/skills/dff_generative_skill/component.yml +++ /dev/null @@ -1,22 +0,0 @@ -dff-generative-ru-skill: - name: dff_generative_skill - display_name: Generative Skill - container_name: dff-generative-ru-skill - component_type: Generative - model_type: NN-based - is_customizable: false - author: DeepPavlov - description: generative skill which uses DialoGPT service to generate 3 different - hypotheses - ram_usage: 100M - gpu_usage: null - port: 8092 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8092 - SERVICE_NAME: dff_generative_skill - LANGUAGE: RU - GENERATIVE_SERVICE_URL: http://dialogpt-ru:8125/respond - date_created: '2023-03-16T09:45:32' diff --git a/skills/dff_generative_skill/pipeline.yml b/skills/dff_generative_skill/pipeline.yml deleted file mode 100644 index bee61b8c2e..0000000000 --- a/skills/dff_generative_skill/pipeline.yml +++ /dev/null @@ -1,11 +0,0 @@ -dff-generative-ru-skill: -- group: skills - connector: - protocol: http - timeout: 4.0 - url: http://dff-generative-ru-skill:8092/respond - dialog_formatter: state_formatters.dp_formatters:dff_generative_skill_formatter - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis diff --git a/skills/dff_generative_skill/service_configs/dff-generative-ru-skill/environment.yml b/skills/dff_generative_skill/service_configs/dff-generative-ru-skill/environment.yml new file mode 100644 index 0000000000..44fe91624e --- /dev/null +++ b/skills/dff_generative_skill/service_configs/dff-generative-ru-skill/environment.yml @@ -0,0 +1,4 @@ +SERVICE_PORT: 8092 +SERVICE_NAME: dff_generative_skill +LANGUAGE: RU +GENERATIVE_SERVICE_URL: http://dialogpt-ru:8125/respond diff --git a/skills/dff_generative_skill/service_configs/dff-generative-ru-skill/service.yml b/skills/dff_generative_skill/service_configs/dff-generative-ru-skill/service.yml new file mode 100644 index 0000000000..132295c5b5 --- /dev/null +++ b/skills/dff_generative_skill/service_configs/dff-generative-ru-skill/service.yml @@ -0,0 +1,27 @@ +name: dff-generative-ru-skill +endpoints: +- respond +compose: + env_file: + - .env_ru + build: + args: + SERVICE_PORT: 8092 + SERVICE_NAME: dff_generative_skill + LANGUAGE: RU + GENERATIVE_SERVICE_URL: http://dialogpt-ru:8125/respond + context: . + dockerfile: ./skills/dff_generative_skill/Dockerfile + command: gunicorn --workers=1 server:app -b 0.0.0.0:8092 --reload + deploy: + resources: + limits: + memory: 128M + reservations: + memory: 128M + volumes: + - ./skills/dff_generative_skill:/src + - ./common:/src/common + ports: + - 8092:8092 +proxy: null diff --git a/skills/dff_gossip_skill/component.yml b/skills/dff_gossip_skill/component.yml deleted file mode 100644 index 580a49b3b6..0000000000 --- a/skills/dff_gossip_skill/component.yml +++ /dev/null @@ -1,19 +0,0 @@ -dff-gossip-skill: - name: dff_gossip_skill - display_name: Gossip Skill - container_name: dff-gossip-skill - component_type: Script-based w/o NNs - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: DFF-based skill to discuss other people with news about them - ram_usage: 100M - gpu_usage: null - port: 8109 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8109 - SERVICE_NAME: dff_gossip_skill - date_created: '2023-03-16T09:45:32' diff --git a/skills/dff_gossip_skill/pipeline.yml b/skills/dff_gossip_skill/pipeline.yml deleted file mode 100644 index 83daf12462..0000000000 --- a/skills/dff_gossip_skill/pipeline.yml +++ /dev/null @@ -1,13 +0,0 @@ -dff-gossip-skill: -- group: skills - connector: - protocol: http - timeout: 2.0 - url: http://dff-gossip-skill:8109/respond - dialog_formatter: state_formatters.dp_formatters:dff_gossip_skill_formatter - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - - annotators.entity_linking - - annotators.wiki_parser - state_manager_method: add_hypothesis diff --git a/skills/dff_gossip_skill/service_configs/dff-gossip-skill/environment.yml b/skills/dff_gossip_skill/service_configs/dff-gossip-skill/environment.yml new file mode 100644 index 0000000000..bd41e00635 --- /dev/null +++ b/skills/dff_gossip_skill/service_configs/dff-gossip-skill/environment.yml @@ -0,0 +1,2 @@ +SERVICE_PORT: 8109 +SERVICE_NAME: dff_gossip_skill diff --git a/skills/dff_gossip_skill/service_configs/dff-gossip-skill/service.yml b/skills/dff_gossip_skill/service_configs/dff-gossip-skill/service.yml new file mode 100644 index 0000000000..46bf7d726f --- /dev/null +++ b/skills/dff_gossip_skill/service_configs/dff-gossip-skill/service.yml @@ -0,0 +1,35 @@ +name: dff-gossip-skill +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8109 + SERVICE_NAME: dff_gossip_skill + context: . + dockerfile: skills/dff_gossip_skill/Dockerfile + command: gunicorn --workers=1 server:app -b 0.0.0.0:8109 + deploy: + resources: + limits: + memory: 256M + reservations: + memory: 256M + volumes: + - ./skills/dff_gossip_skill:/src + - ./common:/src/common + ports: + - 8109:8109 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8109 + - PORT=8109 diff --git a/skills/dff_grounding_skill/component.yml b/skills/dff_grounding_skill/component.yml deleted file mode 100644 index 5664a94cb4..0000000000 --- a/skills/dff_grounding_skill/component.yml +++ /dev/null @@ -1,21 +0,0 @@ -dff-grounding-skill: - name: dff_grounding_skill - display_name: Grounding Skill - container_name: dff-grounding-skill - component_type: Script-based with NNs - model_type: NN-based - is_customizable: false - author: DeepPavlov - description: DFF-based skill to answer what is the topic of the conversation, to - generate acknowledgement, to generate universal responses on some dialog acts - by MIDAS - ram_usage: 100M - gpu_usage: null - port: 8080 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8080 - SERVICE_NAME: dff_grounding_skill - date_created: '2023-03-16T09:45:32' diff --git a/skills/dff_grounding_skill/pipeline.yml b/skills/dff_grounding_skill/pipeline.yml deleted file mode 100644 index 74c8b48ff3..0000000000 --- a/skills/dff_grounding_skill/pipeline.yml +++ /dev/null @@ -1,11 +0,0 @@ -dff-grounding-skill: -- group: skills - connector: - protocol: http - timeout: 2.0 - url: http://dff-grounding-skill:8080/respond - dialog_formatter: state_formatters.dp_formatters:dff_grounding_skill_formatter - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis diff --git a/skills/dff_grounding_skill/service_configs/dff-grounding-skill/environment.yml b/skills/dff_grounding_skill/service_configs/dff-grounding-skill/environment.yml new file mode 100644 index 0000000000..b39dbbfe15 --- /dev/null +++ b/skills/dff_grounding_skill/service_configs/dff-grounding-skill/environment.yml @@ -0,0 +1,2 @@ +SERVICE_PORT: 8080 +SERVICE_NAME: dff_grounding_skill diff --git a/skills/dff_grounding_skill/service_configs/dff-grounding-skill/service.yml b/skills/dff_grounding_skill/service_configs/dff-grounding-skill/service.yml new file mode 100644 index 0000000000..ea559ea895 --- /dev/null +++ b/skills/dff_grounding_skill/service_configs/dff-grounding-skill/service.yml @@ -0,0 +1,35 @@ +name: dff-grounding-skill +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8080 + SERVICE_NAME: dff_grounding_skill + context: . + dockerfile: ./skills/dff_grounding_skill/Dockerfile + command: gunicorn --workers=1 server:app -b 0.0.0.0:8080 --reload + deploy: + resources: + limits: + memory: 128M + reservations: + memory: 128M + volumes: + - ./skills/dff_grounding_skill:/src + - ./common:/src/common + ports: + - 8080:8080 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8080 + - PORT=8080 diff --git a/skills/dff_image_skill/component.yml b/skills/dff_image_skill/component.yml deleted file mode 100644 index d247e8024e..0000000000 --- a/skills/dff_image_skill/component.yml +++ /dev/null @@ -1,22 +0,0 @@ -dff-image-skill: - name: dff_image_skill - display_name: Image Skill - container_name: dff-image-skill - component_type: Script-based w/o NNs - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: Scripted skill that based on the sent image captioning (from annotations) - responses with specified responses in case of food, animals or people detected, - and default responses otherwise - ram_usage: 100M - gpu_usage: null - port: 8188 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8188 - SERVICE_NAME: dff_image_skill - LANGUAGE: EN - date_created: '2023-03-16T09:45:32' diff --git a/skills/dff_image_skill/pipeline.yml b/skills/dff_image_skill/pipeline.yml deleted file mode 100644 index b462015141..0000000000 --- a/skills/dff_image_skill/pipeline.yml +++ /dev/null @@ -1,11 +0,0 @@ -dff-image-skill: -- group: skills - connector: - protocol: http - timeout: 2.0 - url: http://dff-image-skill:8188/respond - dialog_formatter: state_formatters.dp_formatters:dff_image_skill_formatter - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis diff --git a/skills/dff_image_skill/service_configs/dff-image-skill/environment.yml b/skills/dff_image_skill/service_configs/dff-image-skill/environment.yml new file mode 100644 index 0000000000..172ba31e24 --- /dev/null +++ b/skills/dff_image_skill/service_configs/dff-image-skill/environment.yml @@ -0,0 +1,3 @@ +SERVICE_PORT: 8188 +SERVICE_NAME: dff_image_skill +LANGUAGE: EN diff --git a/skills/dff_image_skill/service_configs/dff-image-skill/service.yml b/skills/dff_image_skill/service_configs/dff-image-skill/service.yml new file mode 100644 index 0000000000..baf0e3a2e5 --- /dev/null +++ b/skills/dff_image_skill/service_configs/dff-image-skill/service.yml @@ -0,0 +1,26 @@ +name: dff-image-skill +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8188 + SERVICE_NAME: dff_image_skill + LANGUAGE: EN + context: . + dockerfile: ./skills/dff_image_skill/Dockerfile + command: gunicorn --workers=1 server:app -b 0.0.0.0:8188 --reload + deploy: + resources: + limits: + memory: 1024M + reservations: + memory: 1024M + volumes: + - ./skills/dff_image_skill:/src + - ./common:/src/common + ports: + - 8188:8188 +proxy: null diff --git a/skills/dff_intent_responder_skill/component.yml b/skills/dff_intent_responder_skill/component.yml deleted file mode 100644 index 999da40879..0000000000 --- a/skills/dff_intent_responder_skill/component.yml +++ /dev/null @@ -1,43 +0,0 @@ -dff-intent-responder-ru-skill: - name: dff_intent_responder_skill - display_name: Custom Responses - container_name: dff-intent-responder-ru-skill - component_type: Script-based w/o NNs - model_type: Dictionary/Pattern-based - is_customizable: true - author: DeepPavlov - description: provides template-based replies for some of the intents detected by - Intent Catcher annotator - ram_usage: 100M - gpu_usage: null - port: 8012 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8012 - SERVICE_NAME: dff_intent_responder_skill - INTENT_RESPONSE_PHRASES_FNAME: intent_response_phrases_RU.json - LANGUAGE: RU - date_created: '2023-03-16T09:45:32' -dff-intent-responder-skill: - name: dff_intent_responder_skill - display_name: Custom Responses - container_name: dff-intent-responder-skill - component_type: Script-based w/o NNs - model_type: Dictionary/Pattern-based - is_customizable: true - author: DeepPavlov - description: provides template-based replies for some of the intents detected by - Intent Catcher annotator - ram_usage: 100M - gpu_usage: null - port: 8012 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8012 - SERVICE_NAME: dff_intent_responder_skill - INTENT_RESPONSE_PHRASES_FNAME: intent_response_phrases.json - date_created: '2023-03-16T09:45:32' diff --git a/skills/dff_intent_responder_skill/pipeline.yml b/skills/dff_intent_responder_skill/pipeline.yml deleted file mode 100644 index 9fd042e088..0000000000 --- a/skills/dff_intent_responder_skill/pipeline.yml +++ /dev/null @@ -1,22 +0,0 @@ -dff-intent-responder-skill: -- group: skills - connector: - protocol: http - timeout: 2.0 - url: http://dff-intent-responder-skill:8012/respond - dialog_formatter: state_formatters.dp_formatters:dff_intent_responder_skill_formatter - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis -dff-intent-responder-ru-skill: -- group: skills - connector: - protocol: http - timeout: 2.0 - url: http://dff-intent-responder-ru-skill:8012/respond - dialog_formatter: state_formatters.dp_formatters:dff_intent_responder_skill_formatter - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis diff --git a/skills/dff_intent_responder_skill/service_configs/dff-intent-responder-ru-skill/environment.yml b/skills/dff_intent_responder_skill/service_configs/dff-intent-responder-ru-skill/environment.yml new file mode 100644 index 0000000000..04a29efe23 --- /dev/null +++ b/skills/dff_intent_responder_skill/service_configs/dff-intent-responder-ru-skill/environment.yml @@ -0,0 +1,4 @@ +SERVICE_PORT: 8012 +SERVICE_NAME: dff_intent_responder_skill +INTENT_RESPONSE_PHRASES_FNAME: intent_response_phrases_RU.json +LANGUAGE: RU diff --git a/skills/dff_intent_responder_skill/service_configs/dff-intent-responder-ru-skill/service.yml b/skills/dff_intent_responder_skill/service_configs/dff-intent-responder-ru-skill/service.yml new file mode 100644 index 0000000000..e2b44d1933 --- /dev/null +++ b/skills/dff_intent_responder_skill/service_configs/dff-intent-responder-ru-skill/service.yml @@ -0,0 +1,27 @@ +name: dff-intent-responder-ru-skill +endpoints: +- respond +compose: + env_file: + - .env_ru + build: + args: + SERVICE_PORT: 8012 + SERVICE_NAME: dff_intent_responder_skill + INTENT_RESPONSE_PHRASES_FNAME: intent_response_phrases_RU.json + LANGUAGE: RU + context: . + dockerfile: ./skills/dff_intent_responder_skill/Dockerfile + command: gunicorn --workers=1 server:app -b 0.0.0.0:8012 --reload + deploy: + resources: + limits: + memory: 128M + reservations: + memory: 128M + volumes: + - ./skills/dff_intent_responder_skill:/src + - ./common:/src/common + ports: + - 8012:8012 +proxy: null diff --git a/skills/dff_intent_responder_skill/service_configs/dff-intent-responder-skill/environment.yml b/skills/dff_intent_responder_skill/service_configs/dff-intent-responder-skill/environment.yml new file mode 100644 index 0000000000..7723537611 --- /dev/null +++ b/skills/dff_intent_responder_skill/service_configs/dff-intent-responder-skill/environment.yml @@ -0,0 +1,3 @@ +SERVICE_PORT: 8012 +SERVICE_NAME: dff_intent_responder_skill +INTENT_RESPONSE_PHRASES_FNAME: intent_response_phrases.json diff --git a/skills/dff_intent_responder_skill/service_configs/dff-intent-responder-skill/service.yml b/skills/dff_intent_responder_skill/service_configs/dff-intent-responder-skill/service.yml new file mode 100644 index 0000000000..2c9233355f --- /dev/null +++ b/skills/dff_intent_responder_skill/service_configs/dff-intent-responder-skill/service.yml @@ -0,0 +1,36 @@ +name: dff-intent-responder-skill +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8012 + SERVICE_NAME: dff_intent_responder_skill + INTENT_RESPONSE_PHRASES_FNAME: intent_response_phrases.json + context: . + dockerfile: ./skills/dff_intent_responder_skill/Dockerfile + command: gunicorn --workers=1 server:app -b 0.0.0.0:8012 --reload + deploy: + resources: + limits: + memory: 128M + reservations: + memory: 128M + volumes: + - ./skills/dff_intent_responder_skill:/src + - ./common:/src/common + ports: + - 8012:8012 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8012 + - PORT=8012 diff --git a/skills/dff_movie_skill/component.yml b/skills/dff_movie_skill/component.yml deleted file mode 100644 index f123de8a72..0000000000 --- a/skills/dff_movie_skill/component.yml +++ /dev/null @@ -1,22 +0,0 @@ -dff-movie-skill: - name: dff_movie_skill - display_name: Movie Skill - container_name: dff-movie-skill - component_type: Script-based w/o NNs - model_type: ML-based - is_customizable: false - author: DeepPavlov - description: is implemented using DFF and takes care of the conversations related - to movies - ram_usage: 1.1G - gpu_usage: null - port: 8023 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8023 - SERVICE_NAME: dff_movie_skill - DATABASE_URL: http://files.deeppavlov.ai/alexaprize_data/database_most_popular_main_info_v2.json - MOVIE_PLOTS_URL: http://files.deeppavlov.ai/alexaprize_data/movie_plots_v0.tar.gz - date_created: '2023-03-16T09:45:32' diff --git a/skills/dff_movie_skill/pipeline.yml b/skills/dff_movie_skill/pipeline.yml deleted file mode 100644 index 3ac515c9ed..0000000000 --- a/skills/dff_movie_skill/pipeline.yml +++ /dev/null @@ -1,11 +0,0 @@ -dff-movie-skill: -- group: skills - connector: - protocol: http - timeout: 2.0 - url: http://dff-movie-skill:8023/respond - dialog_formatter: state_formatters.dp_formatters:dff_movie_skill_formatter - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis diff --git a/skills/dff_movie_skill/service_configs/dff-movie-skill/environment.yml b/skills/dff_movie_skill/service_configs/dff-movie-skill/environment.yml new file mode 100644 index 0000000000..99a384009d --- /dev/null +++ b/skills/dff_movie_skill/service_configs/dff-movie-skill/environment.yml @@ -0,0 +1,4 @@ +SERVICE_PORT: 8023 +SERVICE_NAME: dff_movie_skill +DATABASE_URL: http://files.deeppavlov.ai/alexaprize_data/database_most_popular_main_info_v2.json +MOVIE_PLOTS_URL: http://files.deeppavlov.ai/alexaprize_data/movie_plots_v0.tar.gz diff --git a/skills/dff_movie_skill/service_configs/dff-movie-skill/service.yml b/skills/dff_movie_skill/service_configs/dff-movie-skill/service.yml new file mode 100644 index 0000000000..68bbac72bc --- /dev/null +++ b/skills/dff_movie_skill/service_configs/dff-movie-skill/service.yml @@ -0,0 +1,37 @@ +name: dff-movie-skill +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8023 + SERVICE_NAME: dff_movie_skill + DATABASE_URL: http://files.deeppavlov.ai/alexaprize_data/database_most_popular_main_info_v2.json + MOVIE_PLOTS_URL: http://files.deeppavlov.ai/alexaprize_data/movie_plots_v0.tar.gz + context: . + dockerfile: skills/dff_movie_skill/Dockerfile + command: gunicorn --workers=1 server:app -b 0.0.0.0:8023 --timeout 180 + deploy: + resources: + limits: + memory: 1536M + reservations: + memory: 1536M + volumes: + - ./common:/src/common + - ./skills/dff_movie_skill:/src + ports: + - 8023:8023 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8023 + - PORT=8023 diff --git a/skills/dff_music_skill/component.yml b/skills/dff_music_skill/component.yml deleted file mode 100644 index fee8507852..0000000000 --- a/skills/dff_music_skill/component.yml +++ /dev/null @@ -1,19 +0,0 @@ -dff-music-skill: - name: dff_music_skill - display_name: Music Skill - container_name: dff-music-skill - component_type: Script-based w/o NNs - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: DFF-based skill to discuss music - ram_usage: 100M - gpu_usage: null - port: 8099 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8099 - SERVICE_NAME: dff_music_skill - date_created: '2023-03-16T09:45:32' diff --git a/skills/dff_music_skill/pipeline.yml b/skills/dff_music_skill/pipeline.yml deleted file mode 100644 index 62cc3a6d1b..0000000000 --- a/skills/dff_music_skill/pipeline.yml +++ /dev/null @@ -1,11 +0,0 @@ -dff-music-skill: -- group: skills - connector: - protocol: http - timeout: 2.0 - url: http://dff-music-skill:8099/respond - dialog_formatter: state_formatters.dp_formatters:dff_music_skill_formatter - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis diff --git a/skills/dff_music_skill/service_configs/dff-music-skill/environment.yml b/skills/dff_music_skill/service_configs/dff-music-skill/environment.yml new file mode 100644 index 0000000000..a11c64ede0 --- /dev/null +++ b/skills/dff_music_skill/service_configs/dff-music-skill/environment.yml @@ -0,0 +1,2 @@ +SERVICE_PORT: 8099 +SERVICE_NAME: dff_music_skill diff --git a/skills/dff_music_skill/service_configs/dff-music-skill/service.yml b/skills/dff_music_skill/service_configs/dff-music-skill/service.yml new file mode 100644 index 0000000000..e59da864b3 --- /dev/null +++ b/skills/dff_music_skill/service_configs/dff-music-skill/service.yml @@ -0,0 +1,35 @@ +name: dff-music-skill +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8099 + SERVICE_NAME: dff_music_skill + context: . + dockerfile: ./skills/dff_music_skill/Dockerfile + command: gunicorn --workers=1 server:app -b 0.0.0.0:8099 + deploy: + resources: + limits: + memory: 512M + reservations: + memory: 512M + volumes: + - ./skills/dff_music_skill:/src + - ./common:/src/common + ports: + - 8099:8099 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8099 + - PORT=8099 diff --git a/skills/dff_program_y_dangerous_skill/component.yml b/skills/dff_program_y_dangerous_skill/component.yml deleted file mode 100644 index 1abbc2ca2c..0000000000 --- a/skills/dff_program_y_dangerous_skill/component.yml +++ /dev/null @@ -1,20 +0,0 @@ -dff-program-y-dangerous-skill: - name: dff_program_y_dangerous_skill - display_name: Program Y Dangerous Skill - container_name: dff-program-y-dangerous-skill - component_type: Script-based w/o NNs - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: Chatbot Program Y (https://github.com/keiffster/program-y) adapted - for Dream socialbot, containing responses to dangerous situations in a dialog - ram_usage: 100M - gpu_usage: null - port: 8022 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8022 - SERVICE_NAME: dff_program_y_dangerous_skill - date_created: '2023-03-16T09:45:32' diff --git a/skills/dff_program_y_dangerous_skill/pipeline.yml b/skills/dff_program_y_dangerous_skill/pipeline.yml deleted file mode 100644 index fd991ac222..0000000000 --- a/skills/dff_program_y_dangerous_skill/pipeline.yml +++ /dev/null @@ -1,11 +0,0 @@ -dff-program-y-dangerous-skill: -- group: skills - connector: - protocol: http - timeout: 2.0 - url: http://dff-program-y-dangerous-skill:8022/respond - dialog_formatter: state_formatters.dp_formatters:dff_program_y_dangerous_skill_formatter - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis diff --git a/skills/dff_program_y_dangerous_skill/service_configs/dff-program-y-dangerous-skill/environment.yml b/skills/dff_program_y_dangerous_skill/service_configs/dff-program-y-dangerous-skill/environment.yml new file mode 100644 index 0000000000..d696643a9e --- /dev/null +++ b/skills/dff_program_y_dangerous_skill/service_configs/dff-program-y-dangerous-skill/environment.yml @@ -0,0 +1,2 @@ +SERVICE_PORT: 8022 +SERVICE_NAME: dff_program_y_dangerous_skill diff --git a/skills/dff_program_y_dangerous_skill/service_configs/dff-program-y-dangerous-skill/service.yml b/skills/dff_program_y_dangerous_skill/service_configs/dff-program-y-dangerous-skill/service.yml new file mode 100644 index 0000000000..6a2c31481e --- /dev/null +++ b/skills/dff_program_y_dangerous_skill/service_configs/dff-program-y-dangerous-skill/service.yml @@ -0,0 +1,35 @@ +name: dff-program-y-dangerous-skill +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8022 + SERVICE_NAME: dff_program_y_dangerous_skill + context: . + dockerfile: ./skills/dff_program_y_dangerous_skill/Dockerfile + command: gunicorn --workers=1 server:app -b 0.0.0.0:8022 --reload + deploy: + resources: + limits: + memory: 1024M + reservations: + memory: 1024M + volumes: + - ./skills/dff_program_y_dangerous_skill:/src + - ./common:/src/common + ports: + - 8022:8022 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8022 + - PORT=8022 diff --git a/skills/dff_program_y_skill/component.yml b/skills/dff_program_y_skill/component.yml deleted file mode 100644 index 0e1acff15d..0000000000 --- a/skills/dff_program_y_skill/component.yml +++ /dev/null @@ -1,42 +0,0 @@ -dff-program-y-ru-skill: - name: dff_program_y_skill - display_name: Program Y Skill - container_name: dff-program-y-ru-skill - component_type: Script-based w/o NNs - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: Chatbot Program Y (https://github.com/keiffster/program-y) adapted - for Dream socialbot - ram_usage: 100M - gpu_usage: null - port: 8008 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8008 - SERVICE_NAME: dff_program_y_skill - LANGUAGE: RU - date_created: '2023-03-16T09:45:32' -dff-program-y-skill: - name: dff_program_y_skill - display_name: Program Y Skill - container_name: dff-program-y-skill - component_type: Script-based w/o NNs - model_type: ML-based - is_customizable: false - author: DeepPavlov - description: Chatbot Program Y (https://github.com/keiffster/program-y) adapted - for Dream socialbot - ram_usage: 800M - gpu_usage: null - port: 8008 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8008 - SERVICE_NAME: dff_program_y_skill - LANGUAGE: EN - date_created: '2023-03-16T09:45:32' diff --git a/skills/dff_program_y_skill/pipeline.yml b/skills/dff_program_y_skill/pipeline.yml deleted file mode 100644 index 25032e9a9c..0000000000 --- a/skills/dff_program_y_skill/pipeline.yml +++ /dev/null @@ -1,22 +0,0 @@ -dff-program-y-skill: -- group: skills - connector: - protocol: http - timeout: 2.0 - url: http://dff-program-y-skill:8008/respond - dialog_formatter: state_formatters.dp_formatters:dff_program_y_skill_formatter - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - annotators - state_manager_method: add_hypothesis -dff-program-y-ru-skill: -- group: skills - connector: - protocol: http - timeout: 2.0 - url: http://dff-program-y-ru-skill:8008/respond - dialog_formatter: state_formatters.dp_formatters:dff_program_y_skill_formatter - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis diff --git a/skills/dff_program_y_skill/service_configs/dff-program-y-ru-skill/environment.yml b/skills/dff_program_y_skill/service_configs/dff-program-y-ru-skill/environment.yml new file mode 100644 index 0000000000..ecded1ebdd --- /dev/null +++ b/skills/dff_program_y_skill/service_configs/dff-program-y-ru-skill/environment.yml @@ -0,0 +1,3 @@ +SERVICE_PORT: 8008 +SERVICE_NAME: dff_program_y_skill +LANGUAGE: RU diff --git a/skills/dff_program_y_skill/service_configs/dff-program-y-ru-skill/service.yml b/skills/dff_program_y_skill/service_configs/dff-program-y-ru-skill/service.yml new file mode 100644 index 0000000000..e52b87aae5 --- /dev/null +++ b/skills/dff_program_y_skill/service_configs/dff-program-y-ru-skill/service.yml @@ -0,0 +1,26 @@ +name: dff-program-y-ru-skill +endpoints: +- respond +compose: + env_file: + - .env_ru + build: + args: + SERVICE_PORT: 8008 + SERVICE_NAME: dff_program_y_skill + LANGUAGE: RU + context: . + dockerfile: ./skills/dff_program_y_skill/Dockerfile + command: gunicorn --workers=1 server:app -b 0.0.0.0:8008 --reload + deploy: + resources: + limits: + memory: 128M + reservations: + memory: 128M + volumes: + - ./skills/dff_program_y_skill:/src + - ./common:/src/common + ports: + - 8008:8008 +proxy: null diff --git a/skills/dff_program_y_skill/service_configs/dff-program-y-skill/environment.yml b/skills/dff_program_y_skill/service_configs/dff-program-y-skill/environment.yml new file mode 100644 index 0000000000..639cb46a3c --- /dev/null +++ b/skills/dff_program_y_skill/service_configs/dff-program-y-skill/environment.yml @@ -0,0 +1,3 @@ +SERVICE_PORT: 8008 +SERVICE_NAME: dff_program_y_skill +LANGUAGE: EN diff --git a/skills/dff_program_y_skill/service_configs/dff-program-y-skill/service.yml b/skills/dff_program_y_skill/service_configs/dff-program-y-skill/service.yml new file mode 100644 index 0000000000..fa4b79d34e --- /dev/null +++ b/skills/dff_program_y_skill/service_configs/dff-program-y-skill/service.yml @@ -0,0 +1,36 @@ +name: dff-program-y-skill +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8008 + SERVICE_NAME: dff_program_y_skill + LANGUAGE: EN + context: . + dockerfile: ./skills/dff_program_y_skill/Dockerfile + command: gunicorn --workers=1 server:app -b 0.0.0.0:8008 --reload + deploy: + resources: + limits: + memory: 1024M + reservations: + memory: 1024M + volumes: + - ./skills/dff_program_y_skill:/src + - ./common:/src/common + ports: + - 8008:8008 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8008 + - PORT=8008 diff --git a/skills/dff_program_y_wide_skill/component.yml b/skills/dff_program_y_wide_skill/component.yml deleted file mode 100644 index 8142ec26fc..0000000000 --- a/skills/dff_program_y_wide_skill/component.yml +++ /dev/null @@ -1,20 +0,0 @@ -dff-program-y-wide-skill: - name: dff_program_y_wide_skill - display_name: Program Y Wide Skill - container_name: dff-program-y-wide-skill - component_type: Script-based w/o NNs - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: Chatbot Program Y (https://github.com/keiffster/program-y) adapted - for Dream socialbot, which includes only very general templates (with lower confidence) - ram_usage: 110M - gpu_usage: null - port: 8064 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8064 - SERVICE_NAME: dff_program_y_wide_skill - date_created: '2023-03-16T09:45:32' diff --git a/skills/dff_program_y_wide_skill/pipeline.yml b/skills/dff_program_y_wide_skill/pipeline.yml deleted file mode 100644 index b4b1f557f5..0000000000 --- a/skills/dff_program_y_wide_skill/pipeline.yml +++ /dev/null @@ -1,11 +0,0 @@ -dff-program-y-wide-skill: -- group: skills - connector: - protocol: http - timeout: 2.0 - url: http://dff-program-y-wide-skill:8064/respond - dialog_formatter: state_formatters.dp_formatters:dff_program_y_wide_skill_formatter - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis diff --git a/skills/dff_program_y_wide_skill/service_configs/dff-program-y-wide-skill/environment.yml b/skills/dff_program_y_wide_skill/service_configs/dff-program-y-wide-skill/environment.yml new file mode 100644 index 0000000000..a110a7823f --- /dev/null +++ b/skills/dff_program_y_wide_skill/service_configs/dff-program-y-wide-skill/environment.yml @@ -0,0 +1,2 @@ +SERVICE_PORT: 8064 +SERVICE_NAME: dff_program_y_wide_skill diff --git a/skills/dff_program_y_wide_skill/service_configs/dff-program-y-wide-skill/service.yml b/skills/dff_program_y_wide_skill/service_configs/dff-program-y-wide-skill/service.yml new file mode 100644 index 0000000000..ccde841ba0 --- /dev/null +++ b/skills/dff_program_y_wide_skill/service_configs/dff-program-y-wide-skill/service.yml @@ -0,0 +1,35 @@ +name: dff-program-y-wide-skill +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8064 + SERVICE_NAME: dff_program_y_wide_skill + context: . + dockerfile: ./skills/dff_program_y_wide_skill/Dockerfile + command: gunicorn --workers=1 server:app -b 0.0.0.0:8064 --reload + deploy: + resources: + limits: + memory: 1024M + reservations: + memory: 1024M + volumes: + - ./skills/dff_program_y_wide_skill:/src + - ./common:/src/common + ports: + - 8064:8064 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8064 + - PORT=8064 diff --git a/skills/dff_science_skill/component.yml b/skills/dff_science_skill/component.yml deleted file mode 100644 index 1cd65c82d0..0000000000 --- a/skills/dff_science_skill/component.yml +++ /dev/null @@ -1,19 +0,0 @@ -dff-science-skill: - name: dff_science_skill - display_name: Science Skill - container_name: dff-science-skill - component_type: Script-based w/o NNs - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: DFF-based skill to discuss science - ram_usage: 100M - gpu_usage: null - port: 8101 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8101 - SERVICE_NAME: dff_science_skill - date_created: '2023-03-16T09:45:32' diff --git a/skills/dff_science_skill/pipeline.yml b/skills/dff_science_skill/pipeline.yml deleted file mode 100644 index 9c20e5dcef..0000000000 --- a/skills/dff_science_skill/pipeline.yml +++ /dev/null @@ -1,11 +0,0 @@ -dff-science-skill: -- group: skills - connector: - protocol: http - timeout: 2.0 - url: http://dff-science-skill:8101/respond - dialog_formatter: state_formatters.dp_formatters:dff_science_skill_formatter - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis diff --git a/skills/dff_science_skill/service_configs/dff-science-skill/environment.yml b/skills/dff_science_skill/service_configs/dff-science-skill/environment.yml new file mode 100644 index 0000000000..03871f5315 --- /dev/null +++ b/skills/dff_science_skill/service_configs/dff-science-skill/environment.yml @@ -0,0 +1,2 @@ +SERVICE_PORT: 8101 +SERVICE_NAME: dff_science_skill diff --git a/skills/dff_science_skill/service_configs/dff-science-skill/service.yml b/skills/dff_science_skill/service_configs/dff-science-skill/service.yml new file mode 100644 index 0000000000..1f42337d65 --- /dev/null +++ b/skills/dff_science_skill/service_configs/dff-science-skill/service.yml @@ -0,0 +1,35 @@ +name: dff-science-skill +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8101 + SERVICE_NAME: dff_science_skill + context: . + dockerfile: ./skills/dff_science_skill/Dockerfile + command: gunicorn --workers=1 server:app -b 0.0.0.0:8101 + deploy: + resources: + limits: + memory: 256M + reservations: + memory: 256M + volumes: + - ./skills/dff_science_skill:/src + - ./common:/src/common + ports: + - 8101:8101 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8101 + - PORT=8101 diff --git a/skills/dff_short_story_skill/component.yml b/skills/dff_short_story_skill/component.yml deleted file mode 100644 index cb0d55166e..0000000000 --- a/skills/dff_short_story_skill/component.yml +++ /dev/null @@ -1,21 +0,0 @@ -dff-short-story-skill: - name: dff_short_story_skill - display_name: Short Story Skill - container_name: dff-short-story-skill - component_type: Script-based w/o NNs - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: 'tells user short stories from 3 categories: (1) bedtime stories, such - as fables and moral stories, (2) horror stories, and (3) funny ones' - ram_usage: 100M - gpu_usage: null - port: 8057 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8057 - SERVICE_NAME: dff_short_story_skill - STORY_TYPE: generated - date_created: '2023-03-16T09:45:32' diff --git a/skills/dff_short_story_skill/pipeline.yml b/skills/dff_short_story_skill/pipeline.yml deleted file mode 100644 index f006fdeefb..0000000000 --- a/skills/dff_short_story_skill/pipeline.yml +++ /dev/null @@ -1,11 +0,0 @@ -dff-short-story-skill: -- group: skills - connector: - protocol: http - timeout: 3.0 - url: http://dff-short-story-skill:8057/respond - dialog_formatter: state_formatters.dp_formatters:dff_short_story_skill_formatter - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis diff --git a/skills/dff_short_story_skill/service_configs/dff-short-story-skill/environment.yml b/skills/dff_short_story_skill/service_configs/dff-short-story-skill/environment.yml new file mode 100644 index 0000000000..96eef00416 --- /dev/null +++ b/skills/dff_short_story_skill/service_configs/dff-short-story-skill/environment.yml @@ -0,0 +1,3 @@ +SERVICE_PORT: 8057 +SERVICE_NAME: dff_short_story_skill +STORY_TYPE: generated diff --git a/skills/dff_short_story_skill/service_configs/dff-short-story-skill/service.yml b/skills/dff_short_story_skill/service_configs/dff-short-story-skill/service.yml new file mode 100644 index 0000000000..80c847efd6 --- /dev/null +++ b/skills/dff_short_story_skill/service_configs/dff-short-story-skill/service.yml @@ -0,0 +1,36 @@ +name: dff-short-story-skill +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8057 + SERVICE_NAME: dff_short_story_skill + STORY_TYPE: generated + context: . + dockerfile: ./skills/dff_short_story_skill/Dockerfile + command: gunicorn --workers=1 server:app -b 0.0.0.0:8057 --reload + deploy: + resources: + limits: + memory: 128M + reservations: + memory: 128M + volumes: + - ./skills/dff_short_story_skill:/src + - ./common:/src/common + ports: + - 8057:8057 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8057 + - PORT=8057 diff --git a/skills/dff_sport_skill/component.yml b/skills/dff_sport_skill/component.yml deleted file mode 100644 index 291c4c3117..0000000000 --- a/skills/dff_sport_skill/component.yml +++ /dev/null @@ -1,19 +0,0 @@ -dff-sport-skill: - name: dff_sport_skill - display_name: Sport Skill - container_name: dff-sport-skill - component_type: Script-based w/o NNs - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: DFF-based skill to discuss sports - ram_usage: 100M - gpu_usage: null - port: 8098 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8098 - SERVICE_NAME: dff_sport_skill - date_created: '2023-03-16T09:45:32' diff --git a/skills/dff_sport_skill/pipeline.yml b/skills/dff_sport_skill/pipeline.yml deleted file mode 100644 index dd7bfa9b49..0000000000 --- a/skills/dff_sport_skill/pipeline.yml +++ /dev/null @@ -1,11 +0,0 @@ -dff-sport-skill: -- group: skills - connector: - protocol: http - timeout: 2.0 - url: http://dff-sport-skill:8098/respond - dialog_formatter: state_formatters.dp_formatters:dff_sport_skill_formatter - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis diff --git a/skills/dff_sport_skill/service_configs/dff-sport-skill/environment.yml b/skills/dff_sport_skill/service_configs/dff-sport-skill/environment.yml new file mode 100644 index 0000000000..0ddfd0de14 --- /dev/null +++ b/skills/dff_sport_skill/service_configs/dff-sport-skill/environment.yml @@ -0,0 +1,2 @@ +SERVICE_PORT: 8098 +SERVICE_NAME: dff_sport_skill diff --git a/skills/dff_sport_skill/service_configs/dff-sport-skill/service.yml b/skills/dff_sport_skill/service_configs/dff-sport-skill/service.yml new file mode 100644 index 0000000000..64ad8c2666 --- /dev/null +++ b/skills/dff_sport_skill/service_configs/dff-sport-skill/service.yml @@ -0,0 +1,35 @@ +name: dff-sport-skill +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8098 + SERVICE_NAME: dff_sport_skill + context: . + dockerfile: skills/dff_sport_skill/Dockerfile + command: gunicorn --workers=1 server:app -b 0.0.0.0:8098 + deploy: + resources: + limits: + memory: 256M + reservations: + memory: 256M + volumes: + - ./skills/dff_sport_skill:/src + - ./common:/src/common + ports: + - 8098:8098 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8098 + - PORT=8098 diff --git a/skills/dff_template_prompted_skill/component.yml b/skills/dff_template_prompted_skill/component.yml deleted file mode 100644 index 17a809bf27..0000000000 --- a/skills/dff_template_prompted_skill/component.yml +++ /dev/null @@ -1,418 +0,0 @@ -dff-template-template-prompted-skill: - name: dff_my_template_prompted_skill - display_name: My Template Skill - container_name: dff-template-template-prompted-skill - component_type: Generative - model_type: NN-based - is_customizable: true - author: template_author - description: template_description - ram_usage: 150M - gpu_usage: null - port: template_port - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: template_port - SERVICE_NAME: dff_template_template_prompted_skill - PROMPT_FILE: common/prompts/template_template.json - GENERATIVE_SERVICE_URL: template_service_url - GENERATIVE_SERVICE_CONFIG: default_generative_config.json - GENERATIVE_TIMEOUT: 10 - N_UTTERANCES_CONTEXT: 7 - ENVVARS_TO_SEND: OPENAI_API_KEY,OPENAI_ORGANIZATION - date_created: template_date -dff-ai-faq-prompted-skill: - name: dff_ai_faq_prompted_skill - display_name: AI FAQ Skill - container_name: dff-ai-faq-prompted-skill - component_type: Generative - 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. - ram_usage: 150M - gpu_usage: null - port: 8143 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8143 - SERVICE_NAME: dff_ai_faq_prompted_skill - PROMPT_FILE: common/prompts/ai_faq.json - GENERATIVE_SERVICE_URL: http://transformers-lm-oasst12b:8158/respond - GENERATIVE_SERVICE_CONFIG: default_generative_config.json - GENERATIVE_TIMEOUT: 10 - N_UTTERANCES_CONTEXT: 3 - date_created: '2023-03-16T09:45:32' -dff-fashion-stylist-prompted-skill: - name: dff_fashion_stylist_prompted_skill - display_name: Fashion Stylist Skill - container_name: dff-fashion-stylist-prompted-skill - component_type: Generative - model_type: NN-based - is_customizable: true - author: DeepPavlov - description: This skill is part of the Fashion Stylist 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 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8144 - SERVICE_NAME: dff_fashion_stylist_prompted_skill - PROMPT_FILE: common/prompts/fashion_stylist.json - GENERATIVE_SERVICE_URL: http://transformers-lm-oasst12b:8158/respond - GENERATIVE_SERVICE_CONFIG: default_generative_config.json - GENERATIVE_TIMEOUT: 10 - N_UTTERANCES_CONTEXT: 3 - date_created: '2023-03-16T09:45:32' -dff-dream-persona-davinci3-prompted-skill: - name: dff_dream_persona_prompted_skill - display_name: Dream Persona Skill - container_name: dff-dream-persona-davinci3-prompted-skill - component_type: Generative - model_type: NN-based - is_customizable: true - author: DeepPavlov - description: Prompt-based skill that utilizes GPT-3.5 to generate - responses based on the given Dream persona description. - ram_usage: 150M - gpu_usage: null - port: 8137 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8137 - SERVICE_NAME: dff_dream_persona_prompted_skill - PROMPT_FILE: common/prompts/dream_persona.json - GENERATIVE_SERVICE_URL: http://openai-api-davinci3:8131/respond - GENERATIVE_SERVICE_CONFIG: openai-text-davinci-003.json - GENERATIVE_TIMEOUT: 7 - N_UTTERANCES_CONTEXT: 3 - ENVVARS_TO_SEND: OPENAI_API_KEY,OPENAI_ORGANIZATION - date_created: '2023-03-16T09:45:32' -dff-dream-persona-gpt-j-prompted-skill: - name: dff_dream_persona_prompted_skill - display_name: Dream Persona Skill - container_name: dff-dream-persona-gpt-j-prompted-skill - component_type: Generative - model_type: NN-based - is_customizable: true - author: DeepPavlov - description: Prompt-based skill that utilizes GPT-J 6B to generate - responses based on the given Dream persona description. - ram_usage: 150M - gpu_usage: null - port: 8134 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8134 - SERVICE_NAME: dff_dream_persona_prompted_skill - PROMPT_FILE: common/prompts/dream_persona.json - GENERATIVE_SERVICE_URL: http://transformers-lm-gptj:8130/respond - GENERATIVE_SERVICE_CONFIG: default_generative_config.json - GENERATIVE_TIMEOUT: 10 - N_UTTERANCES_CONTEXT: 3 - date_created: '2023-03-16T09:45:32' -dff-marketing-prompted-skill: - name: dff_marketing_prompted_skill - display_name: Marketing Skill - container_name: dff-marketing-prompted-skill - component_type: Generative - model_type: NN-based - is_customizable: true - author: DeepPavlov - description: This skill is part of the 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 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8138 - SERVICE_NAME: dff_marketing_prompted_skill - PROMPT_FILE: common/prompts/marketing.json - GENERATIVE_SERVICE_URL: http://transformers-lm-gptj:8130/respond - GENERATIVE_SERVICE_CONFIG: default_generative_config.json - GENERATIVE_TIMEOUT: 10 - N_UTTERANCES_CONTEXT: 3 - date_created: '2023-03-16T09:45:32' -dff-fairytale-prompted-skill: - name: dff_fairytale_prompted_skill - display_name: Fairytale Skill - container_name: dff-fairytale-prompted-skill - component_type: Generative - 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. - ram_usage: 100M - gpu_usage: null - port: 8139 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8139 - SERVICE_NAME: dff_fairytale_prompted_skill - PROMPT_FILE: common/prompts/fairytale.json - GENERATIVE_SERVICE_URL: http://openai-api-chatgpt:8145/respond - GENERATIVE_SERVICE_CONFIG: openai-chatgpt.json - GENERATIVE_TIMEOUT: 30 - N_UTTERANCES_CONTEXT: 3 - ENVVARS_TO_SEND: OPENAI_API_KEY,OPENAI_ORGANIZATION - date_created: '2023-03-16T09:45:32' -dff-nutrition-prompted-skill: - name: dff_nutrition_prompted_skill - display_name: Nutrition Skill - container_name: dff-nutrition-prompted-skill - component_type: Generative - 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 - prompt and gives the user advice on healthy eating. - ram_usage: 100M - gpu_usage: null - port: 8141 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8141 - SERVICE_NAME: dff_nutrition_prompted_skill - PROMPT_FILE: common/prompts/nutrition.json - GENERATIVE_SERVICE_URL: http://transformers-lm-oasst12b:8158/respond - GENERATIVE_SERVICE_CONFIG: default_generative_config.json - GENERATIVE_TIMEOUT: 10 - N_UTTERANCES_CONTEXT: 3 - date_created: '2023-03-16T09:45:32' -dff-life-coaching-prompted-skill: - name: dff_life_coaching_prompted_skill - display_name: Life Coaching Skill - container_name: dff-life-coaching-prompted-skill - component_type: Generative - model_type: NN-based - is_customizable: true - author: DeepPavlov - description: This skill is part of the Life 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 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8142 - SERVICE_NAME: dff_life_coaching_prompted_skill - PROMPT_FILE: common/prompts/life_coaching.json - GENERATIVE_SERVICE_URL: http://openai-api-davinci3:8131/respond - GENERATIVE_SERVICE_CONFIG: openai-text-davinci-003.json - GENERATIVE_TIMEOUT: 7 - N_UTTERANCES_CONTEXT: 3 - date_created: '2023-03-16T09:45:32' -dff-deepy-prompted-skill: - name: dff_deepy_prompted_skill - display_name: Deepy Assistant Skill - container_name: dff-deepy-prompted-skill - component_type: Generative - model_type: NN-based - is_customizable: true - author: DeepPavlov - description: Deepy Assistant can help the user to create a customized dialogue system. - ram_usage: 150M - gpu_usage: null - port: 8148 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8148 - SERVICE_NAME: dff_deepy_prompted_skill - PROMPT_FILE: common/prompts/deepy.json - GENERATIVE_SERVICE_URL: http://openai-api-davinci3:8131/respond - GENERATIVE_SERVICE_CONFIG: openai-text-davinci-003-long.json - GENERATIVE_TIMEOUT: 7 - N_UTTERANCES_CONTEXT: 3 - ENVVARS_TO_SEND: OPENAI_API_KEY,OPENAI_ORGANIZATION - date_created: '2023-03-16T09:45:32' -dff-dream-persona-llama7bru-prompted-skill: - name: dff_dream_persona_ru_prompted_skill - display_name: Dream Persona Russian Skill - container_name: dff-dream-persona-llama7bru-prompted-skill - component_type: Generative - model_type: NN-based - is_customizable: true - author: DeepPavlov - description: Prompt-based skill that utilizes Russian LLaMA to generate - responses based on the given Dream persona description. - ram_usage: 150M - gpu_usage: null - port: 8151 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8151 - SERVICE_NAME: dff_dream_persona_ru_prompted_skill - PROMPT_FILE: common/prompts/dream_persona_ru.json - GENERATIVE_SERVICE_URL: http://transformers-lm-llama7bru:8149/respond - GENERATIVE_TIMEOUT: 10 - N_UTTERANCES_CONTEXT: 3 - date_created: '2023-03-16T09:45:32' -dff-deeppavlov-prompted-skill: - name: dff_deeppavlov_prompted_skill - display_name: DeepPavlov Assistant Skill - container_name: dff-deeppavlov-prompted-skill - component_type: Generative - model_type: NN-based - is_customizable: true - author: DeepPavlov - description: Prompt-based skill that utilizes ChatGPT to generate - responses from the digital assistant performing any task that a user - can ask for. - ram_usage: 150M - gpu_usage: null - port: 8146 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8146 - SERVICE_NAME: dff_deeppavlov_prompted_skill - PROMPT_FILE: common/prompts/deeppavlov.json - GENERATIVE_SERVICE_URL: http://openai-api-chatgpt:8145/respond - GENERATIVE_SERVICE_CONFIG: openai-chatgpt.json - GENERATIVE_TIMEOUT: 15 - N_UTTERANCES_CONTEXT: 7 - ENVVARS_TO_SEND: OPENAI_API_KEY,OPENAI_ORGANIZATION - ALLOW_PROMPT_RESET: 1 - date_created: '2023-03-16T09:45:32' -dff-casual-email-prompted-skill: - name: dff_casual_email_prompted_skill - display_name: Causal Emails Skill - container_name: dff-casual-email-prompted-skill - component_type: Generative - model_type: NN-based - is_customizable: true - author: DeepPavlov - description: Prompt-based skill that utilizes GPT-3.5 to generate - email of casual style based on the given by user email draft. - ram_usage: 150M - gpu_usage: null - port: 8154 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8154 - SERVICE_NAME: dff_casual_email_prompted_skill - PROMPT_FILE: common/prompts/casual_email.json - GENERATIVE_SERVICE_URL: http://openai-api-davinci3:8131/respond - GENERATIVE_SERVICE_CONFIG: openai-text-davinci-003.json - GENERATIVE_TIMEOUT: 7 - N_UTTERANCES_CONTEXT: 7 - ENVVARS_TO_SEND: OPENAI_API_KEY,OPENAI_ORGANIZATION - date_created: '2023-04-26T09:45:32' -dff-meeting-notes-prompted-skill: - name: dff_meeting_notes_prompted_skill - display_name: Meeting Notes Skill - container_name: dff-meeting-notes-prompted-skill - component_type: Generative - model_type: NN-based - is_customizable: true - author: DeepPavlov - description: Prompt-based skill that utilizes GPT-3.5 to generate - meeting notes based on the meeting script. - ram_usage: 150M - gpu_usage: null - port: 8155 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8155 - SERVICE_NAME: dff_meeting_notes_prompted_skill - PROMPT_FILE: common/prompts/meeting_notes.json - GENERATIVE_SERVICE_URL: http://openai-api-davinci3:8131/respond - GENERATIVE_SERVICE_CONFIG: openai-text-davinci-003.json - GENERATIVE_TIMEOUT: 7 - N_UTTERANCES_CONTEXT: 7 - ENVVARS_TO_SEND: OPENAI_API_KEY,OPENAI_ORGANIZATION - date_created: '2023-04-26T09:45:32' -dff-official-email-prompted-skill: - name: dff_official_email_prompted_skill - display_name: Official Email Skill - container_name: dff-official-email-prompted-skill - component_type: Generative - model_type: NN-based - is_customizable: true - author: DeepPavlov - description: Prompt-based skill that utilizes GPT-3.5 to generate - email of official style based on the given by user email draft. - ram_usage: 150M - gpu_usage: null - port: 8156 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8156 - SERVICE_NAME: dff_official_email_prompted_skill - PROMPT_FILE: common/prompts/official_email.json - GENERATIVE_SERVICE_URL: http://openai-api-davinci3:8131/respond - GENERATIVE_SERVICE_CONFIG: openai-text-davinci-003.json - GENERATIVE_TIMEOUT: 7 - N_UTTERANCES_CONTEXT: 7 - ENVVARS_TO_SEND: OPENAI_API_KEY,OPENAI_ORGANIZATION - date_created: '2023-04-26T09:45:32' -dff-plan-for-article-prompted-skill: - name: dff_plan_for_article_prompted_skill - display_name: Plan for Article Skill - container_name: dff-plan-for-article-prompted-skill - component_type: Generative - model_type: NN-based - is_customizable: true - author: DeepPavlov - description: Prompt-based skill that utilizes GPT-3.5 to generate - a plan for an article on the topic given by the user. - ram_usage: 150M - gpu_usage: null - port: 8157 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8157 - SERVICE_NAME: dff_plan_for_article_prompted_skill - PROMPT_FILE: common/prompts/plan_for_article.json - GENERATIVE_SERVICE_URL: http://openai-api-davinci3:8131/respond - GENERATIVE_SERVICE_CONFIG: openai-text-davinci-003.json - GENERATIVE_TIMEOUT: 7 - N_UTTERANCES_CONTEXT: 7 - ENVVARS_TO_SEND: OPENAI_API_KEY,OPENAI_ORGANIZATION - date_created: '2023-04-26T09:45:32' \ No newline at end of file diff --git a/skills/dff_template_prompted_skill/pipeline.yml b/skills/dff_template_prompted_skill/pipeline.yml deleted file mode 100644 index ab6c394805..0000000000 --- a/skills/dff_template_prompted_skill/pipeline.yml +++ /dev/null @@ -1,176 +0,0 @@ -dff-template-template-prompted-skill: -- group: skills - connector: - protocol: http - timeout: 10.0 - url: http://dff-template-template-prompted-skill:template_port/respond - dialog_formatter: state_formatters.dp_formatters:dff_prompted_skill_formatter - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis -dff-ai-faq-prompted-skill: -- group: skills - connector: - protocol: http - timeout: 10.0 - url: http://dff-ai-faq-prompted-skill:8143/respond - dialog_formatter: state_formatters.dp_formatters:dff_ai_faq_prompted_skill_formatter - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis -dff-fairytale-prompted-skill: -- group: skills - connector: - protocol: http - timeout: 30.0 - url: http://dff-fairytale-prompted-skill:8139/respond - dialog_formatter: state_formatters.dp_formatters:dff_fairytale_prompted_skill_formatter - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis -dff-marketing-prompted-skill: -- group: skills - connector: - protocol: http - timeout: 10.0 - url: http://dff-marketing-prompted-skill:8138/respond - dialog_formatter: state_formatters.dp_formatters:dff_marketing_prompted_skill_formatter - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis -dff-fashion-stylist-prompted-skill: -- group: skills - connector: - protocol: http - timeout: 10.0 - url: http://dff-fashion-stylist-prompted-skill:8144/respond - dialog_formatter: state_formatters.dp_formatters:dff_fashion_stylist_prompted_skill_formatter - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis -dff-dream-persona-gpt-j-prompted-skill: -- group: skills - connector: - protocol: http - timeout: 10.0 - url: http://dff-dream-persona-gpt-j-prompted-skill:8134/respond - dialog_formatter: state_formatters.dp_formatters:dff_dream_persona_prompted_skill_formatter - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis -dff-nutrition-prompted-skill: -- group: skills - connector: - protocol: http - timeout: 10.0 - url: http://dff-nutrition-prompted-skill:8141/respond - dialog_formatter: state_formatters.dp_formatters:dff_nutrition_prompted_skill_formatter - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis -dff-life-coaching-prompted-skill: -- group: skills - connector: - protocol: http - timeout: 7.0 - url: http://dff-life-coaching-prompted-skill:8142/respond - dialog_formatter: state_formatters.dp_formatters:dff_life_coaching_prompted_skill_formatter - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis -dff-dream-persona-davinci3-prompted-skill: -- group: skills - connector: - protocol: http - timeout: 7.0 - url: http://dff-dream-persona-davinci3-prompted-skill:8137/respond - dialog_formatter: state_formatters.dp_formatters:dff_dream_persona_prompted_skill_formatter - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis -dff-deepy-prompted-skill: -- group: skills - connector: - protocol: http - timeout: 7.0 - url: http://dff-deepy-prompted-skill:8148/respond - dialog_formatter: state_formatters.dp_formatters:dff_deepy_prompted_skill_formatter - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis -dff-dream-persona-llama7bru-prompted-skill: -- group: skills - connector: - protocol: http - timeout: 10.0 - url: http://dff-dream-persona-llama7bru-prompted-skill:8151/respond - dialog_formatter: state_formatters.dp_formatters:dff_dream_persona_ru_prompted_skill_formatter - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis -dff-deeppavlov-prompted-skill: -- group: skills - connector: - protocol: http - timeout: 15.0 - url: http://dff-deeppavlov-prompted-skill:8146/respond - dialog_formatter: state_formatters.dp_formatters:dff_deeppavlov_prompted_skill_formatter - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis -dff-casual-email-prompted-skill: -- group: skills - connector: - protocol: http - timeout: 10.0 - url: http://dff-casual-email-prompted-skill:8154/respond - dialog_formatter: state_formatters.dp_formatters:dff_casual_email_prompted_skill_formatter - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis -dff-meeting-notes-prompted-skill: -- group: skills - connector: - protocol: http - timeout: 10.0 - url: http://dff-meeting-notes-prompted-skill:8155/respond - dialog_formatter: state_formatters.dp_formatters:dff_meeting_notes_prompted_skill_formatter - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis -dff-official-email-prompted-skill: -- group: skills - connector: - protocol: http - timeout: 10.0 - url: http://dff-official-email-prompted-skill:8156/respond - dialog_formatter: state_formatters.dp_formatters:dff_official_email_prompted_skill_formatter - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis -dff-plan-for-article-prompted-skill: -- group: skills - connector: - protocol: http - timeout: 10.0 - url: http://dff-plan-for-article-prompted-skill:8157/respond - dialog_formatter: state_formatters.dp_formatters:dff_plan_for_article_prompted_skill_formatter - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis diff --git a/skills/dff_template_prompted_skill/service_configs/dff-ai-faq-prompted-skill/environment.yml b/skills/dff_template_prompted_skill/service_configs/dff-ai-faq-prompted-skill/environment.yml new file mode 100644 index 0000000000..222175dedf --- /dev/null +++ b/skills/dff_template_prompted_skill/service_configs/dff-ai-faq-prompted-skill/environment.yml @@ -0,0 +1,7 @@ +SERVICE_PORT: 8143 +SERVICE_NAME: dff_ai_faq_prompted_skill +PROMPT_FILE: common/prompts/ai_faq.json +GENERATIVE_SERVICE_URL: http://transformers-lm-oasst12b:8158/respond +GENERATIVE_SERVICE_CONFIG: default_generative_config.json +GENERATIVE_TIMEOUT: 10 +N_UTTERANCES_CONTEXT: 7 diff --git a/skills/dff_template_prompted_skill/service_configs/dff-ai-faq-prompted-skill/service.yml b/skills/dff_template_prompted_skill/service_configs/dff-ai-faq-prompted-skill/service.yml new file mode 100644 index 0000000000..7c1da1cec0 --- /dev/null +++ b/skills/dff_template_prompted_skill/service_configs/dff-ai-faq-prompted-skill/service.yml @@ -0,0 +1,30 @@ +name: dff-ai-faq-prompted-skill +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8143 + SERVICE_NAME: dff_ai_faq_prompted_skill + PROMPT_FILE: common/prompts/ai_faq.json + GENERATIVE_SERVICE_URL: http://transformers-lm-oasst12b:8158/respond + GENERATIVE_SERVICE_CONFIG: default_generative_config.json + GENERATIVE_TIMEOUT: 10 + N_UTTERANCES_CONTEXT: 7 + context: . + dockerfile: ./skills/dff_template_prompted_skill/Dockerfile + command: gunicorn --workers=1 server:app -b 0.0.0.0:8143 --reload + deploy: + resources: + limits: + memory: 128M + reservations: + memory: 128M + volumes: + - ./skills/dff_template_prompted_skill:/src + - ./common:/src/common + ports: + - 8143:8143 +proxy: null diff --git a/skills/dff_template_prompted_skill/service_configs/dff-casual-email-prompted-skill/environment.yml b/skills/dff_template_prompted_skill/service_configs/dff-casual-email-prompted-skill/environment.yml new file mode 100644 index 0000000000..ed36430658 --- /dev/null +++ b/skills/dff_template_prompted_skill/service_configs/dff-casual-email-prompted-skill/environment.yml @@ -0,0 +1,8 @@ +SERVICE_PORT: 8154 +SERVICE_NAME: dff_casual_email_prompted_skill +PROMPT_FILE: common/prompts/casual_email.json +GENERATIVE_SERVICE_URL: http://openai-api-davinci3:8131/respond +GENERATIVE_SERVICE_CONFIG: openai-text-davinci-003.json +GENERATIVE_TIMEOUT: 10 +N_UTTERANCES_CONTEXT: 7 +ENVVARS_TO_SEND: OPENAI_API_KEY,OPENAI_ORGANIZATION diff --git a/skills/dff_template_prompted_skill/service_configs/dff-casual-email-prompted-skill/service.yml b/skills/dff_template_prompted_skill/service_configs/dff-casual-email-prompted-skill/service.yml new file mode 100644 index 0000000000..2d36095860 --- /dev/null +++ b/skills/dff_template_prompted_skill/service_configs/dff-casual-email-prompted-skill/service.yml @@ -0,0 +1,32 @@ +name: dff-casual-email-prompted-skill +endpoints: +- respond +compose: + env_file: + - .env + - .env_secret + build: + args: + SERVICE_PORT: 8154 + SERVICE_NAME: dff_casual_email_prompted_skill + PROMPT_FILE: common/prompts/casual_email.json + GENERATIVE_SERVICE_URL: http://openai-api-davinci3:8131/respond + GENERATIVE_SERVICE_CONFIG: openai-text-davinci-003.json + GENERATIVE_TIMEOUT: 10 + N_UTTERANCES_CONTEXT: 7 + ENVVARS_TO_SEND: OPENAI_API_KEY,OPENAI_ORGANIZATION + context: . + dockerfile: ./skills/dff_template_prompted_skill/Dockerfile + command: gunicorn --workers=1 server:app -b 0.0.0.0:8155 --reload + deploy: + resources: + limits: + memory: 128M + reservations: + memory: 128M + volumes: + - ./skills/dff_template_prompted_skill:/src + - ./common:/src/common + ports: + - 8154:8154 +proxy: null diff --git a/skills/dff_template_prompted_skill/service_configs/dff-deeppavlov-prompted-skill/environment.yml b/skills/dff_template_prompted_skill/service_configs/dff-deeppavlov-prompted-skill/environment.yml new file mode 100644 index 0000000000..55916d8565 --- /dev/null +++ b/skills/dff_template_prompted_skill/service_configs/dff-deeppavlov-prompted-skill/environment.yml @@ -0,0 +1,9 @@ +SERVICE_PORT: 8146 +SERVICE_NAME: dff_deeppavlov_prompted_skill +PROMPT_FILE: common/prompts/deeppavlov.json +GENERATIVE_SERVICE_URL: http://openai-api-chatgpt:8145/respond +GENERATIVE_SERVICE_CONFIG: openai-chatgpt.json +GENERATIVE_TIMEOUT: 15 +N_UTTERANCES_CONTEXT: 7 +ENVVARS_TO_SEND: OPENAI_API_KEY,OPENAI_ORGANIZATION +ALLOW_PROMPT_RESET: 1 diff --git a/skills/dff_template_prompted_skill/service_configs/dff-deeppavlov-prompted-skill/service.yml b/skills/dff_template_prompted_skill/service_configs/dff-deeppavlov-prompted-skill/service.yml new file mode 100644 index 0000000000..74852d340b --- /dev/null +++ b/skills/dff_template_prompted_skill/service_configs/dff-deeppavlov-prompted-skill/service.yml @@ -0,0 +1,33 @@ +name: dff-deeppavlov-prompted-skill +endpoints: +- respond +compose: + env_file: + - .env + - .env_secret + build: + args: + SERVICE_PORT: 8146 + SERVICE_NAME: dff_deeppavlov_prompted_skill + PROMPT_FILE: common/prompts/deeppavlov.json + GENERATIVE_SERVICE_URL: http://openai-api-chatgpt:8145/respond + GENERATIVE_SERVICE_CONFIG: openai-chatgpt.json + GENERATIVE_TIMEOUT: 15 + N_UTTERANCES_CONTEXT: 7 + ENVVARS_TO_SEND: OPENAI_API_KEY,OPENAI_ORGANIZATION + ALLOW_PROMPT_RESET: 1 + context: . + dockerfile: ./skills/dff_template_prompted_skill/Dockerfile + command: gunicorn --workers=1 server:app -b 0.0.0.0:8146 --reload + deploy: + resources: + limits: + memory: 128M + reservations: + memory: 128M + volumes: + - ./skills/dff_template_prompted_skill:/src + - ./common:/src/common + ports: + - 8146:8146 +proxy: null diff --git a/skills/dff_template_prompted_skill/service_configs/dff-deepy-prompted-skill/environment.yml b/skills/dff_template_prompted_skill/service_configs/dff-deepy-prompted-skill/environment.yml new file mode 100644 index 0000000000..60b92ac049 --- /dev/null +++ b/skills/dff_template_prompted_skill/service_configs/dff-deepy-prompted-skill/environment.yml @@ -0,0 +1,8 @@ +SERVICE_PORT: 8148 +SERVICE_NAME: dff_deepy_prompted_skill +PROMPT_FILE: common/prompts/deepy.json +GENERATIVE_SERVICE_URL: http://openai-api-davinci3:8131/respond +GENERATIVE_SERVICE_CONFIG: openai-text-davinci-003-long.json +GENERATIVE_TIMEOUT: 10 +N_UTTERANCES_CONTEXT: 7 +ENVVARS_TO_SEND: OPENAI_API_KEY,OPENAI_ORGANIZATION diff --git a/skills/dff_template_prompted_skill/service_configs/dff-deepy-prompted-skill/service.yml b/skills/dff_template_prompted_skill/service_configs/dff-deepy-prompted-skill/service.yml new file mode 100644 index 0000000000..0c03a5399a --- /dev/null +++ b/skills/dff_template_prompted_skill/service_configs/dff-deepy-prompted-skill/service.yml @@ -0,0 +1,32 @@ +name: dff-deepy-prompted-skill +endpoints: +- respond +compose: + env_file: + - .env + - .env_secret + build: + args: + SERVICE_PORT: 8148 + SERVICE_NAME: dff_deepy_prompted_skill + PROMPT_FILE: common/prompts/deepy.json + GENERATIVE_SERVICE_URL: http://openai-api-davinci3:8131/respond + GENERATIVE_SERVICE_CONFIG: openai-text-davinci-003-long.json + GENERATIVE_TIMEOUT: 10 + N_UTTERANCES_CONTEXT: 7 + ENVVARS_TO_SEND: OPENAI_API_KEY,OPENAI_ORGANIZATION + context: . + dockerfile: ./skills/dff_template_prompted_skill/Dockerfile + command: gunicorn --workers=1 server:app -b 0.0.0.0:8148 --reload + deploy: + resources: + limits: + memory: 128M + reservations: + memory: 128M + volumes: + - ./skills/dff_template_prompted_skill:/src + - ./common:/src/common + ports: + - 8148:8148 +proxy: null diff --git a/skills/dff_template_prompted_skill/service_configs/dff-dream-persona-davinci3-prompted-skill/environment.yml b/skills/dff_template_prompted_skill/service_configs/dff-dream-persona-davinci3-prompted-skill/environment.yml new file mode 100644 index 0000000000..87e0303b7f --- /dev/null +++ b/skills/dff_template_prompted_skill/service_configs/dff-dream-persona-davinci3-prompted-skill/environment.yml @@ -0,0 +1,8 @@ +SERVICE_PORT: 8137 +SERVICE_NAME: dff_dream_persona_prompted_skill +PROMPT_FILE: common/prompts/dream_persona.json +GENERATIVE_SERVICE_URL: http://openai-api-davinci3:8131/respond +GENERATIVE_SERVICE_CONFIG: openai-text-davinci-003.json +GENERATIVE_TIMEOUT: 10 +N_UTTERANCES_CONTEXT: 7 +ENVVARS_TO_SEND: OPENAI_API_KEY,OPENAI_ORGANIZATION diff --git a/skills/dff_template_prompted_skill/service_configs/dff-dream-persona-davinci3-prompted-skill/service.yml b/skills/dff_template_prompted_skill/service_configs/dff-dream-persona-davinci3-prompted-skill/service.yml new file mode 100644 index 0000000000..0fc707da1f --- /dev/null +++ b/skills/dff_template_prompted_skill/service_configs/dff-dream-persona-davinci3-prompted-skill/service.yml @@ -0,0 +1,32 @@ +name: dff-dream-persona-davinci3-prompted-skill +endpoints: +- respond +compose: + env_file: + - .env + - .env_secret + build: + args: + SERVICE_PORT: 8137 + SERVICE_NAME: dff_dream_persona_prompted_skill + PROMPT_FILE: common/prompts/dream_persona.json + GENERATIVE_SERVICE_URL: http://openai-api-davinci3:8131/respond + GENERATIVE_SERVICE_CONFIG: openai-text-davinci-003.json + GENERATIVE_TIMEOUT: 10 + N_UTTERANCES_CONTEXT: 7 + ENVVARS_TO_SEND: OPENAI_API_KEY,OPENAI_ORGANIZATION + context: . + dockerfile: ./skills/dff_template_prompted_skill/Dockerfile + command: gunicorn --workers=1 server:app -b 0.0.0.0:8137 --reload + deploy: + resources: + limits: + memory: 128M + reservations: + memory: 128M + volumes: + - ./skills/dff_template_prompted_skill:/src + - ./common:/src/common + ports: + - 8137:8137 +proxy: null diff --git a/skills/dff_template_prompted_skill/service_configs/dff-dream-persona-gpt-j-prompted-skill/environment.yml b/skills/dff_template_prompted_skill/service_configs/dff-dream-persona-gpt-j-prompted-skill/environment.yml new file mode 100644 index 0000000000..f3c07dd37c --- /dev/null +++ b/skills/dff_template_prompted_skill/service_configs/dff-dream-persona-gpt-j-prompted-skill/environment.yml @@ -0,0 +1,7 @@ +SERVICE_PORT: 8134 +SERVICE_NAME: dff_dream_persona_prompted_skill +PROMPT_FILE: common/prompts/dream_persona.json +GENERATIVE_SERVICE_URL: http://transformers-lm-gptj:8130/respond +GENERATIVE_SERVICE_CONFIG: default_generative_config.json +GENERATIVE_TIMEOUT: 10 +N_UTTERANCES_CONTEXT: 7 diff --git a/skills/dff_template_prompted_skill/service_configs/dff-dream-persona-gpt-j-prompted-skill/service.yml b/skills/dff_template_prompted_skill/service_configs/dff-dream-persona-gpt-j-prompted-skill/service.yml new file mode 100644 index 0000000000..5bbb4953f0 --- /dev/null +++ b/skills/dff_template_prompted_skill/service_configs/dff-dream-persona-gpt-j-prompted-skill/service.yml @@ -0,0 +1,30 @@ +name: dff-dream-persona-gpt-j-prompted-skill +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8134 + SERVICE_NAME: dff_dream_persona_prompted_skill + PROMPT_FILE: common/prompts/dream_persona.json + GENERATIVE_SERVICE_URL: http://transformers-lm-gptj:8130/respond + GENERATIVE_SERVICE_CONFIG: default_generative_config.json + GENERATIVE_TIMEOUT: 10 + N_UTTERANCES_CONTEXT: 7 + context: . + dockerfile: ./skills/dff_template_prompted_skill/Dockerfile + command: gunicorn --workers=1 server:app -b 0.0.0.0:8134 --reload + deploy: + resources: + limits: + memory: 128M + reservations: + memory: 128M + volumes: + - ./skills/dff_template_prompted_skill:/src + - ./common:/src/common + ports: + - 8134:8134 +proxy: null diff --git a/skills/dff_template_prompted_skill/service_configs/dff-dream-persona-llama7bru-prompted-skill/environment.yml b/skills/dff_template_prompted_skill/service_configs/dff-dream-persona-llama7bru-prompted-skill/environment.yml new file mode 100644 index 0000000000..04ed94428d --- /dev/null +++ b/skills/dff_template_prompted_skill/service_configs/dff-dream-persona-llama7bru-prompted-skill/environment.yml @@ -0,0 +1,6 @@ +SERVICE_PORT: 8151 +SERVICE_NAME: dff_dream_persona_ru_prompted_skill +PROMPT_FILE: common/prompts/dream_persona_ru.json +GENERATIVE_SERVICE_URL: http://transformers-lm-llama7bru:8149/respond +GENERATIVE_TIMEOUT: 10 +N_UTTERANCES_CONTEXT: 7 diff --git a/skills/dff_template_prompted_skill/service_configs/dff-dream-persona-llama7bru-prompted-skill/service.yml b/skills/dff_template_prompted_skill/service_configs/dff-dream-persona-llama7bru-prompted-skill/service.yml new file mode 100644 index 0000000000..18c47832c0 --- /dev/null +++ b/skills/dff_template_prompted_skill/service_configs/dff-dream-persona-llama7bru-prompted-skill/service.yml @@ -0,0 +1,29 @@ +name: dff-dream-persona-llama7bru-prompted-skill +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8151 + SERVICE_NAME: dff_dream_persona_ru_prompted_skill + PROMPT_FILE: common/prompts/dream_persona_ru.json + GENERATIVE_SERVICE_URL: http://transformers-lm-llama7bru:8149/respond + GENERATIVE_TIMEOUT: 10 + N_UTTERANCES_CONTEXT: 7 + context: . + dockerfile: ./skills/dff_template_prompted_skill/Dockerfile + command: gunicorn --workers=1 server:app -b 0.0.0.0:8151 --reload + deploy: + resources: + limits: + memory: 128M + reservations: + memory: 128M + volumes: + - ./skills/dff_template_prompted_skill:/src + - ./common:/src/common + ports: + - 8151:8151 +proxy: null diff --git a/skills/dff_template_prompted_skill/service_configs/dff-fairytale-prompted-skill/environment.yml b/skills/dff_template_prompted_skill/service_configs/dff-fairytale-prompted-skill/environment.yml new file mode 100644 index 0000000000..8a37f905fd --- /dev/null +++ b/skills/dff_template_prompted_skill/service_configs/dff-fairytale-prompted-skill/environment.yml @@ -0,0 +1,8 @@ +SERVICE_PORT: 8139 +SERVICE_NAME: dff_fairytale_prompted_skill +PROMPT_FILE: common/prompts/fairytale.json +GENERATIVE_SERVICE_URL: http://openai-api-chatgpt:8145/respond +GENERATIVE_SERVICE_CONFIG: openai-chatgpt.json +GENERATIVE_TIMEOUT: 10 +N_UTTERANCES_CONTEXT: 7 +ENVVARS_TO_SEND: OPENAI_API_KEY,OPENAI_ORGANIZATION diff --git a/skills/dff_template_prompted_skill/service_configs/dff-fairytale-prompted-skill/service.yml b/skills/dff_template_prompted_skill/service_configs/dff-fairytale-prompted-skill/service.yml new file mode 100644 index 0000000000..c40de43fa5 --- /dev/null +++ b/skills/dff_template_prompted_skill/service_configs/dff-fairytale-prompted-skill/service.yml @@ -0,0 +1,32 @@ +name: dff-fairytale-prompted-skill +endpoints: +- respond +compose: + env_file: + - .env + - .env_secret + build: + args: + SERVICE_PORT: 8139 + SERVICE_NAME: dff_fairytale_prompted_skill + PROMPT_FILE: common/prompts/fairytale.json + GENERATIVE_SERVICE_URL: http://openai-api-chatgpt:8145/respond + GENERATIVE_SERVICE_CONFIG: openai-chatgpt.json + GENERATIVE_TIMEOUT: 10 + N_UTTERANCES_CONTEXT: 7 + ENVVARS_TO_SEND: OPENAI_API_KEY,OPENAI_ORGANIZATION + context: . + dockerfile: ./skills/dff_template_prompted_skill/Dockerfile + command: gunicorn --workers=1 server:app -b 0.0.0.0:8139 --reload + deploy: + resources: + limits: + memory: 128M + reservations: + memory: 128M + volumes: + - ./skills/dff_template_prompted_skill:/src + - ./common:/src/common + ports: + - 8139:8139 +proxy: null diff --git a/skills/dff_template_prompted_skill/service_configs/dff-fashion-stylist-prompted-skill/environment.yml b/skills/dff_template_prompted_skill/service_configs/dff-fashion-stylist-prompted-skill/environment.yml new file mode 100644 index 0000000000..11e3f9b6bf --- /dev/null +++ b/skills/dff_template_prompted_skill/service_configs/dff-fashion-stylist-prompted-skill/environment.yml @@ -0,0 +1,7 @@ +SERVICE_PORT: 8144 +SERVICE_NAME: dff_fashion_stylist_prompted_skill +PROMPT_FILE: common/prompts/fashion_stylist.json +GENERATIVE_SERVICE_URL: http://transformers-lm-oasst12b:8158/respond +GENERATIVE_SERVICE_CONFIG: default_generative_config.json +GENERATIVE_TIMEOUT: 10 +N_UTTERANCES_CONTEXT: 7 diff --git a/skills/dff_template_prompted_skill/service_configs/dff-fashion-stylist-prompted-skill/service.yml b/skills/dff_template_prompted_skill/service_configs/dff-fashion-stylist-prompted-skill/service.yml new file mode 100644 index 0000000000..e80376f2d2 --- /dev/null +++ b/skills/dff_template_prompted_skill/service_configs/dff-fashion-stylist-prompted-skill/service.yml @@ -0,0 +1,30 @@ +name: dff-fashion-stylist-prompted-skill +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8144 + SERVICE_NAME: dff_fashion_stylist_prompted_skill + PROMPT_FILE: common/prompts/fashion_stylist.json + GENERATIVE_SERVICE_URL: http://transformers-lm-oasst12b:8158/respond + GENERATIVE_SERVICE_CONFIG: default_generative_config.json + GENERATIVE_TIMEOUT: 10 + N_UTTERANCES_CONTEXT: 7 + context: . + dockerfile: ./skills/dff_template_prompted_skill/Dockerfile + command: gunicorn --workers=1 server:app -b 0.0.0.0:8144 --reload + deploy: + resources: + limits: + memory: 128M + reservations: + memory: 128M + volumes: + - ./skills/dff_template_prompted_skill:/src + - ./common:/src/common + ports: + - 8144:8144 +proxy: null diff --git a/skills/dff_template_prompted_skill/service_configs/dff-life-coaching-prompted-skill/environment.yml b/skills/dff_template_prompted_skill/service_configs/dff-life-coaching-prompted-skill/environment.yml new file mode 100644 index 0000000000..3e242ad4f0 --- /dev/null +++ b/skills/dff_template_prompted_skill/service_configs/dff-life-coaching-prompted-skill/environment.yml @@ -0,0 +1,8 @@ +SERVICE_PORT: 8142 +SERVICE_NAME: dff_life_coaching_prompted_skill +PROMPT_FILE: common/prompts/life_coaching.json +GENERATIVE_SERVICE_URL: http://openai-api-davinci3:8131/respond +GENERATIVE_SERVICE_CONFIG: openai-text-davinci-003.json +GENERATIVE_TIMEOUT: 10 +N_UTTERANCES_CONTEXT: 7 +ENVVARS_TO_SEND: OPENAI_API_KEY,OPENAI_ORGANIZATION diff --git a/skills/dff_template_prompted_skill/service_configs/dff-life-coaching-prompted-skill/service.yml b/skills/dff_template_prompted_skill/service_configs/dff-life-coaching-prompted-skill/service.yml new file mode 100644 index 0000000000..ccd031250f --- /dev/null +++ b/skills/dff_template_prompted_skill/service_configs/dff-life-coaching-prompted-skill/service.yml @@ -0,0 +1,32 @@ +name: dff-life-coaching-prompted-skill +endpoints: +- respond +compose: + env_file: + - .env + - .env_secret + build: + args: + SERVICE_PORT: 8142 + SERVICE_NAME: dff_life_coaching_prompted_skill + PROMPT_FILE: common/prompts/life_coaching.json + GENERATIVE_SERVICE_URL: http://openai-api-davinci3:8131/respond + GENERATIVE_SERVICE_CONFIG: openai-text-davinci-003.json + GENERATIVE_TIMEOUT: 10 + N_UTTERANCES_CONTEXT: 7 + ENVVARS_TO_SEND: OPENAI_API_KEY,OPENAI_ORGANIZATION + context: . + dockerfile: ./skills/dff_template_prompted_skill/Dockerfile + command: gunicorn --workers=1 server:app -b 0.0.0.0:8142 --reload + deploy: + resources: + limits: + memory: 128M + reservations: + memory: 128M + volumes: + - ./skills/dff_template_prompted_skill:/src + - ./common:/src/common + ports: + - 8142:8142 +proxy: null diff --git a/skills/dff_template_prompted_skill/service_configs/dff-marketing-prompted-skill/environment.yml b/skills/dff_template_prompted_skill/service_configs/dff-marketing-prompted-skill/environment.yml new file mode 100644 index 0000000000..4b9dd71939 --- /dev/null +++ b/skills/dff_template_prompted_skill/service_configs/dff-marketing-prompted-skill/environment.yml @@ -0,0 +1,7 @@ +SERVICE_PORT: 8138 +SERVICE_NAME: dff_marketing_prompted_skill +PROMPT_FILE: common/prompts/marketing.json +GENERATIVE_SERVICE_URL: http://transformers-lm-gptj:8130/respond +GENERATIVE_SERVICE_CONFIG: default_generative_config.json +GENERATIVE_TIMEOUT: 10 +N_UTTERANCES_CONTEXT: 7 diff --git a/skills/dff_template_prompted_skill/service_configs/dff-marketing-prompted-skill/service.yml b/skills/dff_template_prompted_skill/service_configs/dff-marketing-prompted-skill/service.yml new file mode 100644 index 0000000000..acd28b65a3 --- /dev/null +++ b/skills/dff_template_prompted_skill/service_configs/dff-marketing-prompted-skill/service.yml @@ -0,0 +1,30 @@ +name: dff-marketing-prompted-skill +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8138 + SERVICE_NAME: dff_marketing_prompted_skill + PROMPT_FILE: common/prompts/marketing.json + GENERATIVE_SERVICE_URL: http://transformers-lm-gptj:8130/respond + GENERATIVE_SERVICE_CONFIG: default_generative_config.json + GENERATIVE_TIMEOUT: 10 + N_UTTERANCES_CONTEXT: 7 + context: . + dockerfile: ./skills/dff_template_prompted_skill/Dockerfile + command: gunicorn --workers=1 server:app -b 0.0.0.0:8138 --reload + deploy: + resources: + limits: + memory: 128M + reservations: + memory: 128M + volumes: + - ./skills/dff_template_prompted_skill:/src + - ./common:/src/common + ports: + - 8138:8138 +proxy: null diff --git a/skills/dff_template_prompted_skill/service_configs/dff-meeting-notes-prompted-skill/environment.yml b/skills/dff_template_prompted_skill/service_configs/dff-meeting-notes-prompted-skill/environment.yml new file mode 100644 index 0000000000..73cdb0dfbf --- /dev/null +++ b/skills/dff_template_prompted_skill/service_configs/dff-meeting-notes-prompted-skill/environment.yml @@ -0,0 +1,8 @@ +SERVICE_PORT: 8155 +SERVICE_NAME: dff_meeting_notes_prompted_skill +PROMPT_FILE: common/prompts/meeting_notes.json +GENERATIVE_SERVICE_URL: http://openai-api-davinci3:8131/respond +GENERATIVE_SERVICE_CONFIG: openai-text-davinci-003.json +GENERATIVE_TIMEOUT: 10 +N_UTTERANCES_CONTEXT: 7 +ENVVARS_TO_SEND: OPENAI_API_KEY,OPENAI_ORGANIZATION diff --git a/skills/dff_template_prompted_skill/service_configs/dff-meeting-notes-prompted-skill/service.yml b/skills/dff_template_prompted_skill/service_configs/dff-meeting-notes-prompted-skill/service.yml new file mode 100644 index 0000000000..8364ebe666 --- /dev/null +++ b/skills/dff_template_prompted_skill/service_configs/dff-meeting-notes-prompted-skill/service.yml @@ -0,0 +1,32 @@ +name: dff-meeting-notes-prompted-skill +endpoints: +- respond +compose: + env_file: + - .env + - .env_secret + build: + args: + SERVICE_PORT: 8155 + SERVICE_NAME: dff_meeting_notes_prompted_skill + PROMPT_FILE: common/prompts/meeting_notes.json + GENERATIVE_SERVICE_URL: http://openai-api-davinci3:8131/respond + GENERATIVE_SERVICE_CONFIG: openai-text-davinci-003.json + GENERATIVE_TIMEOUT: 10 + N_UTTERANCES_CONTEXT: 7 + ENVVARS_TO_SEND: OPENAI_API_KEY,OPENAI_ORGANIZATION + context: . + dockerfile: ./skills/dff_template_prompted_skill/Dockerfile + command: gunicorn --workers=1 server:app -b 0.0.0.0:8155 --reload + deploy: + resources: + limits: + memory: 128M + reservations: + memory: 128M + volumes: + - ./skills/dff_template_prompted_skill:/src + - ./common:/src/common + ports: + - 8155:8155 +proxy: null diff --git a/skills/dff_template_prompted_skill/service_configs/dff-nutrition-prompted-skill/environment.yml b/skills/dff_template_prompted_skill/service_configs/dff-nutrition-prompted-skill/environment.yml new file mode 100644 index 0000000000..abc489af47 --- /dev/null +++ b/skills/dff_template_prompted_skill/service_configs/dff-nutrition-prompted-skill/environment.yml @@ -0,0 +1,7 @@ +SERVICE_PORT: 8141 +SERVICE_NAME: dff_nutrition_prompted_skill +PROMPT_FILE: common/prompts/nutrition.json +GENERATIVE_SERVICE_URL: http://transformers-lm-oasst12b:8158/respond +GENERATIVE_SERVICE_CONFIG: default_generative_config.json +GENERATIVE_TIMEOUT: 10 +N_UTTERANCES_CONTEXT: 7 diff --git a/skills/dff_template_prompted_skill/service_configs/dff-nutrition-prompted-skill/service.yml b/skills/dff_template_prompted_skill/service_configs/dff-nutrition-prompted-skill/service.yml new file mode 100644 index 0000000000..d6332a95f4 --- /dev/null +++ b/skills/dff_template_prompted_skill/service_configs/dff-nutrition-prompted-skill/service.yml @@ -0,0 +1,30 @@ +name: dff-nutrition-prompted-skill +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8141 + SERVICE_NAME: dff_nutrition_prompted_skill + PROMPT_FILE: common/prompts/nutrition.json + GENERATIVE_SERVICE_URL: http://transformers-lm-oasst12b:8158/respond + GENERATIVE_SERVICE_CONFIG: default_generative_config.json + GENERATIVE_TIMEOUT: 10 + N_UTTERANCES_CONTEXT: 7 + context: . + dockerfile: ./skills/dff_template_prompted_skill/Dockerfile + command: gunicorn --workers=1 server:app -b 0.0.0.0:8141 --reload + deploy: + resources: + limits: + memory: 128M + reservations: + memory: 128M + volumes: + - ./skills/dff_template_prompted_skill:/src + - ./common:/src/common + ports: + - 8141:8141 +proxy: null diff --git a/skills/dff_template_prompted_skill/service_configs/dff-official-email-prompted-skill/environment.yml b/skills/dff_template_prompted_skill/service_configs/dff-official-email-prompted-skill/environment.yml new file mode 100644 index 0000000000..f02ac8a493 --- /dev/null +++ b/skills/dff_template_prompted_skill/service_configs/dff-official-email-prompted-skill/environment.yml @@ -0,0 +1,8 @@ +SERVICE_PORT: 8156 +SERVICE_NAME: dff_official_email_prompted_skill +PROMPT_FILE: common/prompts/official_email.json +GENERATIVE_SERVICE_URL: http://openai-api-davinci3:8131/respond +GENERATIVE_SERVICE_CONFIG: openai-text-davinci-003.json +GENERATIVE_TIMEOUT: 10 +N_UTTERANCES_CONTEXT: 7 +ENVVARS_TO_SEND: OPENAI_API_KEY,OPENAI_ORGANIZATION diff --git a/skills/dff_template_prompted_skill/service_configs/dff-official-email-prompted-skill/service.yml b/skills/dff_template_prompted_skill/service_configs/dff-official-email-prompted-skill/service.yml new file mode 100644 index 0000000000..feb6350b3e --- /dev/null +++ b/skills/dff_template_prompted_skill/service_configs/dff-official-email-prompted-skill/service.yml @@ -0,0 +1,32 @@ +name: dff-official-email-prompted-skill +endpoints: +- respond +compose: + env_file: + - .env + - .env_secret + build: + args: + SERVICE_PORT: 8156 + SERVICE_NAME: dff_official_email_prompted_skill + PROMPT_FILE: common/prompts/official_email.json + GENERATIVE_SERVICE_URL: http://openai-api-davinci3:8131/respond + GENERATIVE_SERVICE_CONFIG: openai-text-davinci-003.json + GENERATIVE_TIMEOUT: 10 + N_UTTERANCES_CONTEXT: 7 + ENVVARS_TO_SEND: OPENAI_API_KEY,OPENAI_ORGANIZATION + context: . + dockerfile: ./skills/dff_template_prompted_skill/Dockerfile + command: gunicorn --workers=1 server:app -b 0.0.0.0:8156 --reload + deploy: + resources: + limits: + memory: 128M + reservations: + memory: 128M + volumes: + - ./skills/dff_template_prompted_skill:/src + - ./common:/src/common + ports: + - 8156:8156 +proxy: null diff --git a/skills/dff_template_prompted_skill/service_configs/dff-plan-for-article-prompted-skill/environment.yml b/skills/dff_template_prompted_skill/service_configs/dff-plan-for-article-prompted-skill/environment.yml new file mode 100644 index 0000000000..1568ba86e6 --- /dev/null +++ b/skills/dff_template_prompted_skill/service_configs/dff-plan-for-article-prompted-skill/environment.yml @@ -0,0 +1,8 @@ +SERVICE_PORT: 8157 +SERVICE_NAME: dff_plan_for_article_prompted_skill +PROMPT_FILE: common/prompts/plan_for_article.json +GENERATIVE_SERVICE_URL: http://openai-api-davinci3:8131/respond +GENERATIVE_SERVICE_CONFIG: openai-text-davinci-003.json +GENERATIVE_TIMEOUT: 10 +N_UTTERANCES_CONTEXT: 7 +ENVVARS_TO_SEND: OPENAI_API_KEY,OPENAI_ORGANIZATION diff --git a/skills/dff_template_prompted_skill/service_configs/dff-plan-for-article-prompted-skill/service.yml b/skills/dff_template_prompted_skill/service_configs/dff-plan-for-article-prompted-skill/service.yml new file mode 100644 index 0000000000..2d294d86e2 --- /dev/null +++ b/skills/dff_template_prompted_skill/service_configs/dff-plan-for-article-prompted-skill/service.yml @@ -0,0 +1,32 @@ +name: dff-plan-for-article-prompted-skill +endpoints: +- respond +compose: + env_file: + - .env + - .env_secret + build: + args: + SERVICE_PORT: 8157 + SERVICE_NAME: dff_plan_for_article_prompted_skill + PROMPT_FILE: common/prompts/plan_for_article.json + GENERATIVE_SERVICE_URL: http://openai-api-davinci3:8131/respond + GENERATIVE_SERVICE_CONFIG: openai-text-davinci-003.json + GENERATIVE_TIMEOUT: 10 + N_UTTERANCES_CONTEXT: 7 + ENVVARS_TO_SEND: OPENAI_API_KEY,OPENAI_ORGANIZATION + context: . + dockerfile: ./skills/dff_template_prompted_skill/Dockerfile + command: gunicorn --workers=1 server:app -b 0.0.0.0:8157 --reload + deploy: + resources: + limits: + memory: 128M + reservations: + memory: 128M + volumes: + - ./skills/dff_template_prompted_skill:/src + - ./common:/src/common + ports: + - 8157:8157 +proxy: null diff --git a/skills/dff_template_prompted_skill/template.yml b/skills/dff_template_prompted_skill/template.yml new file mode 100644 index 0000000000..09b1bacb15 --- /dev/null +++ b/skills/dff_template_prompted_skill/template.yml @@ -0,0 +1,32 @@ +- name: dff_prompted_skill_template + display_name: Prompted Skill Template + author: publisher@deeppavlov.ai +# is_customizable: true + description: Template for creating Prompted Skills + endpoints: + - group: skills + endpoint: respond + config_keys: +# SERVICE_PORT: int + SERVICE_NAME: str + PROMPT_FILE: str + GENERATIVE_SERVICE_URL: str + GENERATIVE_SERVICE_CONFIG: str + GENERATIVE_TIMEOUT: int + N_UTTERANCES_CONTEXT: int +- name: unused_template_prompted_skill + display_name: Unused Prompted Skill Template + author: publisher@deeppavlov.ai +# is_customizable: true + description: Unused template for creating Prompted Skills + endpoints: + - group: skills + endpoint: respond + config_keys: +# SERVICE_PORT: int + SERVICE_NAME: str + PROMPT_FILE: str + GENERATIVE_SERVICE_URL: str + GENERATIVE_SERVICE_CONFIG: str + GENERATIVE_TIMEOUT: int + N_UTTERANCES_CONTEXT: int diff --git a/skills/dff_template_skill/component.yml b/skills/dff_template_skill/component.yml deleted file mode 100644 index 4ae90c5a9c..0000000000 --- a/skills/dff_template_skill/component.yml +++ /dev/null @@ -1,19 +0,0 @@ -dff-template-skill: - name: dff_template_skill - display_name: DFF Template Skill - container_name: dff-template-skill - component_type: Script-based w/o NNs - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: DFF-based skill that provides an example of DFF usage - ram_usage: 100M - gpu_usage: null - port: 8120 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8120 - SERVICE_NAME: dff_template_skill - date_created: '2023-03-16T09:45:32' diff --git a/skills/dff_template_skill/pipeline.yml b/skills/dff_template_skill/pipeline.yml deleted file mode 100644 index 56dc928e64..0000000000 --- a/skills/dff_template_skill/pipeline.yml +++ /dev/null @@ -1,11 +0,0 @@ -dff-template-skill: -- group: skills - connector: - protocol: http - timeout: 2.0 - url: http://dff-template-skill:8120/respond - dialog_formatter: state_formatters.dp_formatters:dff_template_skill_formatter - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis diff --git a/skills/dff_template_skill/service_configs/dff-template-skill/environment.yml b/skills/dff_template_skill/service_configs/dff-template-skill/environment.yml new file mode 100644 index 0000000000..6b22659547 --- /dev/null +++ b/skills/dff_template_skill/service_configs/dff-template-skill/environment.yml @@ -0,0 +1,2 @@ +SERVICE_PORT: 8120 +SERVICE_NAME: dff_template_skill diff --git a/skills/dff_template_skill/service_configs/dff-template-skill/service.yml b/skills/dff_template_skill/service_configs/dff-template-skill/service.yml new file mode 100644 index 0000000000..f497d41f1b --- /dev/null +++ b/skills/dff_template_skill/service_configs/dff-template-skill/service.yml @@ -0,0 +1,35 @@ +name: dff-template-skill +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8120 + SERVICE_NAME: dff_template_skill + context: . + dockerfile: ./skills/dff_template_skill/Dockerfile + command: gunicorn --workers=1 server:app -b 0.0.0.0:8120 --reload + deploy: + resources: + limits: + memory: 128M + reservations: + memory: 128M + volumes: + - ./skills/dff_template_skill:/src + - ./common:/src/common + ports: + - 8120:8120 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8120 + - PORT=8120 diff --git a/skills/dff_travel_skill/component.yml b/skills/dff_travel_skill/component.yml deleted file mode 100644 index 77f90749fc..0000000000 --- a/skills/dff_travel_skill/component.yml +++ /dev/null @@ -1,19 +0,0 @@ -dff-travel-skill: - name: dff_travel_skill - display_name: Travel Skill - container_name: dff-travel-skill - component_type: Script-based w/o NNs - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: DFF-based skill to discuss travel - ram_usage: 100M - gpu_usage: null - port: 8096 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8096 - SERVICE_NAME: dff_travel_skill - date_created: '2023-03-16T09:45:32' diff --git a/skills/dff_travel_skill/pipeline.yml b/skills/dff_travel_skill/pipeline.yml deleted file mode 100644 index 41658c5e1b..0000000000 --- a/skills/dff_travel_skill/pipeline.yml +++ /dev/null @@ -1,11 +0,0 @@ -dff-travel-skill: -- group: skills - connector: - protocol: http - timeout: 2.0 - url: http://dff-travel-skill:8096/respond - dialog_formatter: state_formatters.dp_formatters:dff_travel_skill_formatter - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis diff --git a/skills/dff_travel_skill/service_configs/dff-travel-skill/environment.yml b/skills/dff_travel_skill/service_configs/dff-travel-skill/environment.yml new file mode 100644 index 0000000000..936e98a7c2 --- /dev/null +++ b/skills/dff_travel_skill/service_configs/dff-travel-skill/environment.yml @@ -0,0 +1,2 @@ +SERVICE_PORT: 8096 +SERVICE_NAME: dff_travel_skill diff --git a/skills/dff_travel_skill/service_configs/dff-travel-skill/service.yml b/skills/dff_travel_skill/service_configs/dff-travel-skill/service.yml new file mode 100644 index 0000000000..1a624eb513 --- /dev/null +++ b/skills/dff_travel_skill/service_configs/dff-travel-skill/service.yml @@ -0,0 +1,35 @@ +name: dff-travel-skill +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8096 + SERVICE_NAME: dff_travel_skill + context: . + dockerfile: skills/dff_travel_skill/Dockerfile + command: gunicorn --workers=1 server:app -b 0.0.0.0:8096 + deploy: + resources: + limits: + memory: 768M + reservations: + memory: 768M + volumes: + - ./skills/dff_travel_skill:/src + - ./common:/src/common + ports: + - 8096:8096 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8096 + - PORT=8096 diff --git a/skills/dff_universal_prompted_skill/component.yml b/skills/dff_universal_prompted_skill/component.yml deleted file mode 100644 index 05d428740e..0000000000 --- a/skills/dff_universal_prompted_skill/component.yml +++ /dev/null @@ -1,22 +0,0 @@ -dff-universal-prompted-skill: - name: dff_universal_prompted_skill - display_name: Universal Prompted Skill - container_name: dff-universal-prompted-skill - component_type: Generative - 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. - ram_usage: 150M - gpu_usage: null - port: 8147 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8147 - SERVICE_NAME: dff_universal_prompted_skill - GENERATIVE_TIMEOUT: 10 - N_UTTERANCES_CONTEXT: 3 - date_created: '2023-03-16T09:45:32' diff --git a/skills/dff_universal_prompted_skill/pipeline.yml b/skills/dff_universal_prompted_skill/pipeline.yml deleted file mode 100644 index a863c60f70..0000000000 --- a/skills/dff_universal_prompted_skill/pipeline.yml +++ /dev/null @@ -1,12 +0,0 @@ -dff-universal-prompted-skill: -- group: skills - connector: - protocol: http - timeout: 10.0 - url: http://dff-universal-prompted-skill:8147/respond - dialog_formatter: state_formatters.dp_formatters:dff_universal_prompted_skill_formatter - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis - diff --git a/skills/dff_universal_prompted_skill/service_configs/dff-universal-prompted-skill/environment.yml b/skills/dff_universal_prompted_skill/service_configs/dff-universal-prompted-skill/environment.yml new file mode 100644 index 0000000000..b696b1b751 --- /dev/null +++ b/skills/dff_universal_prompted_skill/service_configs/dff-universal-prompted-skill/environment.yml @@ -0,0 +1,4 @@ +SERVICE_PORT: 8147 +SERVICE_NAME: dff_universal_prompted_skill +GENERATIVE_TIMEOUT: 7 +N_UTTERANCES_CONTEXT: 7 diff --git a/skills/dff_universal_prompted_skill/service_configs/dff-universal-prompted-skill/service.yml b/skills/dff_universal_prompted_skill/service_configs/dff-universal-prompted-skill/service.yml new file mode 100644 index 0000000000..9ed1a6057f --- /dev/null +++ b/skills/dff_universal_prompted_skill/service_configs/dff-universal-prompted-skill/service.yml @@ -0,0 +1,27 @@ +name: dff-universal-prompted-skill +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8147 + SERVICE_NAME: dff_universal_prompted_skill + GENERATIVE_TIMEOUT: 7 + N_UTTERANCES_CONTEXT: 7 + context: . + dockerfile: ./skills/dff_universal_prompted_skill/Dockerfile + command: gunicorn --workers=1 server:app -b 0.0.0.0:8147 --reload + deploy: + resources: + limits: + memory: 128M + reservations: + memory: 128M + volumes: + - ./skills/dff_universal_prompted_skill:/src + - ./common:/src/common + ports: + - 8147:8147 +proxy: null diff --git a/skills/dff_weather_skill/component.yml b/skills/dff_weather_skill/component.yml deleted file mode 100644 index d4aca38355..0000000000 --- a/skills/dff_weather_skill/component.yml +++ /dev/null @@ -1,20 +0,0 @@ -dff-weather-skill: - name: dff_weather_skill - display_name: Weather Skill - container_name: dff-weather-skill - component_type: Script-based w/o NNs - model_type: External API - is_customizable: false - author: DeepPavlov - description: uses the OpenWeatherMap service to get the forecast for the user's - location - ram_usage: 1.4G - gpu_usage: null - port: 8037 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8037 - SERVICE_NAME: dff_weather_skill - date_created: '2023-03-16T09:45:32' diff --git a/skills/dff_weather_skill/pipeline.yml b/skills/dff_weather_skill/pipeline.yml deleted file mode 100644 index 5b98ccd5de..0000000000 --- a/skills/dff_weather_skill/pipeline.yml +++ /dev/null @@ -1,11 +0,0 @@ -dff-weather-skill: -- group: skills - connector: - protocol: http - timeout: 2.0 - url: http://dff-weather-skill:8037/respond - dialog_formatter: state_formatters.dp_formatters:dff_weather_skill_formatter - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis diff --git a/skills/dff_weather_skill/service_configs/dff-weather-skill/environment.yml b/skills/dff_weather_skill/service_configs/dff-weather-skill/environment.yml new file mode 100644 index 0000000000..75a7a78e88 --- /dev/null +++ b/skills/dff_weather_skill/service_configs/dff-weather-skill/environment.yml @@ -0,0 +1,2 @@ +SERVICE_PORT: 8037 +SERVICE_NAME: dff_weather_skill diff --git a/skills/dff_weather_skill/service_configs/dff-weather-skill/service.yml b/skills/dff_weather_skill/service_configs/dff-weather-skill/service.yml new file mode 100644 index 0000000000..b453512677 --- /dev/null +++ b/skills/dff_weather_skill/service_configs/dff-weather-skill/service.yml @@ -0,0 +1,35 @@ +name: dff-weather-skill +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8037 + SERVICE_NAME: dff_weather_skill + context: . + dockerfile: ./skills/dff_weather_skill/Dockerfile + command: gunicorn --workers=1 server:app -b 0.0.0.0:8037 --reload --timeout 500 + deploy: + resources: + limits: + memory: 1G + reservations: + memory: 1G + volumes: + - ./skills/dff_weather_skill:/src + - ./common:/src/common + ports: + - 8037:8037 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8037 + - PORT=8037 diff --git a/skills/dff_wiki_skill/component.yml b/skills/dff_wiki_skill/component.yml deleted file mode 100644 index f3ccc44da1..0000000000 --- a/skills/dff_wiki_skill/component.yml +++ /dev/null @@ -1,21 +0,0 @@ -dff-wiki-skill: - name: dff_wiki_skill - display_name: Wiki Skill - container_name: dff-wiki-skill - component_type: Script-based w/o NNs - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: used for making scenarios with the extraction of entities, slot filling, - facts insertion, and acknowledgements - ram_usage: 150M - gpu_usage: null - port: 8111 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8111 - SERVICE_NAME: dff_wiki_skill - COMMIT: 5b99ac3392e8e178e2bb4f9b218d4ddb2ec2e242 - date_created: '2023-03-16T09:45:32' diff --git a/skills/dff_wiki_skill/pipeline.yml b/skills/dff_wiki_skill/pipeline.yml deleted file mode 100644 index 018ba40475..0000000000 --- a/skills/dff_wiki_skill/pipeline.yml +++ /dev/null @@ -1,11 +0,0 @@ -dff-wiki-skill: -- group: skills - connector: - protocol: http - timeout: 2.0 - url: http://dff-wiki-skill:8111/respond - dialog_formatter: state_formatters.dp_formatters:dff_wiki_skill_formatter - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis diff --git a/skills/dff_wiki_skill/service_configs/dff-wiki-skill/environment.yml b/skills/dff_wiki_skill/service_configs/dff-wiki-skill/environment.yml new file mode 100644 index 0000000000..a29eeac5d8 --- /dev/null +++ b/skills/dff_wiki_skill/service_configs/dff-wiki-skill/environment.yml @@ -0,0 +1,3 @@ +SERVICE_PORT: 8111 +SERVICE_NAME: dff_wiki_skill +COMMIT: 5b99ac3392e8e178e2bb4f9b218d4ddb2ec2e242 diff --git a/skills/dff_wiki_skill/service_configs/dff-wiki-skill/service.yml b/skills/dff_wiki_skill/service_configs/dff-wiki-skill/service.yml new file mode 100644 index 0000000000..fddd8912d9 --- /dev/null +++ b/skills/dff_wiki_skill/service_configs/dff-wiki-skill/service.yml @@ -0,0 +1,36 @@ +name: dff-wiki-skill +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8111 + SERVICE_NAME: dff_wiki_skill + COMMIT: 5b99ac3392e8e178e2bb4f9b218d4ddb2ec2e242 + context: ./ + dockerfile: ./skills/dff_wiki_skill/Dockerfile + command: gunicorn --workers=1 server:app -b 0.0.0.0:8111 + deploy: + resources: + limits: + memory: 256M + reservations: + memory: 256M + volumes: + - ./skills/dff_wiki_skill:/src + - ./common:/src/common + ports: + - 8111:8111 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8111 + - PORT=8111 diff --git a/skills/dummy_skill/component.yml b/skills/dummy_skill/component.yml deleted file mode 100644 index d60b4b21ab..0000000000 --- a/skills/dummy_skill/component.yml +++ /dev/null @@ -1,20 +0,0 @@ -agent: - name: dummy_skill - display_name: Dummy Skill - container_name: agent - component_type: Fallback - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: Dummy Skill provides default responses, so called fallbacks, - like "I didn't get it, sorry". Dummy Skill also returns questions and facts - based on the mentioned entities. - ram_usage: 100M - gpu_usage: null - port: 4242 - endpoints: - - group: skills - endpoint: respond - build_args: - LANGUAGE: EN - date_created: '2023-03-16T09:45:32' diff --git a/skills/dummy_skill/pipeline.yml b/skills/dummy_skill/pipeline.yml deleted file mode 100644 index c596146e0a..0000000000 --- a/skills/dummy_skill/pipeline.yml +++ /dev/null @@ -1,10 +0,0 @@ -agent: -- group: skills - connector: - protocol: python - class_name: skills.dummy_skill.connector:DummySkillConnector - dialog_formatter: state_formatters.dp_formatters:utt_sentrewrite_modified_last_dialog - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis diff --git a/skills/dummy_skill/service_configs/agent/environment.yml b/skills/dummy_skill/service_configs/agent/environment.yml new file mode 100644 index 0000000000..33120fd390 --- /dev/null +++ b/skills/dummy_skill/service_configs/agent/environment.yml @@ -0,0 +1,6 @@ +WAIT_HOSTS: "" +WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} +HIGH_PRIORITY_INTENTS: 1 +RESTRICTION_FOR_SENSITIVE_CASE: 1 +ALWAYS_TURN_ON_ALL_SKILLS: 0 +LANGUAGE: EN diff --git a/skills/dummy_skill/service_configs/agent/service.yml b/skills/dummy_skill/service_configs/agent/service.yml new file mode 100644 index 0000000000..b5abd7d985 --- /dev/null +++ b/skills/dummy_skill/service_configs/agent/service.yml @@ -0,0 +1,17 @@ +name: agent +endpoints: +- respond +compose: + command: sh -c 'bin/wait && python -m deeppavlov_agent.run agent.pipeline_config=assistant_dists/dream_alexa/pipeline_conf.json' + environment: + WAIT_HOSTS: "" + WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480} + HIGH_PRIORITY_INTENTS: 1 + RESTRICTION_FOR_SENSITIVE_CASE: 1 + ALWAYS_TURN_ON_ALL_SKILLS: 0 + LANGUAGE: EN + volumes: + - .:/dp-agent + ports: + - 4242:4242 +proxy: null diff --git a/skills/dummy_skill_dialog/component.yml b/skills/dummy_skill_dialog/component.yml deleted file mode 100644 index 81182fc4c5..0000000000 --- a/skills/dummy_skill_dialog/component.yml +++ /dev/null @@ -1,22 +0,0 @@ -dummy-skill-dialog: - name: dummy_skill_dialog - display_name: Dummy Skill Dialog - container_name: dummy-skill-dialog - component_type: Script-based w/o NNs - model_type: ML-based - is_customizable: false - author: DeepPavlov - description: returns the next turn from the Topical Chat dataset if the response - of the user to the Dummy Skill is similar to the corresponding response in the - source data - ram_usage: 600M - gpu_usage: null - port: 8052 - endpoints: - - group: skills - endpoint: respond - build_args: - DATA_URL: http://files.deeppavlov.ai/alexaprize_data/dummy_skill_dialog.tar.gz - SERVICE_PORT: '8052' - SERVICE_NAME: dummy_skill_dialog - date_created: '2023-03-16T09:45:32' diff --git a/skills/dummy_skill_dialog/pipeline.yml b/skills/dummy_skill_dialog/pipeline.yml deleted file mode 100644 index 4b265194d6..0000000000 --- a/skills/dummy_skill_dialog/pipeline.yml +++ /dev/null @@ -1,11 +0,0 @@ -dummy-skill-dialog: -- group: skills - connector: - protocol: http - timeout: 2.0 - url: http://dummy-skill-dialog:8052/respond - dialog_formatter: state_formatters.dp_formatters:utt_sentrewrite_modified_last_dialog - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis diff --git a/skills/dummy_skill_dialog/service_configs/dummy-skill-dialog/environment.yml b/skills/dummy_skill_dialog/service_configs/dummy-skill-dialog/environment.yml new file mode 100644 index 0000000000..3ed2095486 --- /dev/null +++ b/skills/dummy_skill_dialog/service_configs/dummy-skill-dialog/environment.yml @@ -0,0 +1,4 @@ +SERVICE_NAME: dummy_skill_dialog +SERVICE_PORT: 8052 +DATA_URL: http://files.deeppavlov.ai/alexaprize_data/dummy_skill_dialog.tar.gz +FLASK_APP: server diff --git a/skills/dummy_skill_dialog/service_configs/dummy-skill-dialog/service.yml b/skills/dummy_skill_dialog/service_configs/dummy-skill-dialog/service.yml new file mode 100644 index 0000000000..c01a6cad6b --- /dev/null +++ b/skills/dummy_skill_dialog/service_configs/dummy-skill-dialog/service.yml @@ -0,0 +1,37 @@ +name: dummy-skill-dialog +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_NAME: dummy_skill_dialog + SERVICE_PORT: 8052 + DATA_URL: http://files.deeppavlov.ai/alexaprize_data/dummy_skill_dialog.tar.gz + FLASK_APP: server + context: ./skills/dummy_skill_dialog/ + command: flask run -h 0.0.0.0 -p 8052 --without-threads + environment: + - FLASK_APP=server + deploy: + resources: + limits: + memory: 768M + reservations: + memory: 768M + volumes: + - ./skills/dummy_skill_dialog:/app + ports: + - 8052:8052 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8052 + - PORT=8052 diff --git a/skills/eliza/component.yml b/skills/eliza/component.yml deleted file mode 100644 index 6796c7df2a..0000000000 --- a/skills/eliza/component.yml +++ /dev/null @@ -1,19 +0,0 @@ -eliza: - name: eliza - display_name: Eliza - container_name: eliza - component_type: Script-based w/o NNs - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: Chatbot (https://github.com/wadetb/eliza) - ram_usage: 100M - gpu_usage: null - port: 8047 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: '8047' - SERVICE_NAME: eliza - date_created: '2023-03-16T09:45:32' diff --git a/skills/eliza/pipeline.yml b/skills/eliza/pipeline.yml deleted file mode 100644 index 9ee637a6cd..0000000000 --- a/skills/eliza/pipeline.yml +++ /dev/null @@ -1,11 +0,0 @@ -eliza: -- group: skills - connector: - protocol: http - timeout: 2.0 - url: http://eliza:8047/respond - dialog_formatter: state_formatters.dp_formatters:eliza_formatter_dialog - response_formatter: state_formatters.dp_formatters:base_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis diff --git a/skills/eliza/service_configs/eliza/environment.yml b/skills/eliza/service_configs/eliza/environment.yml new file mode 100644 index 0000000000..904b25d807 --- /dev/null +++ b/skills/eliza/service_configs/eliza/environment.yml @@ -0,0 +1 @@ +FLASK_APP: server diff --git a/skills/eliza/service_configs/eliza/service.yml b/skills/eliza/service_configs/eliza/service.yml new file mode 100644 index 0000000000..9938d258ef --- /dev/null +++ b/skills/eliza/service_configs/eliza/service.yml @@ -0,0 +1,32 @@ +name: eliza +endpoints: +- respond +compose: + env_file: + - .env + build: + context: ./skills/eliza/ + command: flask run -h 0.0.0.0 -p 8047 + environment: + - FLASK_APP=server + deploy: + resources: + limits: + memory: 100M + reservations: + memory: 100M + volumes: + - ./skills/eliza:/src + ports: + - 8047:8047 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8047 + - PORT=8047 diff --git a/skills/emotion_skill/component.yml b/skills/emotion_skill/component.yml deleted file mode 100644 index d1fcffaf3c..0000000000 --- a/skills/emotion_skill/component.yml +++ /dev/null @@ -1,20 +0,0 @@ -emotion-skill: - name: emotion_skill - display_name: Emotion Skill - container_name: emotion-skill - component_type: Script-based w/o NNs - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: returns template responses to emotions detected by Emotion Classification - from Combined Classification annotator - ram_usage: 100M - gpu_usage: null - port: 8049 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: '8049' - SERVICE_NAME: emotion_skill - date_created: '2023-03-16T09:45:32' diff --git a/skills/emotion_skill/pipeline.yml b/skills/emotion_skill/pipeline.yml deleted file mode 100644 index caea21fbd9..0000000000 --- a/skills/emotion_skill/pipeline.yml +++ /dev/null @@ -1,11 +0,0 @@ -emotion-skill: -- group: skills - connector: - protocol: http - timeout: 2.0 - url: http://emotion-skill:8049/respond - dialog_formatter: state_formatters.dp_formatters:utt_sentrewrite_modified_last_dialog_emotion_skill - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis diff --git a/skills/emotion_skill/service_configs/emotion-skill/environment.yml b/skills/emotion_skill/service_configs/emotion-skill/environment.yml new file mode 100644 index 0000000000..904b25d807 --- /dev/null +++ b/skills/emotion_skill/service_configs/emotion-skill/environment.yml @@ -0,0 +1 @@ +FLASK_APP: server diff --git a/skills/emotion_skill/service_configs/emotion-skill/service.yml b/skills/emotion_skill/service_configs/emotion-skill/service.yml new file mode 100644 index 0000000000..0ff25bc670 --- /dev/null +++ b/skills/emotion_skill/service_configs/emotion-skill/service.yml @@ -0,0 +1,34 @@ +name: emotion-skill +endpoints: +- respond +compose: + env_file: + - .env + build: + context: . + dockerfile: ./skills/emotion_skill/Dockerfile + command: flask run -h 0.0.0.0 -p 8049 + environment: + - FLASK_APP=server + deploy: + resources: + limits: + memory: 100M + reservations: + memory: 100M + volumes: + - ./skills/emotion_skill:/src + - ./common:/src/common + ports: + - 8049:8049 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8049 + - PORT=8049 diff --git a/skills/factoid_qa/component.yml b/skills/factoid_qa/component.yml deleted file mode 100644 index 73cdb56ea9..0000000000 --- a/skills/factoid_qa/component.yml +++ /dev/null @@ -1,19 +0,0 @@ -factoid-qa: - name: factoid_qa - display_name: Factoid QA - container_name: factoid-qa - component_type: Script-based w/o NNs - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: answers factoid questions - ram_usage: 170M - gpu_usage: null - port: 8071 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8071 - SERVICE_NAME: factoid_qa - date_created: '2023-03-16T09:45:32' diff --git a/skills/factoid_qa/pipeline.yml b/skills/factoid_qa/pipeline.yml deleted file mode 100644 index 9f22cd4509..0000000000 --- a/skills/factoid_qa/pipeline.yml +++ /dev/null @@ -1,11 +0,0 @@ -factoid-qa: -- group: skills - connector: - protocol: http - timeout: 2.0 - url: http://factoid-qa:8071/respond - dialog_formatter: state_formatters.dp_formatters:utt_sentseg_punct_dialog - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis diff --git a/skills/factoid_qa/service_configs/factoid-qa/environment.yml b/skills/factoid_qa/service_configs/factoid-qa/environment.yml new file mode 100644 index 0000000000..56baa97659 --- /dev/null +++ b/skills/factoid_qa/service_configs/factoid-qa/environment.yml @@ -0,0 +1,3 @@ +SERVICE_PORT: 8071 +SERVICE_NAME: factoid_qa +FLASK_APP: server diff --git a/skills/factoid_qa/service_configs/factoid-qa/service.yml b/skills/factoid_qa/service_configs/factoid-qa/service.yml new file mode 100644 index 0000000000..b3476d5527 --- /dev/null +++ b/skills/factoid_qa/service_configs/factoid-qa/service.yml @@ -0,0 +1,38 @@ +name: factoid-qa +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8071 + SERVICE_NAME: factoid_qa + FLASK_APP: server + context: . + dockerfile: ./skills/factoid_qa/Dockerfile + command: flask run -h 0.0.0.0 -p 8071 + environment: + - FLASK_APP=server + deploy: + resources: + limits: + memory: 256M + reservations: + memory: 256M + volumes: + - ./skills/factoid_qa:/src + - ./common:/src/common + ports: + - 8071:8071 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8071 + - PORT=8071 diff --git a/skills/faq_skill_deepy/component.yml b/skills/faq_skill_deepy/component.yml deleted file mode 100644 index eb34f57265..0000000000 --- a/skills/faq_skill_deepy/component.yml +++ /dev/null @@ -1,21 +0,0 @@ -faq-skill: - name: faq_skill - display_name: AI FAQ Skill - container_name: faq-skill - component_type: FAQ - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: Everything you wanted to know about modern AI but was afraid to ask! - This FAQ Assistant chats with you while explaining the simplest topics from today's - technology world. - ram_usage: 150M - gpu_usage: null - port: 3772 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: '3772' - SERVICE_NAME: faq_skill - date_created: '2023-03-16T09:45:32' diff --git a/skills/faq_skill_deepy/pipeline.yml b/skills/faq_skill_deepy/pipeline.yml deleted file mode 100644 index c7abb0b4dc..0000000000 --- a/skills/faq_skill_deepy/pipeline.yml +++ /dev/null @@ -1,10 +0,0 @@ -faq-skill: -- group: skills - connector: - protocol: http - url: http://faq-skill:3772/respond - dialog_formatter: state_formatters.dp_formatters:full_dialog - response_formatter: state_formatters.dp_formatters:base_skill_formatter - previous_services: - - annotators - state_manager_method: add_hypothesis diff --git a/skills/faq_skill_deepy/service_configs/faq-skill/environment.yml b/skills/faq_skill_deepy/service_configs/faq-skill/environment.yml new file mode 100644 index 0000000000..e69de29bb2 diff --git a/skills/faq_skill_deepy/service_configs/faq-skill/service.yml b/skills/faq_skill_deepy/service_configs/faq-skill/service.yml new file mode 100644 index 0000000000..941faa6f89 --- /dev/null +++ b/skills/faq_skill_deepy/service_configs/faq-skill/service.yml @@ -0,0 +1,10 @@ +name: faq-skill +endpoints: +- respond +compose: + build: + context: skills/faq_skill_deepy + command: gunicorn --workers=1 server:app -b 0.0.0.0:3772 --timeout=1000 + ports: + - 3710:3710 +proxy: null diff --git a/skills/game_cooperative_skill/component.yml b/skills/game_cooperative_skill/component.yml deleted file mode 100644 index 2f8a7473ff..0000000000 --- a/skills/game_cooperative_skill/component.yml +++ /dev/null @@ -1,20 +0,0 @@ -game-cooperative-skill: - name: game_cooperative_skill - display_name: Games Statistics Skill - container_name: game-cooperative-skill - component_type: Script-based w/o NNs - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: 'provides user with a conversation about computer games: the charts - of the best games for the past year, past month, and last week' - ram_usage: 100M - gpu_usage: null - port: 8068 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8068 - SERVICE_NAME: game_cooperative_skill - date_created: '2023-03-16T09:45:32' diff --git a/skills/game_cooperative_skill/pipeline.yml b/skills/game_cooperative_skill/pipeline.yml deleted file mode 100644 index 969720bcfa..0000000000 --- a/skills/game_cooperative_skill/pipeline.yml +++ /dev/null @@ -1,11 +0,0 @@ -game-cooperative-skill: -- group: skills - connector: - protocol: http - timeout: 2.0 - url: http://game-cooperative-skill:8068/respond - dialog_formatter: state_formatters.dp_formatters:game_cooperative_skill_formatter - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis diff --git a/skills/game_cooperative_skill/service_configs/game-cooperative-skill/environment.yml b/skills/game_cooperative_skill/service_configs/game-cooperative-skill/environment.yml new file mode 100644 index 0000000000..8aa40928ba --- /dev/null +++ b/skills/game_cooperative_skill/service_configs/game-cooperative-skill/environment.yml @@ -0,0 +1,3 @@ +SERVICE_PORT: 8068 +SERVICE_NAME: game_cooperative_skill +FLASK_APP: server diff --git a/skills/game_cooperative_skill/service_configs/game-cooperative-skill/service.yml b/skills/game_cooperative_skill/service_configs/game-cooperative-skill/service.yml new file mode 100644 index 0000000000..63eb61de88 --- /dev/null +++ b/skills/game_cooperative_skill/service_configs/game-cooperative-skill/service.yml @@ -0,0 +1,38 @@ +name: game-cooperative-skill +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8068 + SERVICE_NAME: game_cooperative_skill + FLASK_APP: server + context: . + dockerfile: ./skills/game_cooperative_skill/Dockerfile + command: flask run -h 0.0.0.0 -p 8068 + environment: + - FLASK_APP=server + deploy: + resources: + limits: + memory: 256M + reservations: + memory: 256M + volumes: + - ./skills/game_cooperative_skill:/src + - ./common:/src/common + ports: + - 8068:8068 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8068 + - PORT=8068 diff --git a/skills/harvesters_maintenance_gobot_skill_deepy/component.yml b/skills/harvesters_maintenance_gobot_skill_deepy/component.yml deleted file mode 100644 index 303359028f..0000000000 --- a/skills/harvesters_maintenance_gobot_skill_deepy/component.yml +++ /dev/null @@ -1,19 +0,0 @@ -harvesters-maintenance-gobot-skill: - name: harvesters_maintenance_gobot_skill - display_name: Harvesters Maintenance Gobot Skill - container_name: harvesters-maintenance-gobot-skill - component_type: Script-based w/o NNs - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: Harvesters maintenance Goal-oriented skill - ram_usage: 100M - gpu_usage: null - port: 3882 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: '3882' - SERVICE_NAME: harvesters_maintenance_gobot_skill - date_created: '2023-03-16T09:45:32' diff --git a/skills/harvesters_maintenance_gobot_skill_deepy/pipeline.yml b/skills/harvesters_maintenance_gobot_skill_deepy/pipeline.yml deleted file mode 100644 index 5c017e7b59..0000000000 --- a/skills/harvesters_maintenance_gobot_skill_deepy/pipeline.yml +++ /dev/null @@ -1,10 +0,0 @@ -harvesters-maintenance-gobot-skill: -- group: skills - connector: - protocol: http - url: http://harvesters-maintenance-gobot-skill:3882/respond - dialog_formatter: state_formatters.dp_formatters:full_dialog - response_formatter: state_formatters.dp_formatters:base_skill_formatter - previous_services: - - annotators - state_manager_method: add_hypothesis diff --git a/skills/harvesters_maintenance_gobot_skill_deepy/service_configs/harvesters-maintenance-gobot-skill/environment.yml b/skills/harvesters_maintenance_gobot_skill_deepy/service_configs/harvesters-maintenance-gobot-skill/environment.yml new file mode 100644 index 0000000000..e69de29bb2 diff --git a/skills/harvesters_maintenance_gobot_skill_deepy/service_configs/harvesters-maintenance-gobot-skill/service.yml b/skills/harvesters_maintenance_gobot_skill_deepy/service_configs/harvesters-maintenance-gobot-skill/service.yml new file mode 100644 index 0000000000..104263d184 --- /dev/null +++ b/skills/harvesters_maintenance_gobot_skill_deepy/service_configs/harvesters-maintenance-gobot-skill/service.yml @@ -0,0 +1,10 @@ +name: harvesters-maintenance-gobot-skill +endpoints: +- respond +compose: + build: + context: skills/harvesters_maintenance_gobot_skill_deepy + command: gunicorn --workers=1 server:app -b 0.0.0.0:3882 --timeout=1000 + ports: + - 3882:3882 +proxy: null diff --git a/skills/harvesters_maintenance_skill_deepy/component.yml b/skills/harvesters_maintenance_skill_deepy/component.yml deleted file mode 100644 index 06b5e6921d..0000000000 --- a/skills/harvesters_maintenance_skill_deepy/component.yml +++ /dev/null @@ -1,19 +0,0 @@ -harvesters-maintenance-skill: - name: harvesters_maintenance_skill - display_name: Harvesters Maintenance Skill - container_name: harvesters-maintenance-skill - component_type: Script-based w/o NNs - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: Harvesters maintenance skill - ram_usage: 100M - gpu_usage: null - port: 3662 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: '3662' - SERVICE_NAME: harvesters_maintenance_skill - date_created: '2023-03-16T09:45:32' diff --git a/skills/harvesters_maintenance_skill_deepy/pipeline.yml b/skills/harvesters_maintenance_skill_deepy/pipeline.yml deleted file mode 100644 index 2a22c12b9d..0000000000 --- a/skills/harvesters_maintenance_skill_deepy/pipeline.yml +++ /dev/null @@ -1,10 +0,0 @@ -harvesters-maintenance-skill: -- group: skills - connector: - protocol: http - url: http://harvesters-maintenance-skill:3662/respond - dialog_formatter: state_formatters.dp_formatters:full_dialog - response_formatter: state_formatters.dp_formatters:base_skill_formatter - previous_services: - - annotators - state_manager_method: add_hypothesis diff --git a/skills/harvesters_maintenance_skill_deepy/service_configs/harvesters-maintenance-skill/environment.yml b/skills/harvesters_maintenance_skill_deepy/service_configs/harvesters-maintenance-skill/environment.yml new file mode 100644 index 0000000000..e69de29bb2 diff --git a/skills/harvesters_maintenance_skill_deepy/service_configs/harvesters-maintenance-skill/service.yml b/skills/harvesters_maintenance_skill_deepy/service_configs/harvesters-maintenance-skill/service.yml new file mode 100644 index 0000000000..792f0aebb0 --- /dev/null +++ b/skills/harvesters_maintenance_skill_deepy/service_configs/harvesters-maintenance-skill/service.yml @@ -0,0 +1,11 @@ +name: harvesters-maintenance-skill +endpoints: +- respond +compose: + build: + context: skills/harvesters_maintenance_skill_deepy + command: gunicorn --workers=1 server:app -b 0.0.0.0:3662 + volumes: [] + ports: + - 3662:3662 +proxy: null diff --git a/skills/knowledge_grounding_skill/component.yml b/skills/knowledge_grounding_skill/component.yml deleted file mode 100644 index 7927a9840b..0000000000 --- a/skills/knowledge_grounding_skill/component.yml +++ /dev/null @@ -1,20 +0,0 @@ -knowledge-grounding-skill: - name: knowledge_grounding_skill - display_name: Knowledge Grounding Skill - container_name: knowledge-grounding-skill - component_type: Script-based with NNs - model_type: NN-based - is_customizable: false - author: DeepPavlov - description: generates a response based on the dialogue history and provided knowledge - related to the current conversation topic - ram_usage: 100M - gpu_usage: null - port: 8085 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8085 - SERVICE_NAME: knowledge_grounding_skill - date_created: '2023-03-16T09:45:32' diff --git a/skills/knowledge_grounding_skill/pipeline.yml b/skills/knowledge_grounding_skill/pipeline.yml deleted file mode 100644 index 48a9225fd0..0000000000 --- a/skills/knowledge_grounding_skill/pipeline.yml +++ /dev/null @@ -1,11 +0,0 @@ -knowledge-grounding-skill: -- group: skills - connector: - protocol: http - timeout: 2.0 - url: http://knowledge-grounding-skill:8085/respond - dialog_formatter: state_formatters.dp_formatters:utt_sentseg_punct_dialog - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis diff --git a/skills/knowledge_grounding_skill/service_configs/knowledge-grounding-skill/environment.yml b/skills/knowledge_grounding_skill/service_configs/knowledge-grounding-skill/environment.yml new file mode 100644 index 0000000000..9a8afcaa4a --- /dev/null +++ b/skills/knowledge_grounding_skill/service_configs/knowledge-grounding-skill/environment.yml @@ -0,0 +1,4 @@ +SERVICE_PORT: 8085 +SERVICE_NAME: knowledge_grounding_skill +CUDA_VISIBLE_DEVICES: '''''' +FLASK_APP: server diff --git a/skills/knowledge_grounding_skill/service_configs/knowledge-grounding-skill/service.yml b/skills/knowledge_grounding_skill/service_configs/knowledge-grounding-skill/service.yml new file mode 100644 index 0000000000..91c4bffbcd --- /dev/null +++ b/skills/knowledge_grounding_skill/service_configs/knowledge-grounding-skill/service.yml @@ -0,0 +1,40 @@ +name: knowledge-grounding-skill +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8085 + SERVICE_NAME: knowledge_grounding_skill + CUDA_VISIBLE_DEVICES: '''''' + FLASK_APP: server + context: . + dockerfile: ./skills/knowledge_grounding_skill/Dockerfile + command: python -m flask run -h 0.0.0.0 -p 8085 + environment: + - CUDA_VISIBLE_DEVICES='' + - FLASK_APP=server + deploy: + resources: + limits: + memory: 200M + reservations: + memory: 200M + volumes: + - ./common:/src/common + - ./skills/knowledge_grounding_skill:/src + ports: + - 8085:8085 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8085 + - PORT=8085 diff --git a/skills/meta_script_skill/component.yml b/skills/meta_script_skill/component.yml deleted file mode 100644 index 17a90ce4a4..0000000000 --- a/skills/meta_script_skill/component.yml +++ /dev/null @@ -1,22 +0,0 @@ -meta-script-skill: - name: comet_dialog_skill - display_name: Comet Dialog skill - container_name: meta-script-skill - component_type: Script-based w/o NNs - model_type: ML-based - is_customizable: false - author: DeepPavlov - description: uses COMeT ConceptNet model to express an opinion, to ask a question - or give a comment about user's actions mentioned in the dialogue - ram_usage: 300M - gpu_usage: null - port: 8054 - endpoints: - - group: skills - endpoint: meta_script - - group: skills - endpoint: comet_dialog - build_args: - SERVICE_PORT: '8054' - SERVICE_NAME: comet_dialog_skill - date_created: '2023-03-16T09:45:32' diff --git a/skills/meta_script_skill/pipeline.yml b/skills/meta_script_skill/pipeline.yml deleted file mode 100644 index 583e17180b..0000000000 --- a/skills/meta_script_skill/pipeline.yml +++ /dev/null @@ -1,21 +0,0 @@ -meta-script-skill: -- group: skills - connector: - protocol: http - timeout: 2.0 - url: http://meta-script-skill:8054/meta_script - dialog_formatter: state_formatters.dp_formatters:utt_sentseg_punct_dialog - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis -- group: skills - connector: - protocol: http - timeout: 2.0 - url: http://meta-script-skill:8054/comet_dialog - dialog_formatter: state_formatters.dp_formatters:utt_sentrewrite_modified_last_dialog - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis diff --git a/skills/meta_script_skill/service_configs/meta-script-skill/environment.yml b/skills/meta_script_skill/service_configs/meta-script-skill/environment.yml new file mode 100644 index 0000000000..904b25d807 --- /dev/null +++ b/skills/meta_script_skill/service_configs/meta-script-skill/environment.yml @@ -0,0 +1 @@ +FLASK_APP: server diff --git a/skills/meta_script_skill/service_configs/meta-script-skill/service.yml b/skills/meta_script_skill/service_configs/meta-script-skill/service.yml new file mode 100644 index 0000000000..bd4258b4a4 --- /dev/null +++ b/skills/meta_script_skill/service_configs/meta-script-skill/service.yml @@ -0,0 +1,35 @@ +name: meta-script-skill +endpoints: +- meta_script +- comet_dialog +compose: + env_file: + - .env + build: + context: . + dockerfile: skills/meta_script_skill/Dockerfile + command: flask run -h 0.0.0.0 -p 8054 + environment: + - FLASK_APP=server + deploy: + resources: + limits: + memory: 256M + reservations: + memory: 256M + volumes: + - ./skills/meta_script_skill:/src + - ./common:/src/common + ports: + - 8054:8054 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8054 + - PORT=8054 diff --git a/skills/misheard_asr/component.yml b/skills/misheard_asr/component.yml deleted file mode 100644 index 88737783e3..0000000000 --- a/skills/misheard_asr/component.yml +++ /dev/null @@ -1,20 +0,0 @@ -misheard-asr: - name: misheard_asr - display_name: Misheard ASR - container_name: misheard-asr - component_type: Script-based w/o NNs - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: uses the ASR Processor annotations to give feedback to the user when - ASR confidence is too low - ram_usage: 100M - gpu_usage: null - port: 8033 - endpoints: - - group: skills - endpoint: misheard_respond - build_args: - SERVICE_PORT: '8033' - SERVICE_NAME: misheard_asr - date_created: '2023-03-16T09:45:32' diff --git a/skills/misheard_asr/pipeline.yml b/skills/misheard_asr/pipeline.yml deleted file mode 100644 index 8b6731bbab..0000000000 --- a/skills/misheard_asr/pipeline.yml +++ /dev/null @@ -1,11 +0,0 @@ -misheard-asr: -- group: skills - connector: - protocol: http - timeout: 2.0 - url: http://misheard-asr:8033/misheard_respond - dialog_formatter: state_formatters.dp_formatters:utt_sentrewrite_modified_last_dialog - response_formatter: state_formatters.dp_formatters:misheard_asr_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis diff --git a/skills/misheard_asr/service_configs/misheard-asr/environment.yml b/skills/misheard_asr/service_configs/misheard-asr/environment.yml new file mode 100644 index 0000000000..904b25d807 --- /dev/null +++ b/skills/misheard_asr/service_configs/misheard-asr/environment.yml @@ -0,0 +1 @@ +FLASK_APP: server diff --git a/skills/misheard_asr/service_configs/misheard-asr/service.yml b/skills/misheard_asr/service_configs/misheard-asr/service.yml new file mode 100644 index 0000000000..9bd0dd632b --- /dev/null +++ b/skills/misheard_asr/service_configs/misheard-asr/service.yml @@ -0,0 +1,34 @@ +name: misheard-asr +endpoints: +- misheard_respond +compose: + env_file: + - .env + build: + context: . + dockerfile: ./skills/misheard_asr/Dockerfile + command: flask run -h 0.0.0.0 -p 8033 + environment: + - FLASK_APP=server + deploy: + resources: + limits: + memory: 128M + reservations: + memory: 128M + volumes: + - ./skills/misheard_asr:/src + - ./common:/src/common + ports: + - 8033:8033 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8033 + - PORT=8033 diff --git a/skills/news_api_skill/component.yml b/skills/news_api_skill/component.yml deleted file mode 100644 index e5a5a00d1f..0000000000 --- a/skills/news_api_skill/component.yml +++ /dev/null @@ -1,20 +0,0 @@ -news-api-skill: - name: news_api_skill - display_name: News API Skill - container_name: news-api-skill - component_type: Script-based w/o NNs - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: presents the top-rated latest news about entities or topics using the - GNews API - ram_usage: 100M - gpu_usage: null - port: 8066 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: 8066 - SERVICE_NAME: news_api_skill - date_created: '2023-03-16T09:45:32' diff --git a/skills/news_api_skill/pipeline.yml b/skills/news_api_skill/pipeline.yml deleted file mode 100644 index 915e0b260f..0000000000 --- a/skills/news_api_skill/pipeline.yml +++ /dev/null @@ -1,11 +0,0 @@ -news-api-skill: -- group: skills - connector: - protocol: http - timeout: 2.0 - url: http://news-api-skill:8066/respond - dialog_formatter: state_formatters.dp_formatters:utt_sentrewrite_modified_last_dialog - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis diff --git a/skills/news_api_skill/service_configs/news-api-skill/environment.yml b/skills/news_api_skill/service_configs/news-api-skill/environment.yml new file mode 100644 index 0000000000..09d7c1d86d --- /dev/null +++ b/skills/news_api_skill/service_configs/news-api-skill/environment.yml @@ -0,0 +1,3 @@ +SERVICE_PORT: 8066 +SERVICE_NAME: news_api_skill +FLASK_APP: server diff --git a/skills/news_api_skill/service_configs/news-api-skill/service.yml b/skills/news_api_skill/service_configs/news-api-skill/service.yml new file mode 100644 index 0000000000..0f9ab1b863 --- /dev/null +++ b/skills/news_api_skill/service_configs/news-api-skill/service.yml @@ -0,0 +1,38 @@ +name: news-api-skill +endpoints: +- respond +compose: + env_file: + - .env + build: + args: + SERVICE_PORT: 8066 + SERVICE_NAME: news_api_skill + FLASK_APP: server + context: . + dockerfile: ./skills/news_api_skill/Dockerfile + environment: + - FLASK_APP=server + command: flask run -h 0.0.0.0 -p 8066 + deploy: + resources: + limits: + memory: 128M + reservations: + memory: 128M + volumes: + - ./skills/news_api_skill:/src + - ./common:/src/common + ports: + - 8066:8066 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8066 + - PORT=8066 diff --git a/skills/personal_info_skill/component.yml b/skills/personal_info_skill/component.yml deleted file mode 100644 index ac099f03ab..0000000000 --- a/skills/personal_info_skill/component.yml +++ /dev/null @@ -1,39 +0,0 @@ -personal-info-ru-skill: - name: personal_info_skill - display_name: Personal Info Skill - container_name: personal-info-ru-skill - component_type: Script-based w/o NNs - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: queries and stores user's name, birthplace, and location - ram_usage: 100M - gpu_usage: null - port: 8030 - endpoints: - - group: skills - endpoint: respond - build_args: - LANGUAGE: RU - SERVICE_PORT: '8030' - SERVICE_NAME: personal_info_skill - date_created: '2023-03-16T09:45:32' -personal-info-skill: - name: personal_info_skill - display_name: Personal Info Skill - container_name: personal-info-skill - component_type: Script-based w/o NNs - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: queries and stores user's name, birthplace, and location - ram_usage: 100M - gpu_usage: null - port: 8030 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: '8030' - SERVICE_NAME: personal_info_skill - date_created: '2023-03-16T09:45:32' diff --git a/skills/personal_info_skill/pipeline.yml b/skills/personal_info_skill/pipeline.yml deleted file mode 100644 index 6fd44c581c..0000000000 --- a/skills/personal_info_skill/pipeline.yml +++ /dev/null @@ -1,22 +0,0 @@ -personal-info-skill: -- group: skills - connector: - protocol: http - timeout: 2.0 - url: http://personal-info-skill:8030/respond - dialog_formatter: state_formatters.dp_formatters:utt_sentseg_punct_dialog - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis -personal-info-ru-skill: -- group: skills - connector: - protocol: http - timeout: 2.0 - url: http://personal-info-ru-skill:8030/respond - dialog_formatter: state_formatters.dp_formatters:utt_sentseg_punct_dialog - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis diff --git a/skills/personal_info_skill/service_configs/personal-info-ru-skill/environment.yml b/skills/personal_info_skill/service_configs/personal-info-ru-skill/environment.yml new file mode 100644 index 0000000000..c9e64f7c94 --- /dev/null +++ b/skills/personal_info_skill/service_configs/personal-info-ru-skill/environment.yml @@ -0,0 +1,2 @@ +LANGUAGE: RU +FLASK_APP: server diff --git a/skills/personal_info_skill/service_configs/personal-info-ru-skill/service.yml b/skills/personal_info_skill/service_configs/personal-info-ru-skill/service.yml new file mode 100644 index 0000000000..8482c4447f --- /dev/null +++ b/skills/personal_info_skill/service_configs/personal-info-ru-skill/service.yml @@ -0,0 +1,27 @@ +name: personal-info-ru-skill +endpoints: +- respond +compose: + env_file: + - .env_ru + build: + context: . + dockerfile: ./skills/personal_info_skill/Dockerfile + args: + LANGUAGE: RU + FLASK_APP: server + command: flask run -h 0.0.0.0 -p 8030 + environment: + - FLASK_APP=server + deploy: + resources: + limits: + memory: 128M + reservations: + memory: 128M + volumes: + - ./skills/personal_info_skill:/src + - ./common:/src/common + ports: + - 8030:8030 +proxy: null diff --git a/skills/personal_info_skill/service_configs/personal-info-skill/environment.yml b/skills/personal_info_skill/service_configs/personal-info-skill/environment.yml new file mode 100644 index 0000000000..904b25d807 --- /dev/null +++ b/skills/personal_info_skill/service_configs/personal-info-skill/environment.yml @@ -0,0 +1 @@ +FLASK_APP: server diff --git a/skills/personal_info_skill/service_configs/personal-info-skill/service.yml b/skills/personal_info_skill/service_configs/personal-info-skill/service.yml new file mode 100644 index 0000000000..2abd0958e1 --- /dev/null +++ b/skills/personal_info_skill/service_configs/personal-info-skill/service.yml @@ -0,0 +1,34 @@ +name: personal-info-skill +endpoints: +- respond +compose: + env_file: + - .env + build: + context: . + dockerfile: ./skills/personal_info_skill/Dockerfile + command: flask run -h 0.0.0.0 -p 8030 + environment: + - FLASK_APP=server + deploy: + resources: + limits: + memory: 128M + reservations: + memory: 128M + volumes: + - ./skills/personal_info_skill:/src + - ./common:/src/common + ports: + - 8030:8030 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8030 + - PORT=8030 diff --git a/skills/personality_catcher/component.yml b/skills/personality_catcher/component.yml deleted file mode 100644 index 99030817c1..0000000000 --- a/skills/personality_catcher/component.yml +++ /dev/null @@ -1,21 +0,0 @@ -personality-catcher: - name: personality_catcher - display_name: Personality Catcher - container_name: personality-catcher - component_type: Script-based w/o NNs - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: the skill is to change the system's personality description - via chatting interface, it works as a system command, - the response is system-like message - ram_usage: 100M - gpu_usage: null - port: 8010 - endpoints: - - group: skills - endpoint: personality_catcher - build_args: - SERVICE_PORT: '8010' - SERVICE_NAME: personality_catcher - date_created: '2023-03-16T09:45:32' diff --git a/skills/personality_catcher/pipeline.yml b/skills/personality_catcher/pipeline.yml deleted file mode 100644 index 5dc713e4b9..0000000000 --- a/skills/personality_catcher/pipeline.yml +++ /dev/null @@ -1,11 +0,0 @@ -personality-catcher: -- group: skills - connector: - protocol: http - timeout: 2.0 - url: http://personality-catcher:8010/personality_catcher - dialog_formatter: state_formatters.dp_formatters:personality_catcher_formatter_dialog - response_formatter: state_formatters.dp_formatters:personality_catcher_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis diff --git a/skills/personality_catcher/service_configs/personality-catcher/environment.yml b/skills/personality_catcher/service_configs/personality-catcher/environment.yml new file mode 100644 index 0000000000..e69de29bb2 diff --git a/skills/personality_catcher/service_configs/personality-catcher/service.yml b/skills/personality_catcher/service_configs/personality-catcher/service.yml new file mode 100644 index 0000000000..391f03182c --- /dev/null +++ b/skills/personality_catcher/service_configs/personality-catcher/service.yml @@ -0,0 +1,30 @@ +name: personality-catcher +endpoints: +- personality_catcher +compose: + env_file: + - .env + build: + context: ./skills/personality_catcher/ + command: uvicorn server:app --host 0.0.0.0 --port 8010 + deploy: + resources: + limits: + memory: 100M + reservations: + memory: 100M + volumes: + - ./skills/personality_catcher:/app + ports: + - 8010:8010 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8010 + - PORT=8010 diff --git a/skills/small_talk_skill/component.yml b/skills/small_talk_skill/component.yml deleted file mode 100644 index 19665a5702..0000000000 --- a/skills/small_talk_skill/component.yml +++ /dev/null @@ -1,20 +0,0 @@ -small-talk-skill: - name: small_talk_skill - display_name: Small Talk Skill - container_name: small-talk-skill - component_type: Script-based w/o NNs - model_type: Dictionary/Pattern-based - is_customizable: false - author: DeepPavlov - description: asks questions using the hand-written scripts for 25 topics, including - but not limited to love, sports, work, pets, etc. - ram_usage: 100M - gpu_usage: null - port: 8062 - endpoints: - - group: skills - endpoint: respond - build_args: - SERVICE_PORT: '8062' - SERVICE_NAME: small_talk_skill - date_created: '2023-03-16T09:45:32' diff --git a/skills/small_talk_skill/pipeline.yml b/skills/small_talk_skill/pipeline.yml deleted file mode 100644 index c92a6c026d..0000000000 --- a/skills/small_talk_skill/pipeline.yml +++ /dev/null @@ -1,11 +0,0 @@ -small-talk-skill: -- group: skills - connector: - protocol: http - timeout: 2.0 - url: http://small-talk-skill:8062/respond - dialog_formatter: state_formatters.dp_formatters:utt_sentseg_punct_dialog - response_formatter: state_formatters.dp_formatters:skill_with_attributes_formatter_service - previous_services: - - skill_selectors - state_manager_method: add_hypothesis diff --git a/skills/small_talk_skill/service_configs/small-talk-skill/environment.yml b/skills/small_talk_skill/service_configs/small-talk-skill/environment.yml new file mode 100644 index 0000000000..904b25d807 --- /dev/null +++ b/skills/small_talk_skill/service_configs/small-talk-skill/environment.yml @@ -0,0 +1 @@ +FLASK_APP: server diff --git a/skills/small_talk_skill/service_configs/small-talk-skill/service.yml b/skills/small_talk_skill/service_configs/small-talk-skill/service.yml new file mode 100644 index 0000000000..84a94c27dd --- /dev/null +++ b/skills/small_talk_skill/service_configs/small-talk-skill/service.yml @@ -0,0 +1,34 @@ +name: small-talk-skill +endpoints: +- respond +compose: + env_file: + - .env + build: + context: . + dockerfile: ./skills/small_talk_skill/Dockerfile + command: flask run -h 0.0.0.0 -p 8062 + environment: + - FLASK_APP=server + deploy: + resources: + limits: + memory: 100M + reservations: + memory: 100M + volumes: + - ./skills/small_talk_skill:/src + - ./common:/src/common + ports: + - 8062:8062 +proxy: + command: + - nginx + - -g + - daemon off; + build: + context: dp/proxy/ + dockerfile: Dockerfile + environment: + - PROXY_PASS=dream.deeppavlov.ai:8062 + - PORT=8062 diff --git a/state_formatters/dp_formatters.py b/state_formatters/dp_formatters.py index b05a54b5e2..bba2afa085 100755 --- a/state_formatters/dp_formatters.py +++ b/state_formatters/dp_formatters.py @@ -1006,141 +1006,6 @@ def dff_image_skill_formatter(dialog: Dict) -> List[Dict]: return utils.dff_formatter(dialog, "dff_image_skill") -def dff_ai_faq_prompted_skill_formatter(dialog): - return utils.dff_formatter( - dialog, - "dff_ai_faq_prompted_skill", - bot_last_turns=5, - types_utterances=["human_utterances", "bot_utterances", "utterances"], - wanted_keys=["text", "annotations", "active_skill", "user", "attributes"], - ) - - -def dff_fashion_stylist_prompted_skill_formatter(dialog): - return utils.dff_formatter( - dialog, - "dff_fashion_stylist_prompted_skill", - bot_last_turns=5, - types_utterances=["human_utterances", "bot_utterances", "utterances"], - wanted_keys=["text", "annotations", "active_skill", "user", "attributes"], - ) - - -def dff_dream_persona_prompted_skill_formatter(dialog): - return utils.dff_formatter( - dialog, - "dff_dream_persona_prompted_skill", - bot_last_turns=5, - types_utterances=["human_utterances", "bot_utterances", "utterances"], - wanted_keys=["text", "annotations", "active_skill", "user", "attributes"], - ) - - -def dff_dream_persona_ru_prompted_skill_formatter(dialog): - return utils.dff_formatter( - dialog, - "dff_dream_persona_ru_prompted_skill", - bot_last_turns=5, - types_utterances=["human_utterances", "bot_utterances", "utterances"], - wanted_keys=["text", "annotations", "active_skill", "user", "attributes"], - ) - - -def dff_marketing_prompted_skill_formatter(dialog): - return utils.dff_formatter( - dialog, - "dff_marketing_prompted_skill", - bot_last_turns=5, - types_utterances=["human_utterances", "bot_utterances", "utterances"], - wanted_keys=["text", "annotations", "active_skill", "user", "attributes"], - ) - - -def dff_fairytale_prompted_skill_formatter(dialog): - return utils.dff_formatter( - dialog, - "dff_fairytale_prompted_skill", - bot_last_turns=5, - types_utterances=["human_utterances", "bot_utterances", "utterances"], - wanted_keys=["text", "annotations", "active_skill", "user", "attributes"], - ) - - -def dff_nutrition_prompted_skill_formatter(dialog): - return utils.dff_formatter( - dialog, - "dff_nutrition_prompted_skill", - bot_last_turns=5, - types_utterances=["human_utterances", "bot_utterances", "utterances"], - wanted_keys=["text", "annotations", "active_skill", "user", "attributes"], - ) - - -def dff_life_coaching_prompted_skill_formatter(dialog): - return utils.dff_formatter( - dialog, - "dff_life_coaching_prompted_skill", - bot_last_turns=5, - types_utterances=["human_utterances", "bot_utterances", "utterances"], - wanted_keys=["text", "annotations", "active_skill", "user", "attributes"], - ) - - -def dff_deepy_prompted_skill_formatter(dialog): - return utils.dff_formatter( - dialog, - "dff_deepy_prompted_skill", - bot_last_turns=5, - types_utterances=["human_utterances", "bot_utterances", "utterances"], - wanted_keys=["text", "annotations", "active_skill", "user", "attributes"], - ) - - -def dff_deeppavlov_prompted_skill_formatter(dialog): - return utils.dff_formatter( - dialog, - "dff_deeppavlov_prompted_skill", - types_utterances=["human_utterances", "bot_utterances", "utterances"], - wanted_keys=["text", "annotations", "active_skill", "user", "attributes"], - ) - - -def dff_casual_email_prompted_skill_formatter(dialog): - return utils.dff_formatter( - dialog, - "dff_casual_email_prompted_skill", - types_utterances=["human_utterances", "bot_utterances", "utterances"], - wanted_keys=["text", "annotations", "active_skill", "user", "attributes"], - ) - - -def dff_meeting_notes_prompted_skill_formatter(dialog): - return utils.dff_formatter( - dialog, - "dff_meeting_notes_prompted_skill", - types_utterances=["human_utterances", "bot_utterances", "utterances"], - wanted_keys=["text", "annotations", "active_skill", "user", "attributes"], - ) - - -def dff_official_email_prompted_skill_formatter(dialog): - return utils.dff_formatter( - dialog, - "dff_official_email_prompted_skill", - types_utterances=["human_utterances", "bot_utterances", "utterances"], - wanted_keys=["text", "annotations", "active_skill", "user", "attributes"], - ) - - -def dff_plan_for_article_prompted_skill_formatter(dialog): - return utils.dff_formatter( - dialog, - "dff_plan_for_article_prompted_skill", - types_utterances=["human_utterances", "bot_utterances", "utterances"], - wanted_keys=["text", "annotations", "active_skill", "user", "attributes"], - ) - - def dff_prompted_skill_formatter(dialog, skill_name=None): return utils.dff_formatter( dialog,