Skip to content

/AWS1/CL_BDOHARNAGCOREMEMRTV00

Configuration for memory retrieval within a namespace.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_topk TYPE /AWS1/BDOINTEGER /AWS1/BDOINTEGER

The maximum number of memory entries to retrieve.

iv_relevancescore TYPE /AWS1/RT_FLOAT_AS_STRING /AWS1/RT_FLOAT_AS_STRING

The minimum relevance score for retrieved memories.

iv_strategyid TYPE /AWS1/BDOSTRING /AWS1/BDOSTRING

The ID of the retrieval strategy to use.


Queryable Attributes

topK

The maximum number of memory entries to retrieve.

Accessible with the following methods

Method Description
GET_TOPK() Getter for TOPK, with configurable default
ASK_TOPK() Getter for TOPK w/ exceptions if field has no value
HAS_TOPK() Determine if TOPK has a value

relevanceScore

The minimum relevance score for retrieved memories.

Accessible with the following methods

Method Description
GET_RELEVANCESCORE() Getter for RELEVANCESCORE, with configurable default
ASK_RELEVANCESCORE() Getter for RELEVANCESCORE w/ exceptions if field has no valu
STR_RELEVANCESCORE() String format for RELEVANCESCORE, with configurable default
HAS_RELEVANCESCORE() Determine if RELEVANCESCORE has a value

strategyId

The ID of the retrieval strategy to use.

Accessible with the following methods

Method Description
GET_STRATEGYID() Getter for STRATEGYID, with configurable default
ASK_STRATEGYID() Getter for STRATEGYID w/ exceptions if field has no value
HAS_STRATEGYID() Determine if STRATEGYID has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TS_HARNAGCOREMEMRETRCFG_MAPROW

TYPES: BEGIN OF TS_HARNAGCOREMEMRETRCFG_MAPROW,
  key TYPE /AWS1/BDOSTRING,
  value TYPE REF TO /AWS1/CL_BDOHARNAGCOREMEMRTV00,
END OF TS_HARNAGCOREMEMRETRCFG_MAPROW.

TT_HARNAGENTCOREMEMRETRVLCFGS

TYPES TT_HARNAGENTCOREMEMRETRVLCFGS TYPE HASHED TABLE OF /AWS1/CL_BDOHARNAGCOREMEMRTV00=>TS_HARNAGCOREMEMRETRCFG_MAPROW WITH UNIQUE KEY key
.