Class: Aws::BedrockAgentCore::Types::EvaluationTarget

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb

Overview

Note:

EvaluationTarget is a union - when making an API calls you must set exactly one of the members.

The specification of which trace or span IDs to evaluate within the provided input data. Allows precise targeting of evaluation at different levels: tool calls, traces, or sessions.

Defined Under Namespace

Classes: SpanIds, TraceIds, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#span_ids ⇒ Array<String>

The list of specific span IDs to evaluate within the provided traces. Used to target evaluation at individual tool calls or specific operations within the agent's execution flow.

Returns:

  • (Array<String>)


2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 2748

class EvaluationTarget < Struct.new(
  :span_ids,
  :trace_ids,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class SpanIds < EvaluationTarget; end
  class TraceIds < EvaluationTarget; end
  class Unknown < EvaluationTarget; end
end

#trace_ids ⇒ Array<String>

The list of trace IDs to evaluate, representing complete request-response interactions. Used to evaluate entire conversation turns or specific agent interactions within a session.

Returns:

  • (Array<String>)


2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 2748

class EvaluationTarget < Struct.new(
  :span_ids,
  :trace_ids,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class SpanIds < EvaluationTarget; end
  class TraceIds < EvaluationTarget; end
  class Unknown < EvaluationTarget; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



2748
2749
2750
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 2748

def unknown
  @unknown
end