Interface EvaluationInput.Builder

  • 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.