Class: Aws::BedrockAgentRuntime::Types::InlineAgentTracePart

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#caller_chainArray<Types::Caller>

The caller chain for the trace part.

Returns:



3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 3862

class InlineAgentTracePart < Struct.new(
  :session_id,
  :trace,
  :caller_chain,
  :event_time,
  :collaborator_name,
  :event_type)
  SENSITIVE = [:trace, :collaborator_name]
  include Aws::Structure
end

#collaborator_nameString

The collaborator name for the trace part.

Returns:

  • (String)


3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 3862

class InlineAgentTracePart < Struct.new(
  :session_id,
  :trace,
  :caller_chain,
  :event_time,
  :collaborator_name,
  :event_type)
  SENSITIVE = [:trace, :collaborator_name]
  include Aws::Structure
end

#event_timeTime

The time that trace occurred.

Returns:

  • (Time)


3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 3862

class InlineAgentTracePart < Struct.new(
  :session_id,
  :trace,
  :caller_chain,
  :event_time,
  :collaborator_name,
  :event_type)
  SENSITIVE = [:trace, :collaborator_name]
  include Aws::Structure
end

#event_typeObject

Returns the value of attribute event_type

Returns:

  • (Object)

    the current value of event_type



3862
3863
3864
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 3862

def event_type
  @event_type
end

#session_idString

The unique identifier of the session with the agent.

Returns:

  • (String)


3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 3862

class InlineAgentTracePart < Struct.new(
  :session_id,
  :trace,
  :caller_chain,
  :event_time,
  :collaborator_name,
  :event_type)
  SENSITIVE = [:trace, :collaborator_name]
  include Aws::Structure
end

#traceTypes::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.

Returns:



3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 3862

class InlineAgentTracePart < Struct.new(
  :session_id,
  :trace,
  :caller_chain,
  :event_time,
  :collaborator_name,
  :event_type)
  SENSITIVE = [:trace, :collaborator_name]
  include Aws::Structure
end