Skip to content

Commit

Permalink
feat: log generated prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
gventuri committed Sep 14, 2023
1 parent 232c837 commit b489c9c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pandasai/smart_datalake/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,8 @@ def _get_prompt(
for key, value in default_values.items():
prompt.set_var(key, value)

self.logger.log(f"Using prompt: {prompt}")

return prompt

def _get_cache_key(self) -> str:
Expand Down

0 comments on commit b489c9c

Please sign in to comment.