Skip to content

@arizeai/phoenix-client@7.6.0

Choose a tag to compare

@mikeldking mikeldking released this 29 Aug 01:59
· 4 commits to main since this release
4a83a91

Minor Changes

  • d328c3e: Add a deletePrompt helper to the prompts subpath. It takes a prompt selector — { name } or { promptId } — matching the selector style getPrompt already uses, and calls DELETE /v1/prompts/{prompt_identifier} (Phoenix server >= 13.20.0). Version-level selectors ({ versionId }, { name, tag }) are rejected rather than widened to the whole prompt. Deletion cascades to every version of the prompt along with its version tags and labels.

    Also exports a PromptIdentifier type from types/prompts for the prompt-level selector union.