Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat : add callback functionality #378

Merged
merged 4 commits into from
Jul 20, 2023
Merged

Conversation

gaurang98671
Copy link
Contributor

  • Added BaseCallback class with on_code abstract method
  • Added StdoutCallback class which prints code returned by LLM
  • Added test to check callback

All tests were successful
Hello @gventuri, please let me know if this can be merged. Thanks!

Allows passing custom callbacks to PandasAI object.
@gaurang98671
Copy link
Contributor Author

gaurang98671 commented Jul 19, 2023

This will allow users to pass in their custom callbacks to intercept code returned by LLM

@gventuri gventuri merged commit 478dbfb into Sinaptik-AI:main Jul 20, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants