Spaces:
Runtime error
Runtime error
Caleb Fahlgren
commited on
Commit
•
9c4b7af
1
Parent(s):
91c3a02
add links and image to readme
Browse files- README.md +13 -1
- media/datasets-text-to-sql.png +0 -0
README.md
CHANGED
@@ -9,4 +9,16 @@ app_file: app.py
|
|
9 |
pinned: false
|
10 |
---
|
11 |
|
12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
pinned: false
|
10 |
---
|
11 |
|
12 |
+
# Datasets Text to SQL / Chart
|
13 |
+
|
14 |
+
**Chat with any HF Dataset**
|
15 |
+
Powered by [Hermes-2-Pro-Llama-3-8B](https://huggingface.co/NousResearch/Hermes-2-Pro-Llama-3-8B)
|
16 |
+
|
17 |
+
![Datasets Text to SQL](./media/datasets-text-to-sql.png)
|
18 |
+
|
19 |
+
# How it Works
|
20 |
+
|
21 |
+
1. Get first parquet file URL from dataset
|
22 |
+
2. Get SQL DDL from Parquet column and data types
|
23 |
+
3. Prompt the LLM for SQL
|
24 |
+
4. Run the SQL against the Dataset Parquet
|
media/datasets-text-to-sql.png
ADDED