mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-08-06 19:04:24 +00:00
fix(ChatExcel): ChatExcel OutParse Bug Fix
1.ChatExcel OutParse Bug Fix
This commit is contained in:
parent
cad2785d94
commit
f19ee46e74
@ -141,7 +141,6 @@ class BaseOutputParser(ABC):
|
||||
if not temp_json:
|
||||
temp_json = self.__json_interception(s)
|
||||
|
||||
|
||||
temp_json = self.__illegal_json_ends(temp_json)
|
||||
return temp_json
|
||||
except Exception as e:
|
||||
|
@ -40,7 +40,6 @@ class ChatExcelOutputParser(BaseOutputParser):
|
||||
except Exception as e:
|
||||
raise ValueError(f"LLM Response Can't Parser! \n{ model_out_text}")
|
||||
|
||||
|
||||
def parse_view_response(self, speak, data) -> str:
|
||||
### tool out data to table view
|
||||
return data
|
||||
|
Loading…
Reference in New Issue
Block a user