Actions9
- Dataset Actions
- Prompt Actions
- Monitoring Actions
Overview
This node interacts with the Basalt API to log output related to prompts for monitoring purposes. It is useful for tracking and analyzing prompt executions by sending detailed log data such as prompt slug, output, input, timing, token usage, cost, and additional metadata. Practical applications include monitoring AI prompt performance, debugging prompt outputs, and maintaining traceability of prompt executions in automated workflows.
Use Case Examples
- Logging the output of an AI prompt execution along with its input and metadata for performance analysis.
- Tracking prompt usage statistics such as token counts and cost for billing or optimization.
- Recording start and end times of prompt executions to measure latency and efficiency.
Properties
| Name | Meaning |
|---|---|
| Prompt Slug | The slug identifier of the prompt to be logged. |
| Output | The output data of the prompt to be logged, in JSON format. |
| Log Options | Additional optional details about the prompt execution such as name, version, tag, input, ideal output, start and end times, token counts, cost, and metadata. |
| Request Options | Settings to control request behavior such as batching, SSL certificate validation, proxy usage, and timeout duration. |
Output
JSON
success- Indicates whether the log output operation was successful.data- The response data returned from the Basalt API after logging the prompt output.
Dependencies
- Basalt API
- An API key credential for authentication
Troubleshooting
- Ensure the Basalt API credentials are correctly configured to avoid authentication errors.
- Check network connectivity and proxy settings if requests fail or time out.
- Verify that required fields such as 'Prompt Slug' and 'Output' are provided to prevent validation errors.
- If SSL certificate validation fails, consider enabling the option to ignore SSL issues, but be aware of security risks.
Links
- Basalt API Documentation - Official API documentation for Basalt, detailing endpoints and usage for prompt monitoring and logging.