Class: Aws::BedrockAgentRuntime::Types::InlineSessionState
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgentRuntime::Types::InlineSessionState
- Defined in:
- gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb
Overview
Contains parameters that specify various attributes that persist
across a session or prompt. You can define session state attributes as
key-value pairs when writing a Lambda function for an action
group or pass them when making an InvokeInlineAgent request. Use
session state attributes to control and provide conversational context
for your inline agent and to help customize your agent's behavior.
For more information, see Control session context
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#conversation_history ⇒ Types::ConversationHistory
Contains the conversation history that persist across sessions.
-
#files ⇒ Array<Types::InputFile>
Contains information about the files used by code interpreter.
-
#invocation_id ⇒ String
The identifier of the invocation of an action.
-
#prompt_session_attributes ⇒ Hash<String,String>
Contains attributes that persist across a session and the values of those attributes.
-
#return_control_invocation_results ⇒ Array<Types::InvocationResultMember>
Contains information about the results from the action group invocation.
-
#session_attributes ⇒ Hash<String,String>
Contains attributes that persist across a session and the values of those attributes.
Instance Attribute Details
#conversation_history ⇒ Types::ConversationHistory
Contains the conversation history that persist across sessions.
5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 5242 class InlineSessionState < Struct.new( :conversation_history, :files, :invocation_id, :prompt_session_attributes, :return_control_invocation_results, :session_attributes) SENSITIVE = [] include Aws::Structure end |
#files ⇒ Array<Types::InputFile>
Contains information about the files used by code interpreter.
5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 5242 class InlineSessionState < Struct.new( :conversation_history, :files, :invocation_id, :prompt_session_attributes, :return_control_invocation_results, :session_attributes) SENSITIVE = [] include Aws::Structure end |
#invocation_id ⇒ String
The identifier of the invocation of an action. This value must match
the invocationId returned in the InvokeInlineAgent response for
the action whose results are provided in the
returnControlInvocationResults field. For more information, see
Return control to the agent developer.
5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 5242 class InlineSessionState < Struct.new( :conversation_history, :files, :invocation_id, :prompt_session_attributes, :return_control_invocation_results, :session_attributes) SENSITIVE = [] include Aws::Structure end |
#prompt_session_attributes ⇒ Hash<String,String>
Contains attributes that persist across a session and the values of those attributes.
5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 5242 class InlineSessionState < Struct.new( :conversation_history, :files, :invocation_id, :prompt_session_attributes, :return_control_invocation_results, :session_attributes) SENSITIVE = [] include Aws::Structure end |
#return_control_invocation_results ⇒ Array<Types::InvocationResultMember>
Contains information about the results from the action group invocation. For more information, see Return control to the agent developer.
sessionState field, the
inputText field will be ignored.
5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 5242 class InlineSessionState < Struct.new( :conversation_history, :files, :invocation_id, :prompt_session_attributes, :return_control_invocation_results, :session_attributes) SENSITIVE = [] include Aws::Structure end |
#session_attributes ⇒ Hash<String,String>
Contains attributes that persist across a session and the values of those attributes.
5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 5242 class InlineSessionState < Struct.new( :conversation_history, :files, :invocation_id, :prompt_session_attributes, :return_control_invocation_results, :session_attributes) SENSITIVE = [] include Aws::Structure end |