Skip to main content

Text to SQL query convertor

Project description

This is a simple Python package to help generate a SQL query from a given human understandable text.

you can call the function as below:

from text_to_sql_llm_py.text_to_sql import generate_sql_query

generate_sql_query(llm, question, context)

llm: the llm model name. question : the sql query needed. context : additional information the model can use to generate query of higher accuracy.

Note: This project is open for improvements and the owner of this package is working on optimizing it. feel free to provide suggestions.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

text_to_sql_llm_py-0.0.5.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

text_to_sql_llm_py-0.0.5-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file text_to_sql_llm_py-0.0.5.tar.gz.

File metadata

  • Download URL: text_to_sql_llm_py-0.0.5.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for text_to_sql_llm_py-0.0.5.tar.gz
Algorithm Hash digest
SHA256 8d59d4bc453815d2c50041a0da29245ac659d1c2ae8d36a2f23b6e2aa0f7345b
MD5 212a2457124c06b36d3b2222257bb5db
BLAKE2b-256 0c11fc8399f78e40aeb2a147b27b46eac1c3d6a68449bc3f52233147b05fdda8

See more details on using hashes here.

File details

Details for the file text_to_sql_llm_py-0.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for text_to_sql_llm_py-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 aa324f5fc580551906d905a5196644449d6d67f8a88e0c9f6170d0370d9d3403
MD5 9f4aa994adc34582a2df76e59aa1cacb
BLAKE2b-256 c316f7689a85de9330ebe5cf43a93f680e6d54c809f5a1d62af6ba91ee8f5304

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page