Troubleshoot Prompt Composer

Prompt Composer displays error messages for a range of issues. You can troubleshoot these error messages using the following information.

LLM downstream Snap error

Error message: The downstream LLM Snap failed to process the data. Please check the LLM Snap and try again.

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.
Note: The following Snaps aren’t classified as downstream LLM Snaps but still might be used downstream from the Prompt Generator Snap:
  • PipeLoop
  • Pipeline Execute
  • HTTP Client
  • Tool-calling Snaps

Prompt Assistant timeout

Error message: Error: Assistant timed out. Please try again..

Try the following actions to fix this issue:

  1. Check the LLM-calling Snap configuration.
  2. Validate the pipeline.
  3. Open Prompt Composer and click Update.

No incoming data

Error message: No data found. Please check the input data and try again.

Try the following actions to fix this issue:

  1. Point and click the JSON Generator Snap to open the Settings dialog.
  2. Click Open Editor.
  3. In the JSON editor, check the formatting of the data and fix any issues.
  4. If the JSON data exceeds 10MB, consider breaking up the data sample into smaller sizes.

Account issues

Error message: The downstream LLM Snap must be configured with an account. Please configure an account and try again..

Try the following actions to fix this issue:

  1. Point and click the LLM-calling Snap to open the Settings.
  2. Verify that the Prompt* field value is $prompt.

No LLM Snaps

Error message: No LLM Snap found in the pipeline downstream. Please add a LLM Snap to the pipeline.

  1. Add an LLM-calling Snap.
  2. Make sure the LLM-calling Snap is configured with a valid account.

LLM account authorization issues

Error message: The downstream LLM Snap must be configured with an account. Please configure an account and try again

Try the following actions to fix this issue:

  1. Point and click the LLM-calling Snap to open the Settings dialog.
  2. Verify that the LLM account is valid and the Snap Account is configured correctly.

LLM Snap is not connected

Error message: The downstream LLM Snap is not connected to the current snap. Please connect the LLM Snap to the current snap and try again.

Try the following actions to fix this issue:

  1. Close Prompt Composer and connect the LLM-calling Snap.
  2. Make sure the pipeline validates and open Prompt Composer.