fix(ChatExcel): ChatExcel OutParse Bug Fix

1.ChatExcel OutParse Bug Fix
This commit is contained in:
yhjun1026 2023-09-14 20:49:06 +08:00
parent cad2785d94
commit f19ee46e74
2 changed files with 10 additions and 12 deletions

View File

@ -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:

View File

@ -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