Prerequisites
1
Create Relace Repo from Template
We start by creating a Relace Repo with our public template repository for data analysis.This base repository is in Vite.js with support for React and Tailwind CSS. It can be forked and customized with custom themes & components.
2
Upload Structured Data
Next, we’ll upload our data files to the Relace agents are focused on codegen, so the files you upload should be structured data (i.e. csv, json, etc). Any unstructured data like txt, docx, or xlsx files should only be included if they are small and can be read in one shot.
public
folder of the Relace Repo.3
Run Analysis Agent
Now we’ll execute the analysis agent with a custom query and system prompt. The agent will analyze your data and create an interactive dashboard.The agent will return an SSE stream with execution events and tool calls as a response. See the API reference for more details about how to make use of it.
4
Access Your Dashboard
Once the agent completes execution, your interactive dashboard will be deployed and accessible via a public URL.The generated dashboard can be embedded as an iframe in other applications to easily view results.
5
Iterate and Refine Visualization
You can continue refining your analysis by sending additional requests to the same repository: