πŸ“„ having_sentimentΒΆ

Note

ID: templates.targeted_sentiment_extraction.having_sentiment | Type: SpanLabelingTemplate

{
    "input_format": "From the following {text_type}, extract entities having a sentiment: positive, negative, neutral.\n{text_type}: {text}\n",
    "postprocessors": [
        "processors.to_span_label_pairs"
    ],
    "type": "span_labeling_template"
}

References: processors.to_span_label_pairs

Read more about catalog usage here.