I have built a agent that has access to csv file uploaded as a data source (2 columns and 3565 rows). I am trying chat with data source and I get an error:
I can provide that, but I don’t have the actual dataset values in this session. Please share the table (or grant access to the data source), and I’ll return the exact Cell Availability Rate (%) for CU 38.
Attached is the remix link
https://app.mindstudio.ai/agents/5g-kpi-agent-ae2b5657/remix
Hi @imranwfld,
Thanks for the post!
There are two possible issues to check:
-
Make sure you’ve selected the correct Data Source in the Chat blocks of your Agent:
-
When you upload files to Data Sources, the text is extracted, split into chunks, and vectorized. The table structure isn’t preserved, so the AI won’t be able to reference a specific cell
You can learn more about Data Sources here:
Here are some alternatives for your use case:
- Pass the values directly to an AI model in CSV, JSON, or Markdown format. You can paste them into:
- System Prompt
- Generate Text or Display Content blocks (make sure these are set to include outputs in Chat History)
- Fetch Google Sheets block
- Consider using Dynamic Tool Use with a Custom Function to look up values in your CSV file:
MindStudio Update: Dynamic Tool Use in Chat Block | Sean Thielen posted on the topic | LinkedIn