anumaurya114exp commited on
Commit
31528fe
·
1 Parent(s): 36d99e9

Update queryHelperManagerCoT.py

Browse files
Files changed (1) hide show
  1. queryHelperManagerCoT.py +1 -1
queryHelperManagerCoT.py CHANGED
@@ -53,7 +53,7 @@ class QueryHelperChainOfThought:
53
  print("Couldn't parse desired result from gpt response using method 1.")
54
  if tryParsing:
55
  try:
56
- sqlResult = json.loads(gptResponse)
57
  parsedSql = True
58
  tryParsing = False
59
  except:
 
53
  print("Couldn't parse desired result from gpt response using method 1.")
54
  if tryParsing:
55
  try:
56
+ sqlResult = json.loads(gptResponse)['finalResult']
57
  parsedSql = True
58
  tryParsing = False
59
  except: