Actions9
- Prompt Actions
- Monitoring Actions
- Dataset Actions
Overview
This node interacts with the Basalt API to publish a specific version or tag of a prompt. It is useful for managing prompt versions in applications that require version control and tagging of prompts, such as AI prompt management systems or content versioning workflows. For example, a user can publish a new version of a prompt with a specific tag to make it available for use or testing.
Use Case Examples
- Publishing a new version of a prompt with a specific tag to make it live.
- Assigning a new tag to an existing prompt version for categorization or deployment.
Properties
| Name | Meaning |
|---|---|
| Slug | The unique identifier (slug) of the prompt to be published. |
| New Tag | The new tag to assign to the prompt version being published. |
| Publish Options | Additional options for publishing, including the version number or tag of the prompt version to publish. |
| Request Options | Settings for the HTTP request such as batching, SSL certificate validation, proxy, and timeout. |
Output
JSON
response- The JSON response from the Basalt API after publishing the prompt version.
Dependencies
- Basalt API
- An API key credential for authentication
Troubleshooting
- Ensure the slug provided matches an existing prompt; otherwise, the API may return an error indicating the prompt was not found.
- Verify that the API key credential is valid and has the necessary permissions to publish prompt versions.
- Check network settings if using a proxy or if SSL certificate validation is disabled, as these can cause request failures.
- Timeout errors may occur if the server is slow to respond; adjust the timeout setting accordingly.
Links
- Basalt API Documentation - Publish Prompt - Official documentation for the Basalt API endpoint to publish prompt versions.