/AWS1/CL_BDOHARNGEMINIMODELCFG¶
Configuration for a Google Gemini model provider. Requires an API key stored in AgentCore Identity.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_modelid TYPE /AWS1/BDOMODELID /AWS1/BDOMODELID¶
The Gemini model ID.
iv_apikeyarn TYPE /AWS1/BDOAPIKEYARN /AWS1/BDOAPIKEYARN¶
The ARN of your Gemini API key on AgentCore Identity.
Optional arguments:¶
iv_maxtokens TYPE /AWS1/BDOMAXTOKENS /AWS1/BDOMAXTOKENS¶
The maximum number of tokens to allow in the generated response per iteration.
iv_temperature TYPE /AWS1/RT_FLOAT_AS_STRING /AWS1/RT_FLOAT_AS_STRING¶
The temperature to set when calling the model.
iv_topp TYPE /AWS1/RT_FLOAT_AS_STRING /AWS1/RT_FLOAT_AS_STRING¶
The topP set when calling the model.
iv_topk TYPE /AWS1/BDOTOPK /AWS1/BDOTOPK¶
The topK set when calling the model.
Queryable Attributes¶
modelId¶
The Gemini model ID.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MODELID() |
Getter for MODELID, with configurable default |
ASK_MODELID() |
Getter for MODELID w/ exceptions if field has no value |
HAS_MODELID() |
Determine if MODELID has a value |
apiKeyArn¶
The ARN of your Gemini API key on AgentCore Identity.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_APIKEYARN() |
Getter for APIKEYARN, with configurable default |
ASK_APIKEYARN() |
Getter for APIKEYARN w/ exceptions if field has no value |
HAS_APIKEYARN() |
Determine if APIKEYARN has a value |
maxTokens¶
The maximum number of tokens to allow in the generated response per iteration.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MAXTOKENS() |
Getter for MAXTOKENS, with configurable default |
ASK_MAXTOKENS() |
Getter for MAXTOKENS w/ exceptions if field has no value |
HAS_MAXTOKENS() |
Determine if MAXTOKENS has a value |
temperature¶
The temperature to set when calling the model.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TEMPERATURE() |
Getter for TEMPERATURE, with configurable default |
ASK_TEMPERATURE() |
Getter for TEMPERATURE w/ exceptions if field has no value |
STR_TEMPERATURE() |
String format for TEMPERATURE, with configurable default |
HAS_TEMPERATURE() |
Determine if TEMPERATURE has a value |
topP¶
The topP set when calling the model.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TOPP() |
Getter for TOPP, with configurable default |
ASK_TOPP() |
Getter for TOPP w/ exceptions if field has no value |
STR_TOPP() |
String format for TOPP, with configurable default |
HAS_TOPP() |
Determine if TOPP has a value |
topK¶
The topK set when calling the model.
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 |