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.

Direct Known Subclasses

SpanIds, TraceIds, Unknown

Defined Under Namespace

Classes: SpanIds, TraceIds, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#span_idsArray<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>)


911
912
913
914
915
916
917
918
919
920
921
922
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 911

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_idsArray<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>)


911
912
913
914
915
916
917
918
919
920
921
922
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 911

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

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



911
912
913
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 911

def unknown
  @unknown
end