/AWS1/IF_BDK=>CREATEEVALUATIONJOB()¶
About CreateEvaluationJob¶
Creates an evaluation job.
Method Signature¶
METHODS /AWS1/IF_BDK~CREATEEVALUATIONJOB
IMPORTING
!IV_JOBNAME TYPE /AWS1/BDKEVALUATIONJOBNAME OPTIONAL
!IV_JOBDESCRIPTION TYPE /AWS1/BDKEVALUATIONJOBDESC OPTIONAL
!IV_CLIENTREQUESTTOKEN TYPE /AWS1/BDKIDEMPOTENCYTOKEN OPTIONAL
!IV_ROLEARN TYPE /AWS1/BDKROLEARN OPTIONAL
!IV_CUSTOMERENCRYPTIONKEYID TYPE /AWS1/BDKKMSKEYID OPTIONAL
!IT_JOBTAGS TYPE /AWS1/CL_BDKTAG=>TT_TAGLIST OPTIONAL
!IV_APPLICATIONTYPE TYPE /AWS1/BDKAPPLICATIONTYPE OPTIONAL
!IO_EVALUATIONCONFIG TYPE REF TO /AWS1/CL_BDKEVALUATIONCONFIG OPTIONAL
!IO_INFERENCECONFIG TYPE REF TO /AWS1/CL_BDKEVALINFERENCECFG OPTIONAL
!IO_OUTPUTDATACONFIG TYPE REF TO /AWS1/CL_BDKEVALOUTPUTDATACFG OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_bdkcreateevaljobrsp
RAISING
/AWS1/CX_BDKACCESSDENIEDEX
/AWS1/CX_BDKCONFLICTEXCEPTION
/AWS1/CX_BDKINTERNALSERVEREX
/AWS1/CX_BDKRESOURCENOTFOUNDEX
/AWS1/CX_BDKSERVICEQUOTAEXCDEX
/AWS1/CX_BDKTHROTTLINGEX
/AWS1/CX_BDKVALIDATIONEX
/AWS1/CX_BDKCLIENTEXC
/AWS1/CX_BDKSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_jobname TYPE /AWS1/BDKEVALUATIONJOBNAME /AWS1/BDKEVALUATIONJOBNAME¶
A name for the evaluation job. Names must unique with your Amazon Web Services account, and your account's Amazon Web Services region.
iv_rolearn TYPE /AWS1/BDKROLEARN /AWS1/BDKROLEARN¶
The Amazon Resource Name (ARN) of an IAM service role that Amazon Bedrock can assume to perform tasks on your behalf. To learn more about the required permissions, see Required permissions for model evaluations.
io_evaluationconfig TYPE REF TO /AWS1/CL_BDKEVALUATIONCONFIG /AWS1/CL_BDKEVALUATIONCONFIG¶
Contains the configuration details of either an automated or human-based evaluation job.
io_inferenceconfig TYPE REF TO /AWS1/CL_BDKEVALINFERENCECFG /AWS1/CL_BDKEVALINFERENCECFG¶
Contains the configuration details of the inference model for the evaluation job.
For model evaluation jobs, automated jobs support a single model or inference profile, and jobs that use human workers support two models or inference profiles.
io_outputdataconfig TYPE REF TO /AWS1/CL_BDKEVALOUTPUTDATACFG /AWS1/CL_BDKEVALOUTPUTDATACFG¶
Contains the configuration details of the Amazon S3 bucket for storing the results of the evaluation job.
Optional arguments:¶
iv_jobdescription TYPE /AWS1/BDKEVALUATIONJOBDESC /AWS1/BDKEVALUATIONJOBDESC¶
A description of the evaluation job.
iv_clientrequesttoken TYPE /AWS1/BDKIDEMPOTENCYTOKEN /AWS1/BDKIDEMPOTENCYTOKEN¶
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
iv_customerencryptionkeyid TYPE /AWS1/BDKKMSKEYID /AWS1/BDKKMSKEYID¶
Specify your customer managed encryption key Amazon Resource Name (ARN) that will be used to encrypt your evaluation job.
it_jobtags TYPE /AWS1/CL_BDKTAG=>TT_TAGLIST TT_TAGLIST¶
Tags to attach to the model evaluation job.
iv_applicationtype TYPE /AWS1/BDKAPPLICATIONTYPE /AWS1/BDKAPPLICATIONTYPE¶
Specifies whether the evaluation job is for evaluating a model or evaluating a knowledge base (retrieval and response generation).
RETURNING¶
oo_output TYPE REF TO /aws1/cl_bdkcreateevaljobrsp /AWS1/CL_BDKCREATEEVALJOBRSP¶
Domain /AWS1/RT_ACCOUNT_ID Primitive Type NUMC
Examples¶
Syntax Example¶
This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.
DATA(lo_result) = lo_client->createevaluationjob(
io_evaluationconfig = new /aws1/cl_bdkevaluationconfig(
io_automated = new /aws1/cl_bdkautomatedevalcfg(
io_custommetricconfig = new /aws1/cl_bdkautomatedevalcus00(
io_evaluatormodelconfig = new /aws1/cl_bdkcustmetricevalua00(
it_bedrockevaluatormodels = VALUE /aws1/cl_bdkcustmetricbedroc00=>tt_custmetricbedrockevaluato00(
( new /aws1/cl_bdkcustmetricbedroc00( |string| ) )
)
)
it_custommetrics = VALUE /aws1/cl_bdkautomatedevalcus01=>tt_automatedevalcustommetrics(
(
new /aws1/cl_bdkautomatedevalcus01(
io_custommetricdefinition = new /aws1/cl_bdkcustommetricdefn(
it_ratingscale = VALUE /aws1/cl_bdkratingscaleitem=>tt_ratingscale(
(
new /aws1/cl_bdkratingscaleitem(
io_value = new /aws1/cl_bdkratingscaleitemval(
iv_floatvalue = '0.1'
iv_stringvalue = |string|
)
iv_definition = |string|
)
)
)
iv_instructions = |string|
iv_name = |string|
)
)
)
)
)
io_evaluatormodelconfig = new /aws1/cl_bdkevaluatormodelcfg(
it_bedrockevaluatormodels = VALUE /aws1/cl_bdkbedrockevaluator00=>tt_bedrockevaluatormodels(
( new /aws1/cl_bdkbedrockevaluator00( |string| ) )
)
)
it_datasetmetricconfigs = VALUE /aws1/cl_bdkevaldsmetricconfig=>tt_evaldatasetmetricconfigs(
(
new /aws1/cl_bdkevaldsmetricconfig(
io_dataset = new /aws1/cl_bdkevaluationdataset(
io_datasetlocation = new /aws1/cl_bdkevaldatasetloc( |string| )
iv_name = |string|
)
it_metricnames = VALUE /aws1/cl_bdkevalmetricnames_w=>tt_evaluationmetricnames(
( new /aws1/cl_bdkevalmetricnames_w( |string| ) )
)
iv_tasktype = |string|
)
)
)
)
io_human = new /aws1/cl_bdkhumanevalconfig(
io_humanworkflowconfig = new /aws1/cl_bdkhumanworkflowcfg(
iv_flowdefinitionarn = |string|
iv_instructions = |string|
)
it_custommetrics = VALUE /aws1/cl_bdkhumevalcustmetric=>tt_humanevalcustommetrics(
(
new /aws1/cl_bdkhumevalcustmetric(
iv_description = |string|
iv_name = |string|
iv_ratingmethod = |string|
)
)
)
it_datasetmetricconfigs = VALUE /aws1/cl_bdkevaldsmetricconfig=>tt_evaldatasetmetricconfigs(
(
new /aws1/cl_bdkevaldsmetricconfig(
io_dataset = new /aws1/cl_bdkevaluationdataset(
io_datasetlocation = new /aws1/cl_bdkevaldatasetloc( |string| )
iv_name = |string|
)
it_metricnames = VALUE /aws1/cl_bdkevalmetricnames_w=>tt_evaluationmetricnames(
( new /aws1/cl_bdkevalmetricnames_w( |string| ) )
)
iv_tasktype = |string|
)
)
)
)
)
io_inferenceconfig = new /aws1/cl_bdkevalinferencecfg(
it_models = VALUE /aws1/cl_bdkevalmodelconfig=>tt_evaluationmodelconfigs(
(
new /aws1/cl_bdkevalmodelconfig(
io_bedrockmodel = new /aws1/cl_bdkevalbedrockmodel(
io_performanceconfig = new /aws1/cl_bdkperformanceconf( |string| )
iv_inferenceparams = |string|
iv_modelidentifier = |string|
)
io_precomputedinferencesrc = new /aws1/cl_bdkevalprecomputedi00( |string| )
)
)
)
it_ragconfigs = VALUE /aws1/cl_bdkragconfig=>tt_ragconfigs(
(
new /aws1/cl_bdkragconfig(
io_knowledgebaseconfig = new /aws1/cl_bdkknowledgebasecfg(
io_retrieveandgenerateconfig = new /aws1/cl_bdkretrieveandgener00(
io_externalsourcesconf = new /aws1/cl_bdkexternalsrcsretr00(
io_generationconfiguration = new /aws1/cl_bdkexternalsrcsgene00(
io_guardrailconfiguration = new /aws1/cl_bdkguardrailconf(
iv_guardrailid = |string|
iv_guardrailversion = |string|
)
io_kbinferenceconfig = new /aws1/cl_bdkkbinferenceconfig(
io_textinferenceconfig = new /aws1/cl_bdktextinferencecfg(
it_stopsequences = VALUE /aws1/cl_bdkragstopsequences_w=>tt_ragstopsequences(
( new /aws1/cl_bdkragstopsequences_w( |string| ) )
)
iv_maxtokens = 123
iv_temperature = '0.1'
iv_topp = '0.1'
)
)
io_prompttemplate = new /aws1/cl_bdkprompttemplate( |string| )
it_addlmodelrequestfields = VALUE /aws1/cl_rt_document=>tt_map(
(
VALUE /aws1/cl_rt_document=>ts_document_maprow(
value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
key = |string|
)
)
)
)
it_sources = VALUE /aws1/cl_bdkexternalsource=>tt_externalsources(
(
new /aws1/cl_bdkexternalsource(
io_bytecontent = new /aws1/cl_bdkbytecontentdoc(
iv_contenttype = |string|
iv_data = '5347567362473873563239796247513D'
iv_identifier = |string|
)
io_s3location = new /aws1/cl_bdks3objectdoc( |string| )
iv_sourcetype = |string|
)
)
)
iv_modelarn = |string|
)
io_knowledgebaseconf = new /aws1/cl_bdkknowledgebaseret01(
io_generationconfiguration = new /aws1/cl_bdkgenerationconf(
io_guardrailconfiguration = new /aws1/cl_bdkguardrailconf(
iv_guardrailid = |string|
iv_guardrailversion = |string|
)
io_kbinferenceconfig = new /aws1/cl_bdkkbinferenceconfig(
io_textinferenceconfig = new /aws1/cl_bdktextinferencecfg(
it_stopsequences = VALUE /aws1/cl_bdkragstopsequences_w=>tt_ragstopsequences(
( new /aws1/cl_bdkragstopsequences_w( |string| ) )
)
iv_maxtokens = 123
iv_temperature = '0.1'
iv_topp = '0.1'
)
)
io_prompttemplate = new /aws1/cl_bdkprompttemplate( |string| )
it_addlmodelrequestfields = VALUE /aws1/cl_rt_document=>tt_map(
(
VALUE /aws1/cl_rt_document=>ts_document_maprow(
value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
key = |string|
)
)
)
)
io_orchestrationconf = new /aws1/cl_bdkorchestrationconf( new /aws1/cl_bdkquerytransfmtion00( |string| ) )
io_retrievalconfiguration = new /aws1/cl_bdkknowledgebaseret00(
io_vectorsearchconfiguration = new /aws1/cl_bdkknowledgebasevec00(
io_filter = new /aws1/cl_bdkretrievalfilter(
io_equals = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_greaterthan = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_greaterthanorequals = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_in = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_lessthan = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_lessthanorequals = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_listcontains = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_notequals = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_notin = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_startswith = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_stringcontains = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
it_andall = VALUE /aws1/cl_bdkretrievalfilter=>tt_retrievalfilterlist(
(
new /aws1/cl_bdkretrievalfilter(
io_equals = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_greaterthan = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_greaterthanorequals = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_in = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_lessthan = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_lessthanorequals = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_listcontains = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_notequals = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_notin = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_startswith = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_stringcontains = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
it_orall = VALUE /aws1/cl_bdkretrievalfilter=>tt_retrievalfilterlist(
)
)
)
)
it_orall = VALUE /aws1/cl_bdkretrievalfilter=>tt_retrievalfilterlist(
(
new /aws1/cl_bdkretrievalfilter(
io_equals = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_greaterthan = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_greaterthanorequals = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_in = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_lessthan = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_lessthanorequals = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_listcontains = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_notequals = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_notin = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_startswith = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_stringcontains = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
it_andall = VALUE /aws1/cl_bdkretrievalfilter=>tt_retrievalfilterlist(
)
)
)
)
)
io_implicitfilterconf = new /aws1/cl_bdkimplicitfilterconf(
it_metadataattributes = VALUE /aws1/cl_bdkmetadataattrschema=>tt_metadataattributeschemalist(
(
new /aws1/cl_bdkmetadataattrschema(
iv_description = |string|
iv_key = |string|
iv_type = |string|
)
)
)
iv_modelarn = |string|
)
io_rerankingconfiguration = new /aws1/cl_bdkvectorsrchrernkc00(
io_bedrockrerankingconf = new /aws1/cl_bdkvectorsrchbdrrer00(
io_metadataconfiguration = new /aws1/cl_bdkmetconfforrerank(
io_selectivemodeconf = new /aws1/cl_bdkrernkmetselivemd00(
it_fieldstoexclude = VALUE /aws1/cl_bdkfieldforreranking=>tt_fieldsforreranking(
( new /aws1/cl_bdkfieldforreranking( |string| ) )
)
it_fieldstoinclude = VALUE /aws1/cl_bdkfieldforreranking=>tt_fieldsforreranking(
( new /aws1/cl_bdkfieldforreranking( |string| ) )
)
)
iv_selectionmode = |string|
)
io_modelconfiguration = new /aws1/cl_bdkvectorsrchbdrrer01(
it_addlmodelrequestfields = VALUE /aws1/cl_rt_document=>tt_map(
(
VALUE /aws1/cl_rt_document=>ts_document_maprow(
value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
key = |string|
)
)
)
iv_modelarn = |string|
)
iv_numberofrerankedresults = 123
)
iv_type = |string|
)
iv_numberofresults = 123
iv_overridesearchtype = |string|
)
)
iv_knowledgebaseid = |string|
iv_modelarn = |string|
)
iv_type = |string|
)
io_retrieveconfig = new /aws1/cl_bdkretrieveconfig(
io_knowledgebaseretrievalc00 = new /aws1/cl_bdkknowledgebaseret00(
io_vectorsearchconfiguration = new /aws1/cl_bdkknowledgebasevec00(
io_filter = new /aws1/cl_bdkretrievalfilter(
io_equals = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_greaterthan = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_greaterthanorequals = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_in = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_lessthan = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_lessthanorequals = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_listcontains = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_notequals = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_notin = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_startswith = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_stringcontains = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
it_andall = VALUE /aws1/cl_bdkretrievalfilter=>tt_retrievalfilterlist(
(
new /aws1/cl_bdkretrievalfilter(
io_equals = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_greaterthan = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_greaterthanorequals = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_in = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_lessthan = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_lessthanorequals = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_listcontains = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_notequals = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_notin = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_startswith = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_stringcontains = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
it_orall = VALUE /aws1/cl_bdkretrievalfilter=>tt_retrievalfilterlist(
)
)
)
)
it_orall = VALUE /aws1/cl_bdkretrievalfilter=>tt_retrievalfilterlist(
(
new /aws1/cl_bdkretrievalfilter(
io_equals = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_greaterthan = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_greaterthanorequals = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_in = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_lessthan = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_lessthanorequals = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_listcontains = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_notequals = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_notin = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_startswith = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
io_stringcontains = new /aws1/cl_bdkfilterattribute(
io_value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
iv_key = |string|
)
it_andall = VALUE /aws1/cl_bdkretrievalfilter=>tt_retrievalfilterlist(
)
)
)
)
)
io_implicitfilterconf = new /aws1/cl_bdkimplicitfilterconf(
it_metadataattributes = VALUE /aws1/cl_bdkmetadataattrschema=>tt_metadataattributeschemalist(
(
new /aws1/cl_bdkmetadataattrschema(
iv_description = |string|
iv_key = |string|
iv_type = |string|
)
)
)
iv_modelarn = |string|
)
io_rerankingconfiguration = new /aws1/cl_bdkvectorsrchrernkc00(
io_bedrockrerankingconf = new /aws1/cl_bdkvectorsrchbdrrer00(
io_metadataconfiguration = new /aws1/cl_bdkmetconfforrerank(
io_selectivemodeconf = new /aws1/cl_bdkrernkmetselivemd00(
it_fieldstoexclude = VALUE /aws1/cl_bdkfieldforreranking=>tt_fieldsforreranking(
( new /aws1/cl_bdkfieldforreranking( |string| ) )
)
it_fieldstoinclude = VALUE /aws1/cl_bdkfieldforreranking=>tt_fieldsforreranking(
( new /aws1/cl_bdkfieldforreranking( |string| ) )
)
)
iv_selectionmode = |string|
)
io_modelconfiguration = new /aws1/cl_bdkvectorsrchbdrrer01(
it_addlmodelrequestfields = VALUE /aws1/cl_rt_document=>tt_map(
(
VALUE /aws1/cl_rt_document=>ts_document_maprow(
value = /AWS1/CL_RT_DOCUMENT=>FROM_JSON_STR( |\{"foo":"this is a JSON object..."\}| )
key = |string|
)
)
)
iv_modelarn = |string|
)
iv_numberofrerankedresults = 123
)
iv_type = |string|
)
iv_numberofresults = 123
iv_overridesearchtype = |string|
)
)
iv_knowledgebaseid = |string|
)
)
io_precomputedragsourcecfg = new /aws1/cl_bdkevalprecomputedr00(
io_retrievesourceconfig = new /aws1/cl_bdkevalprecomputedr01( |string| )
io_retrvandgenr8sourceconfig = new /aws1/cl_bdkevalprecomputedr02( |string| )
)
)
)
)
)
io_outputdataconfig = new /aws1/cl_bdkevaloutputdatacfg( |string| )
it_jobtags = VALUE /aws1/cl_bdktag=>tt_taglist(
(
new /aws1/cl_bdktag(
iv_key = |string|
iv_value = |string|
)
)
)
iv_applicationtype = |string|
iv_clientrequesttoken = |string|
iv_customerencryptionkeyid = |string|
iv_jobdescription = |string|
iv_jobname = |string|
iv_rolearn = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_evaluationjobarn = lo_result->get_jobarn( ).
ENDIF.