diff --git a/changelog/7722.bugfix.md b/changelog/7722.bugfix.md new file mode 100644 index 000000000000..73ca0f2ba008 --- /dev/null +++ b/changelog/7722.bugfix.md @@ -0,0 +1 @@ +Fix a bug where, if a user injects an intent using the HTTP API, slot auto-filling is not performed on the entities provided. \ No newline at end of file diff --git a/rasa/core/processor.py b/rasa/core/processor.py index 72ba3fd074a8..2cd6d0f14c8c 100644 --- a/rasa/core/processor.py +++ b/rasa/core/processor.py @@ -405,7 +405,9 @@ async def trigger_external_user_uttered( f"Invalid entity specification: {entities}. Assuming no entities." ) entity_list = [] - tracker.update(UserUttered.create_external(intent_name, entity_list)) + tracker.update( + UserUttered.create_external(intent_name, entity_list), self.domain + ) await self._predict_and_execute_next_action(output_channel, tracker) # save tracker state to continue conversation from this state self._save_tracker(tracker)