In this cookbook, we will explore how we can use PremAI SDK and DSPy to generate SQL from text. You can either checkout the notebook or checkout the docs section to follow along with this tutorial.
If you want to run the jupyter notebook, create a new environment and install all the dependencies from requirements.txt
pip install -r requirements.txt
Make sure you have an account at Prem AI Platform and a valid project id and an API Key for running this notebook.