An open-source, lightweight generative SQL Java framework based on advanced generative large models at home and abroad

1. Project Overview

A Chinese-developed generative SQL Java framework! Lightweight, easy to use, and easy to extend!
Super-Sql
2. Open Source License
Licensed under Apache-2.0
3. Screenshots

Effectiveness executed in the database.

4. Feature Overview
Main features include:
- Generative SQL
: Utilize powerful generative large models to automatically convert natural language questions into precise SQL query statements. - RAG Training
: Train database table structures using retrieval-augmented generation technology to improve SQL generation accuracy and efficiency. - Type Safety and Flexibility
: Combine Java's generic mechanism to ensure compile-time type checking while providing a concise and intuitive API design, easy to integrate into existing projects. - Multi-Database Support
: Compatible with multiple mainstream database systems, meeting the needs of different application scenarios. - Performance Optimization
: Carefully designed and optimized to maintain good readability while ensuring high efficiency execution.
Super-Sql is suitable for those who want to perform complex database operations quickly and securely in Java applications and want to use natural language processing technology to quickly enable AI for traditional enterprise applications.
Super-Sql Working Principle
Super-Sql's working principle is based on RAG technology, using retrieval-augmented generation technology to train database table structures through deep learning, achieving intelligent conversion from natural language text to SQL queries.

5. Tech Stack
Super-Sql Quick Start
Import Super-Sql's Maven dependency
Configure Super-Sql's configuration file
Configure init-train configuration item, default is false, indicating no training, if true, automatically train according to database connection configuration for full-table training.
Large Language Model Configuration
More content, please refer to README.md document
-
[ Spring-AI ]: Spring AI is an application framework for AI engineering. Its goal is to apply Spring ecosystem design principles (such as portability and modular design) to the AI field and promote the use of POJO as building blocks for AI applications.