GenaiClassSummaryGenerationDefinition class
The GenaiClassSummaryGenerationDefinition class is a subclass of the
ReplicableClassDefinition class. The class defines custom summary generation
attributes for a document class.
The following are the property templates of the
For more information, see the topic Creating a summary prompt template for a document class
.
GenaiClassSummaryGenerationDefinition class:
| Property | Data type | Description |
|---|---|---|
GenaiSummaryPromptClass |
Object | The property contains the object reference of the document subclass for which you want to define a summary prompt template. |
GenaiLLMDocSummaryPromptTemplate |
String | The property defines the custom summary prompt template. |
GenaiMaxSummaryWords |
Integer | The property defines the maximum number of words that can be included in the summary that watsonx.ai generates. |