-
Notifications
You must be signed in to change notification settings - Fork 0
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
Handling backups bug #8
Comments
Michal's idea
Downsides:
What if we forced it to call a new DisplayMessageWithTableToUser method after function calls, and it has a table_ids list argument? It gets complicated again though. |
We could also just modify the prompt and tell it to delete all Tables which are no longer relevant. This would be a simple and straightforward thing to try at least. But: I think @MichalTorma and I both have the nagging feeling that this is a complicated problem which has already been solved by jupyter notebooks. What we really want is an interactive but guided jupyter notebook. We should think about whether there an easier way of doing this. |
Currently:
Summary: All create/update/delete operations on Tables are recorded based on a snapshot before executing some gpt-4 generated code, and a snapshot after.
If the GPT generated code:
Bug discovered:
handle_backups
method correctly sees that TableA has changed, but sees no change on TableB, which is also not flagged with deleted_at, ashandle_backups
has no way of realising TableB is no longer relevantNote that we could also have TableC = pd.merge(TableA, TableB), and we'd have TableC, TableB and TableA all going to the next agent.
The text was updated successfully, but these errors were encountered: