This example pipeline demonstrates how to retrieve data from knowledge base and also
generate a resposne.
Download this pipeline.
-
Configure the Agent Retrieve and Generate Snap with the
following:
- Specify the Knowledge base ID which you need to query.
- Specify the Prompt as "what is the number of
Federal fires in 2018?"
- Specify the Model to which you have access to.
-
On validation, the Snap retrieves the data about the number of Federal fires in 2018
and the references relevant to the prompt. It also generates a Session ID to continue the
conversation.
-
To continue the conversation, copy the Session ID from the output and paste it in the
Session ID field of the Snap and update the
Prompt to "what is the numbe of Federal fires in the
next year?"
On validation, the Snap retrieves the data about the number of wild fires in 2019.
To successfully reuse pipelines:
- Download and import the pipeline into SnapLogic Platform.
- Configure Snap accounts, as applicable.
- Provide pipeline parameters, as applicable.