Class: Aws::BedrockAgentCore::Types::EvaluationInput

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

Overview

Note:

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

The input data structure containing agent session spans in OpenTelemetry format. Supports traces from frameworks like Strands (AgentCore Runtime) and LangGraph with OpenInference instrumentation for comprehensive evaluation.

Direct Known Subclasses

SessionSpans, Unknown

Defined Under Namespace

Classes: SessionSpans, Unknown

Constant Summary collapse

SENSITIVE =
[:session_spans]

Instance Attribute Summary collapse

Instance Attribute Details

#session_spansArray<Hash,Array,String,Numeric,Boolean>

The collection of spans representing agent execution traces within a session. Each span contains detailed information about tool calls, model interactions, and other agent activities that can be evaluated for quality and performance.

Returns:

  • (Array<Hash,Array,String,Numeric,Boolean>)


790
791
792
793
794
795
796
797
798
799
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 790

class EvaluationInput < Struct.new(
  :session_spans,
  :unknown)
  SENSITIVE = [:session_spans]
  include Aws::Structure
  include Aws::Structure::Union

  class SessionSpans < EvaluationInput; end
  class Unknown < EvaluationInput; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



790
791
792
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 790

def unknown
  @unknown
end