Blocks
Data Analysis Agent
Advanced data analysis and insights agent
Create a sophisticated data analysis agent that can process datasets, identify patterns, generate insights, create visualizations, and provide actionable recommendations based on statistical analysis.
Block Preview
Data Analysis Agent
Advanced data analysis and insights agent
Usage
- Add the block to your workflow and connect it to the upstream step.
- Configure any required credentials or tokens in the inputs.
- Fill in required inputs and optional parameters for the run.
- Run a test execution, inspect outputs, and iterate before deploying.
- Deploy the data_analysis_agent block with monitoring enabled in production.
Inputs (UI)
System Prompt
long-inputPlaceholder: You are a data scientist and analyst...
Layout: full
Dataset
long-inputPlaceholder: Enter dataset (CSV, JSON) or describe the data to analyze...
Layout: full
Analysis Type
dropdownLayout: half
Options: Descriptive Analysis, Trend Analysis, Correlation Analysis, Anomaly Detection
Analysis Goal
short-inputPlaceholder: e.g., Identify sales trends, Find performance issues...
Layout: half
Model
dropdownLayout: half
Options: Dynamic options
Temperature
sliderLayout: half
API Key
short-inputPlaceholder: Enter your API key
Layout: full
Condition: model = ["qwen2.5:0.5b","qwen2.5:1.5b","qwen2.5:3b","llama3.2:1b","llama3.2:3b","phi3.5:3.8b"]
Analysis Parameters
codePlaceholder: { "confidenceLevel": 0.95, "significanceThreshold": 0.05, "outlierMethod": "iqr", "correlationThreshold": 0.7, "trendPeriod": "monthly", "includeSeasonality": true }
Layout: full
Visualization Types
dropdownLayout: half
Options: Auto-select, Charts & Graphs, Statistical Plots, Heatmaps
Output Detail
dropdownLayout: half
Options: Summary, Detailed, Technical, Executive
Include Statistics
switchLayout: half
Generate Visualizations
switchLayout: half
Tools
tool-inputLayout: full
Response Format
codePlaceholder: { "type": "object", "properties": { "insights": { "type": "array", "items": { "type": "object", "properties": { "type": {"type": "string", "enum": ["trend", "correlation", "anomaly", "pattern"]}, "description": {"type": "string"}, "confidence": {"type": "number"}, "impact": {"type": "string", "enum": ["high", "medium", "low"]} } } }, "statistics": {"type": "object"}, "visualizations": {"type": "array"}, "recommendations": {"type": "array", "items": {"type": "string"}}, "dataQuality": {"type": "object"} } }
Layout: full
Knowledge Sources
knowledge-source-inputLayout: full
Max Search Results
sliderLayout: half
Condition: knowledgeSources = ""
Similarity Threshold
sliderLayout: half
Condition: knowledgeSources = ""
Enable Memory
switchLayout: half
Memory Limit
sliderLayout: half
Condition: memoryEnabled = true
Importance Threshold
sliderLayout: half
Condition: memoryEnabled = true
Memory Tags
short-inputPlaceholder: customer-support, billing, technical
Layout: half
Condition: memoryEnabled = true
Inputs (API)
systemPrompt
stringOptional
dataset
stringRequired
analysisType
stringOptional
analysisGoal
stringOptional
model
stringRequired
apiKey
stringRequired
temperature
numberOptional
analysisParameters
jsonOptional
visualizationTypes
stringOptional
outputDetail
stringOptional
includeStatistics
booleanOptional
generateVisualizations
booleanOptional
tools
jsonOptional
responseFormat
jsonOptional
knowledgeSources
stringOptional
searchMaxResults
numberOptional
similarityThreshold
numberOptional
memoryEnabled
booleanOptional
memoryLimit
numberOptional
memoryImportance
numberOptional
memoryTags
stringOptional
Outputs
Primary response type:
{
"content": "string",
"model": "string",
"insights": "json",
"statistics": "json",
"visualizations": "json",
"recommendations": "json",
"dataQuality": "json",
"tokens": "json"
}Conditional output based on: responseFormat
When empty: {"content":"string","model":"string","insights":"json","statistics":"json","visualizations":"json","recommendations":"json","dataQuality":"json","tokens":"json"} | When filled: "json"