Arize Phoenix TS
    Preparing search index...
    • Wrap the user's test body in an OpenInference task span and return the trace id so we can submit it with the experiment run.

      Type Parameters

      • Result

      Parameters

      Returns Promise<
          | { result: Result; traceId: string }
          | { error: Error; isTaskError: boolean; traceId: string },
      >