Arize Phoenix TS
    Preparing search index...
    • Assign an existing annotation config to a project.

      Assignment is idempotent: assigning a config that is already assigned to the project succeeds and returns the config.

      Parameters

      Returns Promise<AnnotationConfig>

      The assigned annotation config.

      HttpError when Phoenix rejects the request, e.g. with a 404 if the project or annotation config does not exist.

      Phoenix server >= 17.16.0

      import { assignProjectAnnotationConfig } from "@arizeai/phoenix-client/projects";

      const config = await assignProjectAnnotationConfig({
      projectName: "support-bot",
      configName: "correctness",
      });