-
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
unfeaturized slots #6817
unfeaturized slots #6817
Conversation
e5d860b
to
f45a0a6
Compare
@akelad Who from CSE would be best to help me with the documentation? I did a draft for the slots documentation, next step is the migration guide then. |
f45a0a6
to
b854d7a
Compare
aacc9b6
to
aa233ad
Compare
@wochinge just to clarify, you're gonna write the migration guide? General process is person building the feature writes the docs, CSE reviews |
@akelad Yep, all done but I still need review + support as especially the changes for the slots docs were a bit more. I think I know the general process by now 😄 |
aa233ad
to
260d7b8
Compare
sorry was just unclear on what you meant with your comment, sounds good! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for writing the docs 🚀 Just a few suggestions for clarity.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we add a special warning to resolve_by_type
so that users are alerted of the removal of the unfeaturized
property? Right now all they'll see is that that slot doesn't exist, but this can be confusing when you haven't read the changelog and/or migration guide.
Other than that, great work 💯
docs/docs/domain.mdx
Outdated
weather, and you *don't* know their home city, you will have to ask | ||
them for it. A `text` slot only tells Rasa Core whether the slot | ||
them for it. A [text slot](domain.mdx#text-slot) only tells Rasa Core whether the slot |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure about this one:
them for it. A [text slot](domain.mdx#text-slot) only tells Rasa Core whether the slot | |
them for it. A [text slot](domain.mdx#text-slot) only tells Rasa whether the slot |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed the whole sentence 🙈
Thanks for your blazing fast reviews ❤️ |
Co-authored-by: ricwo <20581300+ricwo@users.noreply.github.com> Co-authored-by: Melinda Loubser <32034278+melindaloubser1@users.noreply.github.com>
1134179
to
f4b6f87
Compare
@ricwo Not sure I'm understanding this one
There is a deprecation warning if you use an |
@wochinge oh of course - the class still exists. please ignore my comment 👍 |
it made me reconsider the content of the deprecation warning which was helpful 👍 |
Proposed changes:
unfeaturized
flag to slots #6809influence_conversation
to each slot which determines whether the slot should featurized. Each slot type is featurized by default to avoid that existing bots break. OnlyUnfeaturizedSlots
are not featurized by default.UnfeaturizedSlot
as users should use the flag insteadUnfeaturizedSlot
with equal usages of unfeaturized, but not deprecated slotsAnySlot
which can store anything but is required to be unfeaturized. Users have to implement custom slots if they want to featurize anAnySlot
UnfeaturizedSlot
orAnySlot
featurizedDataSlot
which was unused and doesn't make sense as wellinfluence_conversation: False
instead of using the deprecatedunfeaturized
slotslot
documentation and documentation which refers tounfeaturized
slotsunfeaturized
slotsTodos
Status (please check what you already did):
black
(please check Readme for instructions)