# Preprocess user messages to recognize multiple intents

**URL:** <https://forum.rasa.com/t/preprocess-user-messages-to-recognize-multiple-intents/55328>\
**Category:** Rasa Open Source\
**Created:** [September 15, 2022, 9:44am UTC](https://forum.rasa.com/t/preprocess-user-messages-to-recognize-multiple-intents/55328 "2022-09-15T09:44:11Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![sanjaradylov](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/sanjaradylov/32/21532_2.png) [@sanjaradylov](https://forum.rasa.com/u/sanjaradylov)\
**Post date:** [September 15, 2022, 9:44am UTC](https://forum.rasa.com/t/preprocess-user-messages-to-recognize-multiple-intents/55328/1 "2022-09-15T09:44:11Z")

</div>

I’ve implemented a simple FAQ-bot w/ dozens of retrieval `faq/` subintents and several chitchat intents. While it steadily recognizes individual intents, the real-life scenario is that users typically include multiple requests in one message. E.g., w/ the intents listed below, we can have `"Hi! I couldn't find where to sign up. I'm looking for cheapest fridges"`

```auto
# nlu.yml
- intent: faq/sign_up
  examples: |
    - can I sign up with my google account

- intent: faq/cheap_fridges
  examples: |
    - show me your cheapest refrigerators

```

I’m aware of [this discussion](http://forum.rasa.com/t/how-to-handle-multi-intents/17167) and [its predecessor](https://rasa.com/blog/how-to-handle-multiple-intents-per-input-using-rasa-nlu-tensorflow-pipeline/) but I’m afraid generating combinations of intents is infeasible. So I thought maybe I can catch users’ message, split it into sentences, and retreive intents for each sentence to return the corresponding responses. With our example above, I expect to recognize intents `greet`, `faq/sign_up`, and `faq/cheap_fridges` in only one message and render the corrseponding `utter_` messages. Is it possible to implement within the default pipeline?

---

_[View the full topic](https://forum.rasa.com/t/preprocess-user-messages-to-recognize-multiple-intents/55328)._
