When working with Tools, you might need to save the results into a dataset. This can be easily done using Relevance’s Insert data in a dataset step.Documentation Index
Fetch the complete documentation index at: https://relevanceai.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
How to use a Insert data in a dataset step
Add the component
To insert data into a dataset, you need to add a “Insert data in a dataset” step to your Tool (check how to get started with creating a tool).
Dataset id

- if you enter the name of an existing dataset, new entries will be added to it
- if a new name is entered, a new dataset will be created to which the new entries will be saved
{{}} to provide the dataset name.
For instance, if the dataset name is under an input component called ds_name, using {{ds_name}} in the
Dataset id field will pass the typed value to be used as the name.
Documents
“Documents” is a list (array) of JSON object. You can- manually enter each document (i.e. JSON object) individually using the
+ Add newbutton - switch to the variable mode (as shown in the image above) and pass on the name of the variable containing the list of JSON objects
- How to run a step
- How to delete a step
- How to configure output
- How to configure a default value
- How to move a step in a Tool
- How to duplicate a step
- How to add condition to a step (i.e. execute only if a condition is met)
- How to loop a step (i.e. run one step multiple times)

