crazycloud/data-analysis-llm-agent

A Data analysis agent powered by llm for querying database and visualizing results

44
/ 100
Emerging

Built on Chainlit with GPT-3.5-turbo and OpenAI function calling, it enables multi-turn conversations where the LLM autonomously decides when to query databases or generate visualizations, with automatic retry logic on database errors. The agent introspects database schema to generate SQL queries and handles errors through iterative refinement—feeding error messages back into conversation context so the LLM can self-correct up to a configurable maximum iterations. Integrates with SQLite and matplotlib for charting, though the README emphasizes key limitations: the LLM can generate syntactically valid but semantically incorrect queries, lacks awareness of actual data distributions, and may struggle with different numeric scales across columns.

No commits in the last 6 months.

Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 9 / 25
Maturity 16 / 25
Community 19 / 25

How are scores calculated?

Stars

83

Forks

18

Language

Python

License

Apache-2.0

Last pushed

May 06, 2024

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/agents/crazycloud/data-analysis-llm-agent"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.