Spaces:
Build error
Build error
alejandro
commited on
Commit
·
fadfaf0
1
Parent(s):
11bc72f
docs: complete readme
Browse files- docs/mysql-chains.png +0 -0
- readme.md +8 -2
docs/mysql-chains.png
ADDED
|
readme.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
# Build a Natural Language SQL Chatbot with GPT-4
|
| 2 |
|
| 3 |
Welcome to the GitHub repository for our tutorial on building a natural language SQL chatbot using GPT-4! This project guides you through the development of a chatbot that can interpret natural language queries, generate SQL queries, and fetch results from a SQL database, all in an intuitive and user-friendly way. It utilizes the power of OpenAI's GPT-4 model, integrated with a Streamlit GUI for an enhanced interaction experience.
|
| 4 |
|
|
@@ -15,7 +15,13 @@ Welcome to the GitHub repository for our tutorial on building a natural language
|
|
| 15 |
|
| 16 |
The chatbot works by taking a user's natural language query, converting it into a SQL query using GPT-4, executing the query on a SQL database, and then presenting the results back to the user in natural language. This process involves several steps of data processing and interaction with the OpenAI API and a SQL database, all seamlessly integrated into a Streamlit application.
|
| 17 |
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
|
| 20 |
## Installation
|
| 21 |
Ensure you have Python installed on your machine. Then clone this repository:
|
|
|
|
| 1 |
+
# Build a Natural Language SQL Chatbot with GPT-4 and Mistral AI
|
| 2 |
|
| 3 |
Welcome to the GitHub repository for our tutorial on building a natural language SQL chatbot using GPT-4! This project guides you through the development of a chatbot that can interpret natural language queries, generate SQL queries, and fetch results from a SQL database, all in an intuitive and user-friendly way. It utilizes the power of OpenAI's GPT-4 model, integrated with a Streamlit GUI for an enhanced interaction experience.
|
| 4 |
|
|
|
|
| 15 |
|
| 16 |
The chatbot works by taking a user's natural language query, converting it into a SQL query using GPT-4, executing the query on a SQL database, and then presenting the results back to the user in natural language. This process involves several steps of data processing and interaction with the OpenAI API and a SQL database, all seamlessly integrated into a Streamlit application.
|
| 17 |
|
| 18 |
+
Consider the following diagram to understand how the different chains and components are built:
|
| 19 |
+
|
| 20 |
+

|
| 21 |
+
|
| 22 |
+
For a more detailed explanation and a step-by-step guide, refer this other video: [YouTube video tutorial](https://youtu.be/9ccl1_Wu24Q).
|
| 23 |
+
|
| 24 |
+
For a more detailed explanation and a step-by-step guide, refer to the [YouTube video tutorial](Chat with MySQL Database with Python | LangChain Tutorial).
|
| 25 |
|
| 26 |
## Installation
|
| 27 |
Ensure you have Python installed on your machine. Then clone this repository:
|