/AWS1/CL_BDZPRMPTCREATIONCONFS¶
Specifies parameters that control how the service populates the agent prompt for an InvokeAgent or InvokeInlineAgent request. You can control which aspects of previous invocations in the same agent session the service uses to populate the agent prompt. This gives you more granular control over the contextual history that is used to process the current request.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_previousconversationtur00 TYPE /AWS1/BDZINTEGER /AWS1/BDZINTEGER¶
The number of previous conversations from the ongoing agent session to include in the conversation history of the agent prompt, during the current invocation. This gives you more granular control over the context that the model is made aware of, and helps the model remove older context which is no longer useful during the ongoing agent session.
iv_excludepreviousthinking00 TYPE /AWS1/BDZBOOLEAN /AWS1/BDZBOOLEAN¶
If
true, the service removes any content between<thinking>tags from previous conversations in an agent session. The service will only remove content from already processed turns. This helps you remove content which might not be useful for current and subsequent invocations. This can reduce the input token count and potentially save costs. The default value isfalse.
Queryable Attributes¶
previousConversationTurnsToInclude¶
The number of previous conversations from the ongoing agent session to include in the conversation history of the agent prompt, during the current invocation. This gives you more granular control over the context that the model is made aware of, and helps the model remove older context which is no longer useful during the ongoing agent session.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PREVIOUSCONVERSATIONTU00() |
Getter for PREVIOUSCONVERSATIONTURNST00, with configurable d |
ASK_PREVIOUSCONVERSATIONTU00() |
Getter for PREVIOUSCONVERSATIONTURNST00 w/ exceptions if fie |
HAS_PREVIOUSCONVERSATIONTU00() |
Determine if PREVIOUSCONVERSATIONTURNST00 has a value |
excludePreviousThinkingSteps¶
If
true, the service removes any content between<thinking>tags from previous conversations in an agent session. The service will only remove content from already processed turns. This helps you remove content which might not be useful for current and subsequent invocations. This can reduce the input token count and potentially save costs. The default value isfalse.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_EXCLUDEPREVIOUSTHINKIN00() |
Getter for EXCLUDEPREVIOUSTHINKINGSTEPS |