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

Open SourceOpen Source Systems
2026-06-09 23:27 5 次浏览 • 0 次下载 183.2KB
An open-source, lightweight generative SQL Java framework based on advanced generative large models at home and abroad

1. Project Overview

logo

A Chinese-developed generative SQL Java framework! Lightweight, easy to use, and easy to extend!

Super-Sql

Super-Sql is a Java framework based on advanced generative large models from home and abroad, focusing on training database table structures through retrieval-augmented generation (RAG, Retrieval-Augmented Generation) technology, thereby achieving intelligent conversion from natural language text to SQL queries (Text to SQL). The framework aims to simplify complex database query processes, enabling developers and users to obtain the desired data through simple natural language descriptions.

2. Open Source License

Licensed under Apache-2.0

3. Screenshots

Request example

Effectiveness executed in the database.

Request example

Image
Image

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.

super-sql-ai

5. Tech Stack

Super-Sql Quick Start

Import Super-Sql's Maven dependency

<dependency>
    <groupId>com.aispace.supersql</groupId>
    <artifactId>super-sql-spring-boot-starter</artifactId>
    <version>1.0.0-M1-SNAPSHOT</version>
</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.

super-sql:
  init-train: false

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.
#1
资源直链https://pan.baidu.com/s/1C6v9M5FIT39ObfTdK8AruA&pwd=2b40
去下载
星河码客

发现和分享优质开源项目,传承互联网精神,为开发者服务。

关于本站

联系我们

微信/广告合作:ITcloub (备注星河码客)

免责声明:本站资源版权归原作者所有,仅供学习与交流。如有侵权,请通过「关于我们 - 侵权投诉」联系删除。

Powered by Nuxt · Deployed on Cloudflare