@arizeai/phoenix-client@7.6.0
📦 arize-phoenixView on GitHub →
✨ 2 features🔧 3 symbols
Summary
Introduced a new `deletePrompt` helper for managing prompts and added a `PromptIdentifier` type for improved selector handling. The deletion process now cascades to all prompt versions.
✨ New Features
- Added a `deletePrompt` helper to the `prompts` subpath. This helper takes a `prompt` selector (`{ name }` or `{ promptId }`) and calls `DELETE /v1/prompts/{prompt_identifier}`. Deletion cascades to all versions of the prompt, including their version tags and labels.
- Exported a `PromptIdentifier` type from `types/prompts` for use with prompt-level selectors.