ParagraphHighlight#
- class ParagraphHighlight#
paragraph_highlight | Highlight a specific paragraph that has been been processed by the Paragraph Embedding step given its ID. Additionally its possible to highlight only the sentence that contains the given span.
- pydantic model PluginConfig#
- Fields:
end (int)
id (str)
relevant_tokens (list[str] | None)
sentence_splitting_max_merge_length (int)
sentence_splitting_min_length (int)
start (int)
-
PluginConfig.plugin_name:
ClassVar
[str
] = 'paragraph_highlight'# Used to register and reference the plugin within a query.
-
field PluginConfig.relevant_tokens:
Optional
[list
[str
]] = []# Best Sentence Extraction: Comma separated list of relevant tokens that help to find the most relevant sentences within the paragraph