Team Ai
Apppublic

shashank1601/intelligent-data-analyst-agent

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
App README

Intelligent Data Analyst Agent

FastAPI service that:

  • —Ingests a CSV
  • —Auto-preprocesses features
  • —Chooses classification vs regression
  • —Trains a small PyTorch MLP
  • —Returns metrics + a human-readable report
  • —Generates an LLM summary via HF Inference API (if HF_TOKEN set), else local Transformers fallback.

Endpoints

  • —GET / – health
  • —POST /analyze – upload CSV
  • —POST /explain – direct LLM explanation (API path)
  • —GET /debug/status – shows if HF_TOKEN is present

Secrets

  • —HF_TOKEN – HF access token (Space → Settings → Variables and secrets)
  • —HF_LLM_MODEL – (optional) default google/flan-t5-small