From 71e1fd45064d9700f22dcd6711c8825376b466b9 Mon Sep 17 00:00:00 2001 From: Nautics889 Date: Sun, 17 Sep 2023 21:13:30 +0300 Subject: [PATCH] chore: `output_type` parameter (#519) * (chore): remove unused lines --- pandasai/smart_datalake/__init__.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/pandasai/smart_datalake/__init__.py b/pandasai/smart_datalake/__init__.py index 004db4280..1500c51b7 100644 --- a/pandasai/smart_datalake/__init__.py +++ b/pandasai/smart_datalake/__init__.py @@ -476,17 +476,6 @@ def _retry_run_code(self, code: str, e: Exception): self._config.callback.on_code(code) return code - # def _check_output_type(self, result, excepted_output_type): - # actual_output_type = result.get('type') - # if actual_output_type != excepted_output_type: - # self.logger.log( - # message=f"Inappropriate type of the result returned by LLM!\n" - # f"Actual type: '{actual_output_type}'\n" - # f"Expected type: '{excepted_output_type}'" - # ) - - # def _check_output_ - @property def engine(self): return self._dfs[0].engine