Skip to content

/AWS1/CL_DOASENDMSGUSAGEINFO

Token usage information

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_inputtokens TYPE /AWS1/DOAINTEGER /AWS1/DOAINTEGER

Number of input tokens

iv_outputtokens TYPE /AWS1/DOAINTEGER /AWS1/DOAINTEGER

Number of output tokens

iv_totaltokens TYPE /AWS1/DOAINTEGER /AWS1/DOAINTEGER

Total tokens used


Queryable Attributes

inputTokens

Number of input tokens

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

Number of output tokens

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

totalTokens

Total tokens used

Accessible with the following methods

Method Description
GET_TOTALTOKENS() Getter for TOTALTOKENS, with configurable default
ASK_TOTALTOKENS() Getter for TOTALTOKENS w/ exceptions if field has no value
HAS_TOTALTOKENS() Determine if TOTALTOKENS has a value