Class: Aws::BedrockAgentRuntime::Types::TracePart
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgentRuntime::Types::TracePart
- Defined in:
- gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb
Overview
Contains information about the agent and session, alongside the agent's reasoning process and results from calling API actions and querying knowledge bases and metadata about the trace. You can use the trace to understand how the agent arrived at the response it provided the customer. For more information, see Trace enablement.
Constant Summary collapse
- SENSITIVE =
[:trace, :collaborator_name]
Instance Attribute Summary collapse
-
#agent_alias_id ⇒ String
The unique identifier of the alias of the agent.
-
#agent_id ⇒ String
The unique identifier of the agent.
-
#agent_version ⇒ String
The version of the agent.
-
#caller_chain ⇒ Array<Types::Caller>
The part's caller chain.
-
#collaborator_name ⇒ String
The part's collaborator name.
-
#event_time ⇒ Time
The time of the trace.
-
#event_type ⇒ Object
Returns the value of attribute event_type.
-
#session_id ⇒ String
The unique identifier of the session with the agent.
-
#trace ⇒ Types::Trace
Contains one part of the agent's reasoning process and results from calling API actions and querying knowledge bases.
Instance Attribute Details
#agent_alias_id ⇒ String
The unique identifier of the alias of the agent.
8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 8845 class TracePart < Struct.new( :session_id, :trace, :caller_chain, :event_time, :collaborator_name, :agent_id, :agent_alias_id, :agent_version, :event_type) SENSITIVE = [:trace, :collaborator_name] include Aws::Structure end |
#agent_id ⇒ String
The unique identifier of the agent.
8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 8845 class TracePart < Struct.new( :session_id, :trace, :caller_chain, :event_time, :collaborator_name, :agent_id, :agent_alias_id, :agent_version, :event_type) SENSITIVE = [:trace, :collaborator_name] include Aws::Structure end |
#agent_version ⇒ String
The version of the agent.
8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 8845 class TracePart < Struct.new( :session_id, :trace, :caller_chain, :event_time, :collaborator_name, :agent_id, :agent_alias_id, :agent_version, :event_type) SENSITIVE = [:trace, :collaborator_name] include Aws::Structure end |
#caller_chain ⇒ Array<Types::Caller>
The part's caller chain.
8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 8845 class TracePart < Struct.new( :session_id, :trace, :caller_chain, :event_time, :collaborator_name, :agent_id, :agent_alias_id, :agent_version, :event_type) SENSITIVE = [:trace, :collaborator_name] include Aws::Structure end |
#collaborator_name ⇒ String
The part's collaborator name.
8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 8845 class TracePart < Struct.new( :session_id, :trace, :caller_chain, :event_time, :collaborator_name, :agent_id, :agent_alias_id, :agent_version, :event_type) SENSITIVE = [:trace, :collaborator_name] include Aws::Structure end |
#event_time ⇒ Time
The time of the trace.
8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 8845 class TracePart < Struct.new( :session_id, :trace, :caller_chain, :event_time, :collaborator_name, :agent_id, :agent_alias_id, :agent_version, :event_type) SENSITIVE = [:trace, :collaborator_name] include Aws::Structure end |
#event_type ⇒ Object
Returns the value of attribute event_type
8845 8846 8847 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 8845 def event_type @event_type end |
#session_id ⇒ String
The unique identifier of the session with the agent.
8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 8845 class TracePart < Struct.new( :session_id, :trace, :caller_chain, :event_time, :collaborator_name, :agent_id, :agent_alias_id, :agent_version, :event_type) SENSITIVE = [:trace, :collaborator_name] include Aws::Structure end |
#trace ⇒ Types::Trace
Contains one part of the agent's reasoning process and results from calling API actions and querying knowledge bases. You can use the trace to understand how the agent arrived at the response it provided the customer. For more information, see Trace enablement.
8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 8845 class TracePart < Struct.new( :session_id, :trace, :caller_chain, :event_time, :collaborator_name, :agent_id, :agent_alias_id, :agent_version, :event_type) SENSITIVE = [:trace, :collaborator_name] include Aws::Structure end |