NYU Classifieds>NYU Online Courses>Queries with OpenAI: Translate Natural Text to SQL

Queries with OpenAI: Translate Natural Text to SQL

About this Course

Ever wanted to seamlessly translate natural language into actionable insights from your data? This Guided Project was created to help learners develop the skillset necessary to utilize OpenAI GPT to generate complex SQL queries from natural language prompts to elicit insights against a real sql database. In this project-based course, spanning 2-hours, you will load data from a CSV file and convert it to a local Pandas dataframe. You will create an SQL-like table definition prompt based on the dataframe. You will use this as well as a user query to build a comprehensive GPT prompt to elicit a real SQL query which we will then use to interact with our data. By the end of this project you will have built a powerful tool that can convert a natural language questions into SQL queries and interactively pull insights from a real-world dataset. In order to be successful with this project you should have some experience in Python programming, working with GPT or GPT API, a working understanding of SQL and a credit card for tokens to use with OpenAI API.

Created by: Coursera Project Network


Related Online Courses

Resilience Engineering and Leadership in Crisis examines the qualities and practices of leadership amid conditions of uncertainty, chaos, or catastrophic system breakdowns. Within the complex 21st... more
Are you interested in predicting future outcomes using your data? This course helps you do just that! Machine learning is the process of developing, testing, and applying predictive algorithms to... more
Dive into the ultimate guide for mastering data structures and algorithms. This course equips you with foundational to advanced knowledge, making you proficient in critical concepts like Big O... more
This project will give you the opportunity to familiarize yourself with the cloud-based platform, ProfitBooks. We will start this project by introducing you to the platform through creating an... more
Wharton\'s Business and Financial Modeling Specialization is designed to help you make informed business and financial decisions. These foundational courses will introduce you to spreadsheet... more

CONTINUE SEARCH

FOLLOW COLLEGE PARENT CENTRAL