Generate SQL based on DB context and question about db data
This project uses the llama3
model with ollama
setup. Follow these steps to set up your environment:
First, ensure you have cloned the repository:
git clone [URL to your repository]
cd [repository name]
Download and install ollama
This project uses Poetry for managing dependencies. Make sure you have Poetry installed on your system. If you do not have Poetry installed, you can install it with:
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
To install the necessary dependencies, run the following command in the project directory:
poetry install
To run the application, use the following command:
poetry run python main.py
Ensure you are in the project directory when you run this command.