Class: Aws::BedrockAgentRuntime::Types::Observation
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgentRuntime::Types::Observation
- Defined in:
- gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb
Overview
Contains the result or output of an action group or knowledge base, or the response to the user.
Constant Summary collapse
- SENSITIVE =
[:reprompt_response]
Instance Attribute Summary collapse
-
#action_group_invocation_output ⇒ Types::ActionGroupInvocationOutput
Contains the JSON-formatted string returned by the API invoked by the action group.
-
#agent_collaborator_invocation_output ⇒ Types::AgentCollaboratorInvocationOutput
A collaborator's invocation output.
-
#code_interpreter_invocation_output ⇒ Types::CodeInterpreterInvocationOutput
Contains the JSON-formatted string returned by the API invoked by the code interpreter.
-
#final_response ⇒ Types::FinalResponse
Contains details about the response to the user.
-
#knowledge_base_lookup_output ⇒ Types::KnowledgeBaseLookupOutput
Contains details about the results from looking up the knowledge base.
-
#reprompt_response ⇒ Types::RepromptResponse
Contains details about the response to reprompt the input.
-
#trace_id ⇒ String
The unique identifier of the trace.
-
#type ⇒ String
Specifies what kind of information the agent returns in the observation.
Instance Attribute Details
#action_group_invocation_output ⇒ Types::ActionGroupInvocationOutput
Contains the JSON-formatted string returned by the API invoked by the action group.
3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 3684 class Observation < Struct.new( :action_group_invocation_output, :agent_collaborator_invocation_output, :code_interpreter_invocation_output, :final_response, :knowledge_base_lookup_output, :reprompt_response, :trace_id, :type) SENSITIVE = [:reprompt_response] include Aws::Structure end |
#agent_collaborator_invocation_output ⇒ Types::AgentCollaboratorInvocationOutput
A collaborator's invocation output.
3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 3684 class Observation < Struct.new( :action_group_invocation_output, :agent_collaborator_invocation_output, :code_interpreter_invocation_output, :final_response, :knowledge_base_lookup_output, :reprompt_response, :trace_id, :type) SENSITIVE = [:reprompt_response] include Aws::Structure end |
#code_interpreter_invocation_output ⇒ Types::CodeInterpreterInvocationOutput
Contains the JSON-formatted string returned by the API invoked by the code interpreter.
3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 3684 class Observation < Struct.new( :action_group_invocation_output, :agent_collaborator_invocation_output, :code_interpreter_invocation_output, :final_response, :knowledge_base_lookup_output, :reprompt_response, :trace_id, :type) SENSITIVE = [:reprompt_response] include Aws::Structure end |
#final_response ⇒ Types::FinalResponse
Contains details about the response to the user.
3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 3684 class Observation < Struct.new( :action_group_invocation_output, :agent_collaborator_invocation_output, :code_interpreter_invocation_output, :final_response, :knowledge_base_lookup_output, :reprompt_response, :trace_id, :type) SENSITIVE = [:reprompt_response] include Aws::Structure end |
#knowledge_base_lookup_output ⇒ Types::KnowledgeBaseLookupOutput
Contains details about the results from looking up the knowledge base.
3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 3684 class Observation < Struct.new( :action_group_invocation_output, :agent_collaborator_invocation_output, :code_interpreter_invocation_output, :final_response, :knowledge_base_lookup_output, :reprompt_response, :trace_id, :type) SENSITIVE = [:reprompt_response] include Aws::Structure end |
#reprompt_response ⇒ Types::RepromptResponse
Contains details about the response to reprompt the input.
3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 3684 class Observation < Struct.new( :action_group_invocation_output, :agent_collaborator_invocation_output, :code_interpreter_invocation_output, :final_response, :knowledge_base_lookup_output, :reprompt_response, :trace_id, :type) SENSITIVE = [:reprompt_response] include Aws::Structure end |
#trace_id ⇒ String
The unique identifier of the trace.
3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 3684 class Observation < Struct.new( :action_group_invocation_output, :agent_collaborator_invocation_output, :code_interpreter_invocation_output, :final_response, :knowledge_base_lookup_output, :reprompt_response, :trace_id, :type) SENSITIVE = [:reprompt_response] include Aws::Structure end |
#type ⇒ String
Specifies what kind of information the agent returns in the observation. The following values are possible.
ACTION_GROUP
– The agent returns the result of an action group.KNOWLEDGE_BASE
– The agent returns information from a knowledge base.FINISH
– The agent returns a final response to the user with no follow-up.ASK_USER
– The agent asks the user a question.REPROMPT
– The agent prompts the user again for the same information.
3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 3684 class Observation < Struct.new( :action_group_invocation_output, :agent_collaborator_invocation_output, :code_interpreter_invocation_output, :final_response, :knowledge_base_lookup_output, :reprompt_response, :trace_id, :type) SENSITIVE = [:reprompt_response] include Aws::Structure end |