Connect with Dataloop
On this page
Dataloop is an end-to-end AI development platform that enables you to integrate data models and applications for building and deploying AI systems (applications).
This integration allows you to:
-
Directly run queries from Dataloop in SingleStore using the integrated service.
-
Automatically create and update tables based on Dataloop dataset information.
-
Upload SingleStore query results directly to Dataloop datasets.
The SingleStore integration in Dataloop uses the SingleStore Python Client.
Prerequisites
-
An active SingleStore Helios deployment.
-
Access to the Dataloop Platform (console).
-
A table in the SingleStore database with at least the following columns:
-
id
: Auto-generated field. -
prompt
: Contains the prompt to create in Dataloop. -
response
: Stores the model responses.This field is automatically populated from the Reinforcement Learning Human Feedback (RLHF) pipeline.
-
Pipeline Nodes
The SingleStore integration in Dataloop provides the following nodes:
-
Import SingleStore
-
Export SingleStore
Import SingleStore
The Import SingleStore node retrieves the prompts from a SingleStore table, adds them to a specified dataset in Dataloop, and creates the prompt items accordingly.
Export SingleStore
The Export SingleStore node updates the best marked response, model name, and id
from Dataloop in the corresponding row in the SingleStore table.
Connect to SingleStore from Dataloop
To connect to SingleStore:
-
Install the SingleStore Integration from Dataloop Marketplace.
-
(Optional) Create a Secret and store the password of the SingleStore database user.
The Secret (password) can also be created/specified while configuring the Dataloop pipelines. -
Create a Dataloop pipeline to SingleStore and specify the SingleStore connection configuration in the Import/Export node configuration.
Install the SingleStore Integration
To install the SingleStore integration in Dataloop,
-
Log in to the Dataloop Platform (console).
-
On the left navigation pane, select Marketplace.
-
Under Dataloop Hub, select Applications.
-
From the list of applications, select SingleStore Integration.
-
Select Install to install the SingleStore Integration.
-
On the Install Application dialog, select Proceed.
-
From the SingleStore Password list, select Add New Secret.
You can also select an existing Secret. To create or specify a Secret later, select Set Up Later. -
On the Create Secret dialog, enter the following:
-
Secret Name: A name for the Secret.
-
Secret: The password for the SingleStore database user used to connect to your SingleStore deployment.
-
-
Select Create Secret > Install Application.
The SingleStore Integration is now installed. Note
The SingleStore Integration only supports username/password based authentication.
Specify the SingleStore connection configuration in the Import/Export node configuration.
Create a Pipeline to SingleStore
To create a pipeline in Dataloop,
-
On the Dataloop Platform, on the left navigation pane, select Pipelines > Create Pipeline > Start from Scratch.
-
On the Set Pipeline Name dialog, enter a name for the pipeline and select Create Pipeline.
-
From the Node Library pane, drag the Import SingleStore or Export SingleStore node to the canvas.
-
Select the node added to the canvas, and set the following parameters for each node:
-
host: IP address or hostname of the SingleStore Helios deployment.
-
user: Name of the SingleStore database user with which to connect.
-
database: Name of the SingleStore database.
-
table_
name: Name of the table in the SingleStore database.
-
-
To specify a different access credential, select Actions > Edit Access Credentials, and select (or create) a Secret.
-
Configure the pipelines as required, and start the pipelines to start data processing.
Last modified: April 10, 2025