|
2 月之前 | |
---|---|---|
.. | ||
README.md | 2 月之前 | |
csv2db.py | 3 月之前 | |
nba.txt | 3 月之前 | |
nba_roster.db | 3 月之前 | |
quickstart.ipynb | 2 月之前 | |
requirements.txt | 2 月之前 | |
txt2csv.py | 3 月之前 |
This project provides a set of scripts to convert natural language queries into SQL statements using Meta's Llama model. The goal is to enable users to interact with databases using natural language inputs, making it easier for non-technical users to access and analyze data.
For detailed instructions on setting up the environment, creating a database, and executing natural language queries using the Text2SQL interface, please refer to the quickstart.ipynb notebook.
Before getting started, please make sure to setup Together.ai and get an API key from here.
First, please install the requirements from here by running inside the folder:
git clone https://github.com/meta-llama/llama-cookbook.git
cd llama-cookbook/end-to-end-use-cases/coding/text2sql/
pip install -r requirements.txt
Contributions are welcome! If you'd like to add new features or improve existing ones, please submit a pull request. We encourage contributions in the following areas: