-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Next steps End-to-end: Implementation Proposal + Implementation #7039
Comments
I think it would be cool to use a context manager to save the tracker. Currently we save the tracker quite often in between which is 1) Complex from a code-perspective and 2) Slow. I'd imagine something like
This would mean that a tracker would only be saved after at the end of the interaction (aka we're waiting for the next user message). |
@Ghostvv I thought about it some more:
My idea from the comment above would be a nice refactoring, but it's not required for these changes |
ok, the only problem, that you couldn't properly test it
as we discussed I prefer this one as well, but it'll work only if trackers are stored at the right moment. I don't think it'll work reliably without your idea above
but if you do it with |
I mean your approach already works, right? That would simply be the same changes just a bit more polished. And we can write tests for it and so on. Worst case is that you can cherry pick the changes and we quickly try it out in
When we do
But not in the database. |
Short scope document
Policies have to be able to return events to store information about the used featurization in the tracker.
The text was updated successfully, but these errors were encountered: