text-to-sql

There are 119 repositories under text-to-sql topic.

  • vanna

    vanna-ai/vanna

    🤖 Chat with your SQL database 📊. Accurate Text-to-SQL Generation via LLMs using RAG 🔄.

    Language:Python12.4k953241k
  • sqlchat

    sqlchat/sqlchat

    Chat-based SQL Client and Editor for the next decade

    Language:TypeScript4.7k3070414
  • Dataherald/dataherald

    Interact with your SQL database, Natural Language to SQL using LLMs

    Language:Python3.4k2543239
  • WrenAI

    Canner/WrenAI

    🚀 An open-source SQL AI (Text-to-SQL) Agent that empowers data, product teams to chat with their data. 🤘

    Language:TypeScript2.6k25168252
  • eosphoros-ai/Awesome-Text2SQL

    Curated tutorials and resources for Large Language Models, Text2SQL, Text2DSL、Text2API、Text2Vis and more.

  • eosphoros-ai/DB-GPT-Hub

    A repository that contains models, datasets, and fine-tuning techniques for DB-GPT, with the purpose of enhancing model performance in Text-to-SQL

    Language:Python1.5k20157189
  • microsoft/ContextualSP

    Multiple paper open-source codes of the Microsoft Research Asia DKI group

    Language:Python377163361
  • HKUSTDial/NL2SQL_Handbook

    This is a continuously updated handbook for readers to easily track the latest NL2SQL (Text-to-SQL) techniques in the literature and provide practical guidance for researchers and practitioners.

    Language:Python2639113
  • MindSQL

    Mindinventory/MindSQL

    MindSQL: A Python Text-to-SQL RAG Library simplifying database interactions. Seamlessly integrates with PostgreSQL, MySQL, SQLite, Snowflake, and BigQuery. Powered by GPT-4 and Llama 2, it enables natural language queries. Supports ChromaDB and Faiss for context-aware responses.

    Language:Python24891521
  • premAI-io/premsql

    End-to-End Local-First Text-to-SQL Pipelines

    Language:Python24462313
  • salesforce/TabularSemanticParsing

    Translating natural language questions to a structured query language

    Language:Jupyter Notebook224104351
  • totalhack/zillion

    Make sense of it all. Semantic data modeling and analytics with a sprinkle of AI. https://totalhack.github.io/zillion/

    Language:Python18611176
  • X-LANCE/text2sql-lgesql

    [ACL 2021] This is the project containing source codes and pre-trained models about ACL2021 Long Paper ``LGESQL: Line Graph Enhanced Text-to-SQL Model with Mixed Local and Non-Local Relations".

    Language:Python14732437
  • deepsense-ai/db-ally

    Efficient, consistent and secure library for querying structured data with natural language

    Language:Python135395
  • aws-samples/generative-bi-using-rag

    A solution guidance for Generative BI using Amazon Bedrock, Amazon OpenSearch with RAG

    Language:Python13161140
  • aws-samples/text-to-sql-bedrock-workshop

    This repository is intended for those looking to dive deep on advanced Text-to-SQL concepts.

    Language:Jupyter Notebook935321
  • glee4810/EHRSQL

    [NeurIPS'22] EHRSQL: A Practical Text-to-SQL Benchmark for Electronic Health Records

    Language:Python753510
  • Chirayu-Tripathi/nl2query

    A framework for converting natural language text inputs to corresponding Pandas, MongoDB, Kusto and Neo4j (Cypher) queries.

    Language:Python73626
  • lyuqin/HydraNet-WikiSQL

    Code and trained model for Hybrid ranking network for text-to-SQL on WikiSQL

    Language:Python6621618
  • wshi83/EhrAgent

    [EMNLP'24] EHRAgent: Code Empowers Large Language Models for Complex Tabular Reasoning on Electronic Health Records

    Language:Python664610
  • tshu-w/DBCopilot

    Code and data for the paper "DBCᴏᴘɪʟᴏᴛ: Scaling Natural Language Querying to Massive Databases"

    Language:Python594710
  • OSU-NLP-Group/llm-planning-eval

    [ACL'24] Code and data of paper "When is Tree Search Useful for LLM Planning? It Depends on the Discriminator"

    Language:Python52423
  • aws-samples/build-an-agentic-llm-assistant

    Labs for the "Build an agentic LLM assistant on AWS" workshop. A step by step agentic llm assistant development workshop using serverless three-tier architecture.

    Language:Jupyter Notebook488115
  • gqlpt

    rocket-connect/gqlpt

    Leverage AI to generate GraphQL queries from plain text.

    Language:TypeScript48431
  • Laqcce-cao/RSL-SQL

    RSL-SQL: Robust Schema Linking in Text-to-SQL Generation

    Language:Python45184
  • MSR-LIT/Splash

    Release of SPLASH: Dataset for semantic parse correction with natural language feedback in the context of text-to-SQL parsing

  • databrainhq/dataneuron

    Data Neuron is a powerful framework that enables you to build text-to-SQL applications with an easily maintainable semantic layer. Whether you're creating customer-facing chatbots, internal Slack bots for analytics, or other data-driven applications, Data Neuron provides the tools to make your data accessible through natural language

    Language:Python41422
  • pyomop

    dermatologist/pyomop

    Python package for managing OHDSI clinical data models. Includes support for LLM based plain text queries!

    Language:Python39448
  • Chia-Hsuan-Lee/KaggleDBQA

    Introduction page of a challenging text-to-SQL dataset: KaggleDBQA

  • yandex-research/sparqling-queries

    This repo in the implementation of EMNLP'21 paper "SPARQLing Database Queries from Intermediate Question Decompositions" by Irina Saparina, Anton Osokin

    Language:Python34417
  • yszh8/TriageSQL

    The dataset and source code for our paper: "Did You Ask a Good Question? A Cross-Domain Question IntentionClassification Benchmark for Text-to-SQL"

    Language:Python33214
  • BrettlyCD/text-to-sql

    An application to write and run SQL queries, returning answers to natural language questions, using langchain and open source LLM models through HuggingFace.

    Language:Jupyter Notebook312413
  • OSU-NLP-Group/Auto-SQL-Correction

    Code, data, and model of paper "Text-to-SQL Error Correction with Language Models of Code" (ACL'23)

    Language:Python30213
  • eosphoros-ai/sqlgpt-parser

    sqlgpt-parser is a Python implementation of an SQL parser that effectively converts SQL statements into Abstract Syntax Trees (AST). By leveraging AST tree comparisons between two SQL queries, it becomes possible to achieve robust evaluation of text-to-SQL models.

    Language:Python282310
  • VinAIResearch/ViText2SQL

    ViText2SQL: A dataset for Vietnamese Text-to-SQL semantic parsing (EMNLP-2020 Findings)

  • langsec-ai/langsec

    Security framework for LLM-generated SQL queries 🛡️

    Language:Python271