ADK for TypeScript: API Reference
    Preparing search index...

    Function convertEvalSetToSchema

    • Converts a legacy array of EvalEntry JSON objects into a structured EvalSet.

      Parameters

      • evalSetId: string

        The identifier for the resulting eval set.

      • evalSetInJsonFormat: unknown

        Array of legacy eval case objects.

      Returns EvalSet

      The converted EvalSet.

      If the input array or any entry is malformed.