Troubleshoot Prompt Composer
Prompt Composer displays error messages for a range of issues. You can troubleshoot these error messages using the following information.
Model access and timeout errors
Error message: No LLM Snap found in the pipeline downstream. Please add an LLM Snap
to the pipeline.
Try the following actions to fix this issue:
- Make sure that an LLM model is selected in the LLM-calling Snap downstream from the Prompt Generator Snap.
- Verify that the Snap account for the LLM is valid.
- If no LLM-calling Snap is downstream, add one.
Prompt Assistant timeouts or failures
Error message: Assistant timed out. Please try again
.
Try the following actions to fix this issue:
- Check the LLM-calling Snap configuration.
- Validate the pipeline.
- Open Prompt Composer and click Update.
Data preview problems
Error message: No data found. Please check the input data and try again.
Try the following actions to fix this issue:
- Point and click the JSON Generator Snap to open the Settings dialog.
- Click Open Editor.
- In the JSON editor, check the formatting of the data and fix any issues.
- If the JSON data exceeds 10MB, consider breaking up the data sample into smaller sizes.
Pipeline design errors
Error message: The downstream LLM-calling Snap failed to process the data. Please check the LLM Snap and try again.
Try the following actions to fix this issue:
- Point and click the LLM-calling Snap to open the Settings.
- Verify that the Prompt* field value is $prompt.
Preview data failures
Error message: No data found. Please check the input data and try again.
Try the following actions to fix this issue:
- Point and click the JSON Generator Snap to open the Settings dialog.
- Click Open Editor.
- Verify that properly formatted JSON is present.
LLM account authorization issues
Error message: No account
Try the following actions to fix this issue:
- Point and click the LLM-calling Snap to open the Settings dialog.
- Verify that the LLM account is valid and the Snap Account is configured correctly.
Displays when a downstream LLM-calling Snap is on the canvas but not connected to the Prompt Generator Snap.
Error message: LLM Snap not connected
Try the following actions to fix this issue:
- Close Prompt Composer and connect the LLM-calling Snap.
- Make sure the pipeline validates and open Prompt Composer.