Class: Aws::BedrockAgentRuntime::Types::InvokeAgentRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgentRuntime::Types::InvokeAgentRequest
- Defined in:
- gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[:input_text]
Instance Attribute Summary collapse
-
#agent_alias_id ⇒ String
The alias of the agent to use.
-
#agent_id ⇒ String
The unique identifier of the agent to use.
-
#enable_trace ⇒ Boolean
Specifies whether to turn on the trace or not to track the agent's reasoning process.
-
#end_session ⇒ Boolean
Specifies whether to end the session with the agent or not.
-
#input_text ⇒ String
The prompt text to send the agent.
-
#session_id ⇒ String
The unique identifier of the session.
-
#session_state ⇒ Types::SessionState
Contains parameters that specify various attributes of the session.
Instance Attribute Details
#agent_alias_id ⇒ String
The alias of the agent to use.
932 933 934 935 936 937 938 939 940 941 942 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 932 class InvokeAgentRequest < Struct.new( :agent_alias_id, :agent_id, :enable_trace, :end_session, :input_text, :session_id, :session_state) SENSITIVE = [:input_text] include Aws::Structure end |
#agent_id ⇒ String
The unique identifier of the agent to use.
932 933 934 935 936 937 938 939 940 941 942 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 932 class InvokeAgentRequest < Struct.new( :agent_alias_id, :agent_id, :enable_trace, :end_session, :input_text, :session_id, :session_state) SENSITIVE = [:input_text] include Aws::Structure end |
#enable_trace ⇒ Boolean
Specifies whether to turn on the trace or not to track the agent's reasoning process. For more information, see Trace enablement.
932 933 934 935 936 937 938 939 940 941 942 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 932 class InvokeAgentRequest < Struct.new( :agent_alias_id, :agent_id, :enable_trace, :end_session, :input_text, :session_id, :session_state) SENSITIVE = [:input_text] include Aws::Structure end |
#end_session ⇒ Boolean
Specifies whether to end the session with the agent or not.
932 933 934 935 936 937 938 939 940 941 942 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 932 class InvokeAgentRequest < Struct.new( :agent_alias_id, :agent_id, :enable_trace, :end_session, :input_text, :session_id, :session_state) SENSITIVE = [:input_text] include Aws::Structure end |
#input_text ⇒ String
The prompt text to send the agent.
932 933 934 935 936 937 938 939 940 941 942 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 932 class InvokeAgentRequest < Struct.new( :agent_alias_id, :agent_id, :enable_trace, :end_session, :input_text, :session_id, :session_state) SENSITIVE = [:input_text] include Aws::Structure end |
#session_id ⇒ String
The unique identifier of the session. Use the same value across requests to continue the same conversation.
932 933 934 935 936 937 938 939 940 941 942 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 932 class InvokeAgentRequest < Struct.new( :agent_alias_id, :agent_id, :enable_trace, :end_session, :input_text, :session_id, :session_state) SENSITIVE = [:input_text] include Aws::Structure end |
#session_state ⇒ Types::SessionState
Contains parameters that specify various attributes of the session. For more information, see Control session context.
932 933 934 935 936 937 938 939 940 941 942 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 932 class InvokeAgentRequest < Struct.new( :agent_alias_id, :agent_id, :enable_trace, :end_session, :input_text, :session_id, :session_state) SENSITIVE = [:input_text] include Aws::Structure end |