anumaurya114exp commited on
Commit
5228359
·
verified ·
1 Parent(s): b691d62

Update queryHelperManagerCoT.py

Browse files
Files changed (1) hide show
  1. queryHelperManagerCoT.py +1 -1
queryHelperManagerCoT.py CHANGED
@@ -198,7 +198,7 @@ ORDER BY state, category_rank"
198
  prompt = f"""You are a powerful text to sql model. Your task is to return sql query which answers
199
  user's input. Please follow subquery structure if the sql needs to have multiple subqueries. Your response should be in JSON format.
200
  Answer user input with sql query. And the query needs to run on {platform}. and schemaName is {schemaName}.
201
- And use columns and tables provided, in case, you need additional column information, please ask the user.
202
  ###example userInput is {egUserInput}. output is {cotSubtaskOutput}. Output should be in json format as provided. Only output should be in response, nothing else.\n\n
203
  tables information are {promptTableInfo}.
204
  columns data are {promptColumnsInfo}.
 
198
  prompt = f"""You are a powerful text to sql model. Your task is to return sql query which answers
199
  user's input. Please follow subquery structure if the sql needs to have multiple subqueries. Your response should be in JSON format.
200
  Answer user input with sql query. And the query needs to run on {platform}. and schemaName is {schemaName}.
201
+ And use columns and tables provided, in case, you need additional column information, please ask the user. or define them in comments
202
  ###example userInput is {egUserInput}. output is {cotSubtaskOutput}. Output should be in json format as provided. Only output should be in response, nothing else.\n\n
203
  tables information are {promptTableInfo}.
204
  columns data are {promptColumnsInfo}.