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
-
-
PluginConfig.plugin_name: ClassVar[str] = 'paragraph_highlight'
Used to register and reference the plugin within a query.
-
field PluginConfig.id: str [Required]
ID of the paragraph to highlight
-
field PluginConfig.start: int = 0
Best Sentence Extraction: Answer Span start within paragraph
-
field PluginConfig.end: int = 0
Best Sentence Extraction: Answer Span end within paragraph
-
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