Class: Aws::BedrockAgentRuntime::Types::TracePart

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]

Instance Attribute Summary collapse

Instance Attribute Details

#agent_alias_idString

The unique identifier of the alias of the agent.

Returns:

  • (String)


2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2460

class TracePart < Struct.new(
  :agent_alias_id,
  :agent_id,
  :agent_version,
  :session_id,
  :trace,
  :event_type)
  SENSITIVE = [:trace]
  include Aws::Structure
end

#agent_idString

The unique identifier of the agent.

Returns:

  • (String)


2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2460

class TracePart < Struct.new(
  :agent_alias_id,
  :agent_id,
  :agent_version,
  :session_id,
  :trace,
  :event_type)
  SENSITIVE = [:trace]
  include Aws::Structure
end

#agent_versionString

The version of the agent.

Returns:

  • (String)


2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2460

class TracePart < Struct.new(
  :agent_alias_id,
  :agent_id,
  :agent_version,
  :session_id,
  :trace,
  :event_type)
  SENSITIVE = [:trace]
  include Aws::Structure
end

#event_typeObject

Returns the value of attribute event_type

Returns:

  • (Object)

    the current value of event_type



2460
2461
2462
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2460

def event_type
  @event_type
end

#session_idString

The unique identifier of the session with the agent.

Returns:

  • (String)


2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2460

class TracePart < Struct.new(
  :agent_alias_id,
  :agent_id,
  :agent_version,
  :session_id,
  :trace,
  :event_type)
  SENSITIVE = [:trace]
  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:



2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2460

class TracePart < Struct.new(
  :agent_alias_id,
  :agent_id,
  :agent_version,
  :session_id,
  :trace,
  :event_type)
  SENSITIVE = [:trace]
  include Aws::Structure
end