Skip to content

Commit e4c6f51

Browse files
authored
Update summarization-processor.md
Added caution note on the security of the LLM output.
1 parent 2045a6b commit e4c6f51

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libraries/radpdfprocessing/features/gen-ai-powered-document-insights/summarization-processor.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ The **SummarizationProcessor** class enables you to generate concise summaries o
3737
|---|---|
3838
|**EventHandler<SummaryResourcesCalculatedEventArgs> SummaryResourcesCalculated**|Triggered before the actual summarization process begins, providing information about the estimated resource usage. The **SummaryResourcesCalculatedEventArgs** provides properties: **EstimatedCallsRequired** (number of API calls required), **EstimatedTokensRequired** (number of tokens to be processed), and **ShouldContinueExecution** (boolean flag indicating whether to proceed with summarization, default is **true** for single-call and **false** for multi-call operations).|
3939

40+
>caution **Security Warning:** The output produced by this API is generated by a Large Language Model (LLM). As such, the content should be considered untrusted and may include unexpected or unsafe data. It is strongly recommended to properly sanitize or encode all output before displaying it in a user interface, logging, or using it in any security-sensitive context.
41+
4042
## SummarizationProcessorSettings
4143

4244
The **SummarizationProcessorSettings** class provides configuration options for the summarization process:

0 commit comments

Comments
 (0)