Spaces:
Runtime error
Runtime error
Commit ·
57e476a
1
Parent(s): 1d0f90f
bug fix
Browse files- queryHelperManagerCoT.py +1 -1
queryHelperManagerCoT.py
CHANGED
|
@@ -45,7 +45,7 @@ class QueryHelperChainOfThought:
|
|
| 45 |
def getPromptForCot(self):
|
| 46 |
schemaName = self.schemaName
|
| 47 |
platform = self.platform
|
| 48 |
-
tableSummaryDict = json.load(self.tableSummaryJson)
|
| 49 |
selectedTablesAndCols = self.metadataLayout.getSelectedTablesAndCols()
|
| 50 |
|
| 51 |
egUserInput = "I want to get top 5 product categories by state, then rank categories on decreasing order of total sales"
|
|
|
|
| 45 |
def getPromptForCot(self):
|
| 46 |
schemaName = self.schemaName
|
| 47 |
platform = self.platform
|
| 48 |
+
tableSummaryDict = json.load(open(self.tableSummaryJson, 'r'))
|
| 49 |
selectedTablesAndCols = self.metadataLayout.getSelectedTablesAndCols()
|
| 50 |
|
| 51 |
egUserInput = "I want to get top 5 product categories by state, then rank categories on decreasing order of total sales"
|