weAIDB/CrackSQL

LLM-based Dialect Translation System

67
/ 100
Established

Combines rule-based translation (leveraging SQLGlot parsing) with fine-tuned LLMs and embedding models through a hybrid three-mode approach: rule-only for broad compatibility across 24+ dialects, LLM-direct for flexibility, and Rule+LLM for precision via adaptive local-to-global iteration. Supports PostgreSQL, MySQL, and Oracle with both cloud-based models (GPT, DeepSeek) and locally-deployed Hugging Face models, accessible through Python API, CLI, and web interface.

Available on PyPI.

Maintenance 13 / 25
Adoption 9 / 25
Maturity 25 / 25
Community 20 / 25

How are scores calculated?

Stars

78

Forks

24

Language

Python

License

MIT

Category

text-to-sql-rag

Last pushed

Mar 08, 2026

Commits (30d)

0

Dependencies

29

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/rag/weAIDB/CrackSQL"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.