Invoke agent to generate a response

This example pipeline demonstrates how to send a prompt and invoke the agent to generate a response.

Prerequisites

  1. Configure the Invoke Agent Snap to invoke the specified agent and prompt as shown below.

    Invoke Agent config

  2. Validate the Snap.
    On validation, the Snap invokes the agent and gets the response of the top five cars with their price.
    Invoke Agent Output
To successfully reuse pipelines:
  1. Download and import the pipeline into SnapLogic Platform.
  2. Configure Snap accounts, as applicable.
  3. Provide pipeline parameters, as applicable.