Spaces:
Sleeping
Sleeping
Update chatbot-gradio.py
Browse files- chatbot-gradio.py +1 -0
chatbot-gradio.py
CHANGED
|
@@ -135,6 +135,7 @@ class NL2SQLPlugin:
|
|
| 135 |
- For exact matches use: WHERE c.[field] = value
|
| 136 |
- For ranges use: WHERE c.[field].min = X AND c.[field].max = Y
|
| 137 |
- Check for dimmability support by using either != "NOT DIMMABLE" or = "NOT DIMMABLE"
|
|
|
|
| 138 |
- Do not use AS and cast key names
|
| 139 |
- For lamp compatibility: Use WHERE IS_DEFINED(c.lamps["lamp_name"]) to check if a specific lamp is supported, or WHERE IS_DEFINED(c.lamps) for any lamp support.
|
| 140 |
|
|
|
|
| 135 |
- For exact matches use: WHERE c.[field] = value
|
| 136 |
- For ranges use: WHERE c.[field].min = X AND c.[field].max = Y
|
| 137 |
- Check for dimmability support by using either != "NOT DIMMABLE" or = "NOT DIMMABLE"
|
| 138 |
+
- Do not use subqueries
|
| 139 |
- Do not use AS and cast key names
|
| 140 |
- For lamp compatibility: Use WHERE IS_DEFINED(c.lamps["lamp_name"]) to check if a specific lamp is supported, or WHERE IS_DEFINED(c.lamps) for any lamp support.
|
| 141 |
|