05-17-2023 05:44 PM - last edited on 07-25-2023 04:11 PM by dmiller
SnapGPT is a generative AI solution in early release and currently available only to users who have been invited to SnapLabs. Built right into the SnapLogic web interface (screenshot below), you can now prompt SnapGPT for a wide variety of help creating Pipelines, configuring Snaps, for suggestions about which Snap to use, and so much more.
In this section we cover a few examples that should be repeatable as a way to send your first few prompts to SnapGPT and observe the outcome. After that you can explore our SnapGPT Prompt Catalog, which contains even more prompts to copy/paste into SnapGPT as you explore.
One caveat here is that as a generative AI solution that is always learning, it is possible that outcomes will change over time. When SnapGPT creates a Pipeline for you it will be a bit like importing a Pipeline in the sense that it will have a wizard to help select accounts and finalize the Pipeline.
Log in at https://snapgpt.labs.snaplogic.com
If SnapGPT is not shown by default, press the SnapGPT button in the upper-right corner of the SnapLogic web interface to make it visible; to make it always visible, click your name in the upper-right corner > User Settings > Opt-in Features > Check the box for “Open SnapGPT by Default”:
A new box will appear on the right-hand side of the SnapLogic web interface for you to start typing to SnapGPT:
Now let’s talk about getting your feet wet, hands dirty, or whatever saying floats your boat. Below are several examples you can use to start exploring SnapGPT and they should be precise enough to yield consistent results.
Our first example is one that will generate a short but complete Pipeline for us. With any generative AI, SnapGPT included, it is important to remember that the more specific you are with the prompt the more accurate a response you will receive, or in this example, the more accurate a Pipeline we will receive.
Prompt: “Create a Pipeline using Salesforce Read to fetch my Opportunities, Filter out any opportunities outside of the last fiscal quarter, then write them to Snowflake.”
Here is a screenshot of the short Pipeline created by SnapGPT that closely resembles the prompt we provided:
Inside the Filter Snap we can see that SnapGPT created an expression for us to filter the $CloseDate file for us:
At some point we were all new to using SnapLogic and we learned it from CSM-led training, trial-and-error, reviewing existing pipelines, etc. What we did not have was an always-on AI assistant ready to answer our questions (we still love you Iris and wouldn’t be here without you!). This example helps show us how SnapGPT can be prompted with natural language to let us know exactly what Snap we need.
Prompts:
Another example of using SnapGPT more for educational purposes or documentation skimming would be to ask it when you might want to use one Snap instead of another.
Prompt: “When would I need to use the Salesforce SOQL snap instead of the Salesforce Read snap?”
We can also use SnapGPT to generate sample data, for those times when we need to get started on a business process and show some results but maybe we don’t yet have access to the source system.
Prompt: “Create a single-snap pipeline with a JSON Generator that has 10 example Salesforce Lead records”
It is also possible to use SnapGPT to pull data from a third-party site such as exchange data.
Prompt: “Fetch exchange rate data from the European Central Bank and save it to a JSON file”
As with any early access release of software, especially generative AI that is always learning, there are some key points to keep in mind as you explore SnapGPT and share feedback with the SnapLogic team (including any previously mentioned and/or typical disclaimers about using ChatGPT or SnapGPT):
Our goal is to provide several ways to interact with our team, which we’ve broken out below.
07-27-2023 05:28 AM
I got the email as an engineer to start the trial at the RNLI, however the labs link did not like my credentials. Anyone able to help please?
07-27-2023 03:51 PM
@JC I can help you with that.
07-28-2023 01:39 AM
Thank you, I replied to you in DM's