You can use SnapGPT to generate expressions for the Mapping table.
- Open the Mapper Snap and SnapGPT.
Generate SnapLogic expressions appears above the prompt (lower right side).
- Validate the pipeline to get the preview of the input data.
Skip this step if there is no data to be provided for the Mapper Snap.
- Click Generate SnapLogic expressions to generate an example prompt.
Note that the example prompt is highlighted.
-
Replace the highlighted text in the prompt with what you want SnapGPT to generate.
In this example we replaced the highlighted text with
generate SnapLogic expressions to extract exchange rates and currency from european central bank.
- In the SnapGPT Preview, select the mappings you want to keep and click Keep Selected.
The mappings are added to the Mapping table in the Mapper Snap.