Skip to content

Commit

Permalink
chore: output_type parameter (#519)
Browse files Browse the repository at this point in the history
* (chore): remove unused lines
  • Loading branch information
nautics889 committed Sep 17, 2023
1 parent 14d24ea commit 71e1fd4
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions pandasai/smart_datalake/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 71e1fd4

Please sign in to comment.