WrenAI  by Canner

GenBI agent for querying databases with natural language

created 1 year ago
8,963 stars

Top 5.8% on sourcepulse

GitHubView on GitHub
Project Summary

Wren AI is an open-source Generative Business Intelligence (GenBI) agent designed for data-driven teams to interact with databases using natural language. It enables users to generate SQL queries, charts, and AI-driven insights from their data, simplifying complex analysis and decision-making.

How It Works

Wren AI employs a Retrieval-Augmented Generation (RAG) architecture. It utilizes a semantic engine to build a contextual understanding of business terms and data schemas, mapping them to data sources. This context, stored in a vector database, is retrieved to guide Large Language Models (LLMs) in generating accurate SQL queries and insights without exposing raw data to the LLM.

Quick Start & Requirements

  • Install: Setup is described as achievable within 3 minutes. Specific installation commands are not detailed in the README, but an Installation Guide is linked.
  • Prerequisites: Supports various LLMs including OpenAI, Azure OpenAI, Gemini, Anthropic, Groq, and Ollama. Performance is highly dependent on the chosen LLM.
  • Links: Installation Guide, Usage Guides, Documentation, API Documentation.

Highlighted Details

  • Supports multiple natural languages for querying.
  • Features "GenBI Insights" for AI-generated summaries and reports from query results.
  • Includes AI-powered data exploration with recommended follow-up questions.
  • Offers an API for embedding GenBI capabilities into other applications.

Maintenance & Community

  • Community channels include Discord and GitHub Issues.
  • A public roadmap is available for tracking upcoming features.
  • Discord Server

Licensing & Compatibility

  • The README does not explicitly state the license.

Limitations & Caveats

The project's performance is heavily reliant on the quality of the selected LLM, with less capable models potentially leading to reduced accuracy and slower response times.

Health Check
Last commit

1 day ago

Responsiveness

1 day

Pull Requests (30d)
30
Issues (30d)
9
Star History
1,790 stars in the last 90 days

Explore Similar Projects

Starred by Jason Liu Jason Liu(Author of Instructor) and Ross Taylor Ross Taylor(Cofounder of General Reasoning; Creator of Papers with Code).

Search-R1 by PeterGriffinJin

1.3%
3k
RL framework for training LLMs to use search engines
created 5 months ago
updated 3 weeks ago
Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Elie Bursztein Elie Bursztein(Cybersecurity Lead at Google DeepMind), and
7 more.

mindsdb by mindsdb

0.5%
35k
AI query engine for federated data sources
created 7 years ago
updated 1 day ago
Feedback? Help us improve.