-
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
Add __repr__ to Token object #7250
Comments
Exalate commented: tabergma commented: Good idea |
Exalate commented: pedro-prp commented: I saw that a problem still exists, @koaning are you still working on it? If no, I would try to solve it |
Exalate commented: koaning commented: There's a PR for it but unfortunately it cannot get merged due to a style check. You can see the reference above in the conversation. |
* represents a Token object as a string using python __repr__ method * adds the change log related to issue #7250 * split return string - code quality failed because the line was too long * add docstring for the Tokenizer class Co-authored-by: Aciel Eshky <[email protected]> * delete blank line after docstring * Update changelog/7250.improvement.md Co-authored-by: Aciel Eshky <[email protected]> Co-authored-by: Aciel Eshky <[email protected]>
Exalate commented: ErickGiffoni commented: I think we can close this issue, since it was solved in #9631 |
➤ Maxime Verger commented: 💡 Heads up! We're moving issues to Jira: https://rasa-open-source.atlassian.net/browse/OSS. From now on, this Jira board is the place where you can browse (without an account) and create issues (you'll need a free Jira account for that). This GitHub issue has already been migrated to Jira and will be closed on January 9th, 2023. Do not forget to subscribe to the corresponding Jira issue! ➡️ More information in the forum: https://forum.rasa.com/t/migration-of-rasa-oss-issues-to-jira/56569. |
When I'm debugging what is happening in a pipeline I usually have a look and print the
Message
.It might look something like;
Would anybody be opposed if I add a
__repr__
to theToken
such that you can see the actual text of the token? It should make it easier to inspect/debug.@tabergma any objections?
The text was updated successfully, but these errors were encountered: