Class SummaryParams
java.lang.Object
com.oracle.database.selectai.model.SummaryParams
Typed parameters payload for
DBMS_CLOUD_AI.SUMMARIZE.
This model lets Java callers configure summarization without manually
constructing JSON. It serializes to the snake_case names expected by
DBMS_CLOUD_AI.SUMMARIZE.
This model represents the JSON payload supplied to the params
argument of DBMS_CLOUD_AI.SUMMARIZE. It serializes Java fields to
the snake_case names expected by the database, such as min_words,
max_words, summary_style,
chunk_processing_method, and extractiveness_level.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder forSummaryParams.static enumMethod used when the source content must be split into chunks.static enumDegree to which the generated summary follows source wording.static enumOutput format style for the generated summary. -
Method Summary
Modifier and TypeMethodDescriptionstatic SummaryParams.Builderbuilder()Creates a builder for summarize parameters.Returns the chunk processing method.Returns the chunk processing method enum.Returns the extractiveness level.Returns the extractiveness level enum.Returns the approximate maximum word count.Returns the approximate minimum word count.Returns the requested summary style.Returns the requested summary style enum.toJson()Serializes the parameters using DBMS_CLOUD_AI snake_case JSON names.
-
Method Details
-
builder
Creates a builder for summarize parameters.- Returns:
- new builder
-
getMinWords
Returns the approximate minimum word count.- Returns:
- minimum word count, or
nullwhen unset
-
getMaxWords
Returns the approximate maximum word count.- Returns:
- maximum word count, or
nullwhen unset
-
getSummaryStyle
Returns the requested summary style.- Returns:
- summary style, or
nullwhen unset
-
getSummaryStyleEnum
Returns the requested summary style enum.- Returns:
- summary style enum, or
nullwhen unset
-
getChunkProcessingMethod
Returns the chunk processing method.- Returns:
- chunk processing method, or
nullwhen unset
-
getChunkProcessingMethodEnum
Returns the chunk processing method enum.- Returns:
- chunk processing method enum, or
nullwhen unset
-
getExtractivenessLevel
Returns the extractiveness level.- Returns:
- extractiveness level, or
nullwhen unset
-
getExtractivenessLevelEnum
Returns the extractiveness level enum.- Returns:
- extractiveness level enum, or
nullwhen unset
-
toJson
Serializes the parameters using DBMS_CLOUD_AI snake_case JSON names.- Returns:
- JSON representation of this SummaryParams instance
-