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.

Defined Under Namespace

Classes: SessionSpans, Unknown

Constant Summary collapse

SENSITIVE =
[:session_spans]

Instance Attribute Summary collapse

Instance Attribute Details

#session_spans ⇒ Array<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>)


2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 2516

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

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



2516
2517
2518
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 2516

def unknown
  @unknown
end