Interface EvaluationInput.Builder

All Superinterfaces:
Buildable, CopyableBuilder<EvaluationInput.Builder,EvaluationInput>, SdkBuilder<EvaluationInput.Builder,EvaluationInput>, SdkPojo
Enclosing class:
EvaluationInput

@Mutable @NotThreadSafe public static interface EvaluationInput.Builder extends SdkPojo, CopyableBuilder<EvaluationInput.Builder,EvaluationInput>
  • Method Details

    • sessionSpans

      EvaluationInput.Builder sessionSpans(Collection<Document> sessionSpans)

      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.

      Parameters:
      sessionSpans - 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:
      Returns a reference to this object so that method calls can be chained together.
    • sessionSpans

      EvaluationInput.Builder sessionSpans(Document... sessionSpans)

      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.

      Parameters:
      sessionSpans - 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:
      Returns a reference to this object so that method calls can be chained together.