Metadata-Version: 2.4
Name: text_to_sql_llm_py
Version: 0.0.4
Summary: Text to SQL query convertor
Project-URL: Homepage, https://github.com/pypa/sampleproject
Project-URL: Issues, https://github.com/pypa/sampleproject/issues
Author-email: Vikram Prabhu R <vikramprabhu240@gmail.com>
License-Expression: MIT
License-File: LICENSE
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.9
Requires-Dist: accelerate
Requires-Dist: bitsandbytes
Requires-Dist: huggingface-hub
Requires-Dist: llama-cpp-python
Requires-Dist: peft
Requires-Dist: transformers
Requires-Dist: trl
Description-Content-Type: text/markdown

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.