-
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
Get Full Retrieval Intent Name #12998
Conversation
@@ -732,6 +737,23 @@ async def parse_message( | |||
|
|||
return parse_data | |||
|
|||
def _update_full_retrieval_intent(self, parse_data: Dict[Text, Any]) -> None: |
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.
Could we add a processor unit test for this case please?
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.
Yep, just added it in the commit acf376b
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.
Nicely done 💯 Only the linting needs to be fixed.
"text": "I like sunny days in berlin", | ||
"intent": {"name": "chitchat", "confidence": 0.9}, | ||
"entities": [], | ||
"response_selector": { |
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 if this is a duplicate curly brace or meant to be a list of dicts instead?
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.
It was indeed a duplicate curly brace, I missed it when I copied the response_selector dictionary from an example bot
Proposed changes:
FULL_RETRIEVAL_INTENT_NAME_KEY
to the intent dictionary. This has downstream effects and fixes a bug in the Analytics pipeline that expects this keyStatus (please check what you already did):
black
(please check Readme for instructions)