Skip to content

Hasan8123/AI-Data-Analysis-Agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📊 AI Data Analysis Agent

An AI data analysis Agent built using the Agno Agent framework and Openai's gpt-4o model. This agent helps users analyze their data - csv, excel files through natural language queries, powered by OpenAI's language models and DuckDB for efficient data processing - making data analysis accessible to users regardless of their SQL expertise.

Features

  • 📤 File Upload Support:

    • Upload CSV and Excel files
    • Automatic data type detection and schema inference
    • Support for multiple file formats
  • 💬 Natural Language Queries:

    • Convert natural language questions into SQL queries
    • Get instant answers about your data
    • No SQL knowledge required
  • 🔍 Advanced Analysis:

    • Perform complex data aggregations
    • Filter and sort data
    • Generate statistical summaries
    • Create data visualizations
  • 🎯 Interactive UI:

    • User-friendly Streamlit interface
    • Real-time query processing
    • Clear result presentation

How to Run

  1. Setup Environment

    # Clone the repository
    git clone https://github.com/Hasan8123/AI-Data-Analysis-Agent.git
    cd AI-Data-Analysis-Agent
    
    # Install dependencies
    pip install -r requirements.txt
  2. Configure API Keys

  3. Run the Application

    streamlit run ai_data_analyst.py

Usage

  1. Launch the application using the command above
  2. Provide your OpenAI API key in the sidebar of Streamlit
  3. Upload your CSV or Excel file through the Streamlit interface
  4. Ask questions about your data in natural language
  5. View the results and generated visualizations

About

This AI Data Analysis Agent is a Streamlit-powered tool that allows users to analyze CSV and Excel files using natural language queries. It leverages the Agno framework, OpenAI's GPT-4o, and DuckDB to automatically convert your questions into SQL for instant data insights and visualizations.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages