From a0a451a21e692f6b817da83ae54e6896954ecabc Mon Sep 17 00:00:00 2001 From: Anna Korzanova Date: Mon, 11 Dec 2023 15:42:53 +0300 Subject: [PATCH] fix: prop-ex component card * changes reflected in pipelines in dream_kg and dream_kg_prompted --- assistant_dists/dream_kg/pipeline_conf.json | 2 +- .../dream_kg_prompted/pipeline_conf.json | 2 +- components/wM5Hf4GVelUr2s8vrTBtaS.yml | 24 +++++++++++++++++++ 3 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 components/wM5Hf4GVelUr2s8vrTBtaS.yml diff --git a/assistant_dists/dream_kg/pipeline_conf.json b/assistant_dists/dream_kg/pipeline_conf.json index 62d850be68..b5899ca660 100644 --- a/assistant_dists/dream_kg/pipeline_conf.json +++ b/assistant_dists/dream_kg/pipeline_conf.json @@ -154,7 +154,7 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "component": "components/7v330b9odypuiugqeiuqij.yml", + "component": "components/wM5Hf4GVelUr2s8vrTBtaS.yml", "service": "annotators/property_extraction/service_configs/property-extraction" } }, diff --git a/assistant_dists/dream_kg_prompted/pipeline_conf.json b/assistant_dists/dream_kg_prompted/pipeline_conf.json index b9a1e787b4..495bad5703 100644 --- a/assistant_dists/dream_kg_prompted/pipeline_conf.json +++ b/assistant_dists/dream_kg_prompted/pipeline_conf.json @@ -214,7 +214,7 @@ "state_manager_method": "add_annotation", "is_enabled": true, "source": { - "component": "components/7v330b9odypuiugqeiuqij.yml", + "component": "components/wM5Hf4GVelUr2s8vrTBtaS.yml", "service": "annotators/property_extraction/service_configs/property-extraction" } }, diff --git a/components/wM5Hf4GVelUr2s8vrTBtaS.yml b/components/wM5Hf4GVelUr2s8vrTBtaS.yml new file mode 100644 index 0000000000..6fb089acf5 --- /dev/null +++ b/components/wM5Hf4GVelUr2s8vrTBtaS.yml @@ -0,0 +1,24 @@ +name: property_extraction +display_name: Property Extraction +component_type: null +model_type: NN-based +is_customizable: false +author: publisher@deeppavlov.ai +description: extracts user attributes from utterances into a structured RDF triplets +ram_usage: 9G +gpu_usage: 2G +group: annotators +connector: + protocol: http + url: http://property-extraction:8136/respond +dialog_formatter: state_formatters.dp_formatters:property_extraction_formatter_dialog +response_formatter: state_formatters.dp_formatters:simple_formatter_service +previous_services: +- annotators.ner +- annotators.entity_linking +required_previous_services: null +state_manager_method: add_annotation +tags: null +endpoint: respond +service: annotators/property_extraction/service_configs/property-extraction +date_created: '2023-12-11T13:45:33'