Skip to content
/ WrenAI Public
forked from Canner/WrenAI

WrenAI makes your database RAG-ready. Implement Text-to-SQL more accurately and securely.

License

Notifications You must be signed in to change notification settings

qdrddr/WrenAI

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Wren AI

Wren AI is a text-to-SQL solution for data teams to get results and insights faster by asking business questions without writing SQL.

wrenai_overview

๐Ÿ•ถ Try Our Demo!

Play around with Wren AI yourself!

๐ŸŽฏ Our Vision & Mission

Wren AIโ€™s mission is to democratize data by bringing text-to-SQL ability to any data source and industry. We believe that breakthroughs in Text-to-SQL technology will usher in a new era of Data Democratization.

๐Ÿคฉ About our Vision

๐Ÿ™Œ About our Mission

๐Ÿ‘Š Text-to-SQL End-To-End Solution

1. Indexing With Semantics

Wren AI has implemented a semantic engine architecture to provide the LLM context of your business; you can easily establish a logical presentation layer on your data schema that helps LLM learn more about your business context.

2. Augment LLM Prompts

With Wren AI, you can process metadata, schema, terminology, data relationships, and the logic behind calculations and aggregations with โ€œModeling Definition Languageโ€ (MDL), reducing duplicate coding and simplifying data joins.

3. Generate Insights

When starting a new conversation in Wren AI, your question is used to find the most relevant tables. From these, LLM generates three relevant questions for the user to choose from. You can also ask follow-up questions to get deeper insights.

4. Self-Learning Feedback Loop (Coming Soon)

The AI self-learning feedback loop is designed to refine SQL augmentation and generation by collecting data from various sources. These include user query history, revision intentions, feedback, schema patterns, semantics enhancement, and query frequency.

๐Ÿ”ฅ Preview

Ask your business questions and follow-up insights

Modeling with semantics, such as relationships, metrics, and calculations

๐Ÿค” Why Wren AI?

We focus on providing an open, secure, and reliable text-to-SQL solution for everyone.

1. Turnkey Solution

Wren AI makes it easy to onboard your data. Discover and analyze your data with our user interface. Effortlessly generate results without needing to code.

2. Secure By Design

Your database contents will never be transmitted to the LLM. Only metadata, like schemas, documentation, and queries, will be used in semantic search.

3. Open-Source

Deploy Wren AI anywhere you like on your own data, LLM APIs, and environment, it's free.

๐Ÿค– Wren AI's Architecture

Wren AI consists of three core services:

  • Wren UI: An intuitive user interface for asking questions, defining data relationships, and integrating data sources within Wren AI's framework.

  • Wren AI Service: Processes queries using a vector database for context retrieval, guiding LLMs to produce precise SQL outputs.

  • Wren Engine: Serves as the semantic engine, mapping business terms to data sources, defining relationships, and incorporating predefined calculations and aggregations.

wrenai_works

โค๏ธ Knowledge Sharing From Wren AI

Want to get our latest sharing? Follow us on Medium!

๐Ÿšง Project Status

Wren AI is currently in alpha version. The project team is actively working on progress and aiming to release new versions at least biweekly.

๐Ÿš€ Getting Started

Using Wren AI is super simple, you can setup within 3 minutes, and start to interact with your own data!

๐Ÿ“š Documentation

Visit Wren AI documentation to view the full documentation.

โญ๏ธ Community

Do note that our Code of Conduct applies to all Wren AI community channels. Users are highly encouraged to read and adhere to them to avoid repercussions.

About

WrenAI makes your database RAG-ready. Implement Text-to-SQL more accurately and securely.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 70.7%
  • Python 24.0%
  • JavaScript 2.1%
  • Go 1.8%
  • Less 0.8%
  • Dockerfile 0.2%
  • Other 0.4%