Skip to content
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

Doc: Oss 339 unexpected intent policy #11982

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions docs/docs/unexpected-input.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,17 @@ stories:
- action: restaurant_form
```

### UnexpecTED Intent Policy

`UNexpecTEDIntentPolicy` helps you review conversations and also allows your bot to react to unlikely user inputs.
It is an auxiliary policy that should only be used with at least one other policy, as the only that it can trigger is the special
`action_unlikely_intent` action.

`UNexpecTEDIntentPolicy` has the same model architecture as `TEDPolicy`.

The difference is at a task level. Instead of predicting the next probable action, this policy
predicts whether the last predicted intent is a likely intent according to the training stories
and conversation context.
Comment on lines +105 to +113
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This content is actually the same as on this page, could you please add a short sentence of how this is relevant for handling unexpected input and then link to the corresponding section in docs/docs/policies.mdx#unexpected-intent-policy.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also add a changelog entry of type doc.


## Summary

Expand Down