-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Format tracker state for logging #6133
Comments
I want to solve this problem but I am not able to understand the problem properly..can you explain me please.. |
I would like to work on this issue. |
@rajsukanya do you have any questions about it? Feel free to open a PR |
Hi, me and @aleronupe are interesting in this issue and started to wok on it. @melindaloubser1 do you have any example of how you think the logging should look like? |
Not sold on a specific format, but it should represent a human-readable version of the state. It'll be important to keep in mind what the state really means: Each item in the list is the last action + last intent (which was not necessarily the previous step, there could be multiple actions). If the action is
However, this was in Rasa 1.x. Since the release candidate for 2.x is currently out, new features/enhancements should target 2.x. The way state is stored and shown is different for 2.x, which means this issue is probably not worth addressing in 1.x. |
Thank you for your answer @melindaloubser1. We will proceed to work on this issue targeting the 2.x version currently on master.
Is it okay if we follow the same approach of human-readable logs of your previous answer? |
Cool! As I mentioned, I'm really not particular about how it's done, as long as it makes sense from the human-readability standpoint. If you have questions about the implementation or the new format and what it means, feel free to tag me in your PR and either I or someone else will get back to you. |
Our proposed solution can be found at #7026 pull request |
closed by #7026 |
Description of Problem:
It would be useful if the tracker state was displayed in logs in a way that's easier to parse.
At the moment, it's displayed in a list of dictionaries which can be hard to read when debugging
Overview of the Solution:
It would be easier for debugging if it was displayed similar to how slots are displayed i.e. in a human-readable list
Definition of Done:
The text was updated successfully, but these errors were encountered: