Sathvika-Alla commited on
Commit
eef047b
·
verified ·
1 Parent(s): 864b8b2

Update chatbot-gradio.py

Browse files
Files changed (1) hide show
  1. 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