/AWS1/CL_SGMAIRECCONSTRAINT¶
A performance constraint for an AI recommendation job.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_metric TYPE /AWS1/SGMAIRECMETRIC /AWS1/SGMAIRECMETRIC¶
The performance metric. Valid values are
ttft-ms(time to first token in milliseconds),throughput, andcost.
Queryable Attributes¶
Metric¶
The performance metric. Valid values are
ttft-ms(time to first token in milliseconds),throughput, andcost.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_METRIC() |
Getter for METRIC, with configurable default |
ASK_METRIC() |
Getter for METRIC w/ exceptions if field has no value |
HAS_METRIC() |
Determine if METRIC has a value |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_AIRECCONSTRAINTLIST¶
TYPES TT_AIRECCONSTRAINTLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_SGMAIRECCONSTRAINT WITH DEFAULT KEY
.