/AWS1/CL_BDZUSAGE¶
Contains information of the usage of the foundation model.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_inputtokens TYPE /AWS1/BDZINTEGER /AWS1/BDZINTEGER¶
Contains information about the input tokens from the foundation model usage.
iv_outputtokens TYPE /AWS1/BDZINTEGER /AWS1/BDZINTEGER¶
Contains information about the output tokens from the foundation model usage.
Queryable Attributes¶
inputTokens¶
Contains information about the input tokens from the foundation model usage.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_INPUTTOKENS() |
Getter for INPUTTOKENS, with configurable default |
ASK_INPUTTOKENS() |
Getter for INPUTTOKENS w/ exceptions if field has no value |
HAS_INPUTTOKENS() |
Determine if INPUTTOKENS has a value |
outputTokens¶
Contains information about the output tokens from the foundation model usage.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_OUTPUTTOKENS() |
Getter for OUTPUTTOKENS, with configurable default |
ASK_OUTPUTTOKENS() |
Getter for OUTPUTTOKENS w/ exceptions if field has no value |
HAS_OUTPUTTOKENS() |
Determine if OUTPUTTOKENS has a value |