Skip to content

/AWS1/CL_CNTEXTRACTIONCONF

The extraction configuration that defines how data is extracted from customer interactions.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_prompthint TYPE /AWS1/CNTEXTDEFNPROMPTHINT /AWS1/CNTEXTDEFNPROMPTHINT

The prompt hint that guides the extraction. This text tells the generative AI model what data to look for in the customer interaction.

Optional arguments:

io_notfoundbehavior TYPE REF TO /AWS1/CL_CNTEXTDEFNNOTFNDBEHAV /AWS1/CL_CNTEXTDEFNNOTFNDBEHAV

The behavior when the extraction cannot find the specified data in the interaction.


Queryable Attributes

PromptHint

The prompt hint that guides the extraction. This text tells the generative AI model what data to look for in the customer interaction.

Accessible with the following methods

Method Description
GET_PROMPTHINT() Getter for PROMPTHINT, with configurable default
ASK_PROMPTHINT() Getter for PROMPTHINT w/ exceptions if field has no value
HAS_PROMPTHINT() Determine if PROMPTHINT has a value

NotFoundBehavior

The behavior when the extraction cannot find the specified data in the interaction.

Accessible with the following methods

Method Description
GET_NOTFOUNDBEHAVIOR() Getter for NOTFOUNDBEHAVIOR