Get Started with Prompt Composer

The Prompt Composer is launched from the Prompt Generator Snap.
You use the Prompt Composer for developing GenAI apps, assistants, and agents.

You need the following:

  • Subscription to AgentCreator
  • LLM Snap Pocks in your environment
  • SnapLogic Snap accounts configured for LLM vendors
  • The pipeline Validation setting is Enabled in your project
  1. Log into Designer and open the Snap Catalog or Asset Palette.
  2. In the Snap Catalog search field, enter the search string prompt and press ENTER.
    The following options display in the results.
    1. Click and drag the Snap onto the canvas.
    2. Point and click the Snap to open the Settings dialog.
    3. Click Open Prompt Composer.
      The following pop-up displays:


    4. Click the Validate button under the message. The Prompt Composer console opens.
  3. To input data, add any Snap that connects to a data source before the Prompt Generator Snap.
    For example, add and configure a JSON Generator or a File Reader Snap.
  4. Add a Snap that calls an LLM after the Prompt Generator.
    1. Configure and select the Snap account used to access your LLM.
    2. Configure the Snap, making sure to select the vendor LLM model.
  5. Enter your prompt in the Prompt editor, press ENTER and click Update.
    Use SnapGPT for Prompts to help you refine an existing prompt or generate a new prompt.
    The Rendered template is populated with the Prompt, and then the LLM response is returned.
    If the LLM response window does not populate with the returned response, complete the following steps:
    1. Close the console by clicking X in the top right corner.
    2. In Designer, click the Validate icon in the toolbar.
    3. Relaunch Prompt Composer.
    4. If the Prompt Console LLM Response field is still empty, check the Date Preview of the text generation Snaps for messages indicating that the LLM was unable to respond.
  6. When your session is finished, click Done.
    Prompt Composer saves your changes, re-validates the pipeline, and closes the console.