Creating a summary prompt template for a document class
You can create a different summary prompt template for each document class in your object store.
Before you begin
If you plan to customize summary prompt templates, you need to first create a value for the
GenaiLLMDocumentSummaryPromptTemplate
property of the
GenaiConfiguration
class. This value is used as the prompt template value for any
document class that does not have a customized summary prompt template.
For more information, see the topic Editing the default prompt templates.
About this task
Sometimes, you may want to use a different summary prompt template for each document class in your object store. For example, the summary prompt template for an Invoice document contains different instructions compared to the prompt template for a Resume document.
The Content Assistant metadata
includes the GenaiClassSummaryGenerationDefinition
class for which you can create
instances and associate them with a document class. If you specify a custom summary prompt template
for a document class, it applies for that document class and the subclasses of the document class.
If you want a subclass to have a summary prompt template that is different from the parent class,
then you need to create a separate GenaiClassSummaryGenerationDefinition
instance
for the subclass.