SnapGPT

Overview

SnapGPT is an AI-driven platform that helps you generate your pipelines from text prompts.


SnapGPT panel in Designer

Features

You can use SnapGPT to:
  • Build pipelines using simple prompts
  • Describe pipelines
  • Analyze pipelines
  • Ask anything about the SnapLogic Intelligent Integration Platform (IIP)
  • Generate SnapLogic expressions
  • Create SQL queries
  • Detach the panel and move it anywhere on the Designer canvas. You can drag and resize the panel to see chat content clearer.
Note: SnapGPT supports reading schemas using Private Snap Packs. Currently, a Private Snap Pack for MySQL with this functionality is available. Consult your CSM to learn more.

SnapGPT presents a navigation flow to guide you to the outcome you want. These flows are presented as Skills. Each menu selection corresponds to an action that brings you closer to your objective.

In the June 2024 release, SnapGPT introduces three Skills.
  • Pipeline Skills: Enable you to proceed immediately with building pipelines based on your prompts. We highly encourage you to experiment earnestly with these flows, which provide a more self-guided experience. You can choose from any one of the following flows:
    • Generate a pipeline through prompts. You can choose to implement RAG pipelines for additional context. When the pipeline is generated, you can proceed with learning more about that skill.
    • Get an analysis of the pipeline you have on the Designer canvas. The analysis reports errors and other issues with the pipeline design. This flow helps with the iterative development of a pipeline.
    • View a description of a pipeline. You can ask SnapGPT to describe a pipeline through an upload or by pasting the .slp file contents into the window. This flow might prove fruitful for those who learn by example. You can browse pipelines in the Pattern or Pipeline Catalogs and analyze them.
  • Contextual Skills offer learning guidance within the context of Snap configuration activities. You can view video content and documentation to understand how to generate an expression, configure the Mapper Snap, and build SQL statements.
  • Knowledge Skills give initial guidance through suggestions. This flow enables you to get started with SnapGPT.

To improve interactions, SnapGPT provides a link referencing the source content.

SnapGPT User Preferences

Click the gear icon to open the Settings dialog. You can opt to have SnapGPT open every time you navigate to Designer. For each SnapGPT session, you can do the following:
  1. Select the LLM from the dropdown. The list populates with the LLMs in your Org/Environment.
  2. Select the level of multiple-mode LLM requests.
  3. Enter a list of pipeline IDs for reference to template pipelines for better contexts.
  4. Select the Retrieval Augmented Generation (RAG) settings (Auto, Manual, and Disabled).

(RAG) as a way to improve results based on existing artifacts in your environment (Org). RAG is an implementation that helps power accurate results based on what the user is asking for. Because other LLMs do not have context before 2022, RAG adds those extra contexts from your knowledge archive or personal databases. RAG also decreases the chance of LLM hallucinations when the most accurate answer is unavailable.

RAG settings are set by the Org admin in Admin Manager > SnapGPT Settings. The Org settings determine the settings available to the user.

Users can also specify the RAG settings in their interaction with SnapGPT in the Use my existing pipelines for enhanced pipeline generation dropdown.

RAG settings matrix

The following table describes the relationship between Org and user settings:

Org Setting User Setting Result
Auto Auto

When Auto is selected, pipelines are recommended by SnapGPT. Suggests 5 pipelines for you to choose from, to generate a new pipeline.

Manual or Disable You can also choose either to select the recommended pipelines manually or to disable the RAG settings entirely.
Manual Manual or Disable You can also choose either to select the recommended pipelines manually or to disable the RAG settings entirely.
Disable N/A RAG is disabled.

Effective prompts

The usefulness of the results you get from SnapGPT depends on the quality of the prompts you enter. The best prompts are:
  • Clear: Be precise to help SnapGPT determine the most suitable response.
  • Concise: Be brief to reduce latency in responses.
  • Consistent: Be consistent to help SnapGPT learn quickly and avoid variability in the results.

You must be very specific in your request to get the best possible experience from SnapGPT.

Keep refining your questions to get the best results from SnapGPT.
  • Good: how do i schedule a pipeline?
  • Better: how do i schedule a pipeline to run on a daily basis?
  • Best: how do i schedule a pipeline to run every day at 9AM UTC?

Dos

  • Be specific in your prompt. For example, specify the endpoints you want to integrate (such as Salesforce, Snowflake, Google BigQuery, AWS S3, or REST API). Specify the data you want to extract or transform, such as a Salesforce Opportunity.
  • Use the prompts suggested by SnapGPT. Replace the highlighted portion with your specific use case.

Don'ts

  • Do not ask SnapGPT general questions such as What is the capital of Florida?
  • Do not include sensitive data such as account credentials in your prompt. You can enter the account details when you configure the account.

Example prompts

  • Create a SnapLogic pipeline to join tables t1 and t2 and insert the output in table t3.
  • Generate and save a SnapLogic pipeline to create a Snaplex. Open the REST Post Snap to configure.
  • Create a SnapLogic pipeline to download a CSV file from S3 and query the CSV file for records that have the zip code 78660.
  • Generate a pipeline with a JSON Generator that contains 10 sample Salesforce lead objects.
  • Read a file in CSV format and write to Google Sheets.
  • Get Salesforce opportunities and write to BigQuery.
  • Get exchange rates from the European Central Bank and write the output to a JSON file.
  • Use an API to compute carbon emissions based on 50 kWh electricity consumption in FL, USA.

For more examples, refer to the SnapGPT Prompt Catalog

Known issues

  • You might experience significant latency (up to one minute) or timeout issues, depending on the complexity of the request and the capacity of the LLM provider.
  • As with all large language models, SnapGPT can occasionally be unreliable or inconsistent in its responses.
Note: SnapGPT is powered by publicly-available large language models (LLMs), so the prompts you enter query the entire dataset of the LLMs and is not limited to specific SnapLogic data. Generic parts of prompts are sent anonymously to the supported LLMs.