π Convert With Implicit KeysΒΆ
templates.targeted_sentiment_extraction.as_json.convert_with_implicit_keys
SpanLabelingJsonTemplate(
input_format="From the following {text_type}, extract entities having a sentiment: positive, negative, neutral. Output JSON format in a single line, with the sentiment types as keys
{text_type}: {text}",
)
[source]Read more about catalog usage here.