Spaces:
Runtime error
Runtime error
Commit ·
00a7d5e
1
Parent(s): 57e476a
Update queryHelperManagerCoT.py
Browse files- queryHelperManagerCoT.py +1 -1
queryHelperManagerCoT.py
CHANGED
|
@@ -121,7 +121,7 @@ ORDER BY state, category_rank"
|
|
| 121 |
def getSystemPromptForQuery(self, prospectTablesAndCols):
|
| 122 |
schemaName = self.schemaName
|
| 123 |
platform = self.platform
|
| 124 |
-
tableSummaryDict = json.load(self.tableSummaryJson)
|
| 125 |
exampleQuery = """SELECT a.customer_id, COUNT(a.product_id) as chandelier_count
|
| 126 |
FROM lpdatamart.tbl_f_sales a
|
| 127 |
JOIN lpdatamart.tbl_d_product b ON a.product_id = b.product_id
|
|
|
|
| 121 |
def getSystemPromptForQuery(self, prospectTablesAndCols):
|
| 122 |
schemaName = self.schemaName
|
| 123 |
platform = self.platform
|
| 124 |
+
tableSummaryDict = json.load(open(self.tableSummaryJson,'r'))
|
| 125 |
exampleQuery = """SELECT a.customer_id, COUNT(a.product_id) as chandelier_count
|
| 126 |
FROM lpdatamart.tbl_f_sales a
|
| 127 |
JOIN lpdatamart.tbl_d_product b ON a.product_id = b.product_id
|