# Rasa Open Source 2.0 is out now!

**URL:** <https://forum.rasa.com/t/rasa-open-source-2-0-is-out-now/35577>\
**Category:** Important Updates\
**Created:** [October 7, 2020, 11:54am UTC](https://forum.rasa.com/t/rasa-open-source-2-0-is-out-now/35577 "2020-10-07T11:54:08Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Emma](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/emma/32/4620_2.png) [@Emma](https://forum.rasa.com/u/Emma)\
**Post date:** [October 7, 2020, 11:54am UTC](https://forum.rasa.com/t/rasa-open-source-2-0-is-out-now/35577/1 "2020-10-07T11:54:08Z")

</div>

Hey [@community](https://forum.rasa.com/groups/community)

Rasa Open Source 2.0 is centered on simplicity, especially unifying key concepts and reducing the learning curve for newcomers—while still expanding what advanced Rasa users can create. We’d like to thank each of you who have greatly helped us by testing and providing your feedback on the alpha versions, we appreciate your support in achieving this milestone and helping us shape the future direction of Rasa Open Source.

## 🚀 What’s new?

The release includes YAML formatting for training data, the new RulePolicy and rule snippets, and a new feature to suggest a pipeline configuration. Plus, we’ve done a major documentation update!

In addition, Rasa Open Source 2.0 will be fully compatible with the upcoming **Rasa X release: 0.33.0**. You will be able to upgrade to Rasa X 0.33.0 to get support for YAML training data and the ability to view, create, and edit rule snippets. It also includes complete support for retrieval intents, which now appear alongside regular intents in the UI, and you can view, add, and edit multimedia responses.

Read more in our blog:

> **[Now Available: Rasa Open Source 2.0 | Rasa Blog](https://rasa.com/blog/now-available-rasa-open-source-2-0)**
>
> Rasa Open Source 2.0 is here with features to reduce the learning curve for new users and more configuration options for advanced users.

Check out the details in our changelog:

> **[Rasa Pro Change Log | Rasa Documentation](https://rasa.com/docs/rasa/changelog#200---2020-10-07)**
>
> All notable changes to Rasa Pro will be documented in this page.

* * *

## ➡ Need to migrate from 1.10 to 2.0? Here’s a guide:

> **[Version Migration Guide | Rasa Documentation](https://rasa.com/docs/rasa/migration-guide)**
>
> Information about changes between major versions of chatbot framework Rasa
> and how you can migrate from one version to another.

* * *

## 📺 Get an in-depth look at everything in 2.0!

On **Wednesday, October 14** , our team will present a [90-minute deep dive into the major release](https://info.rasa.com/webinar-rasa-open-source-2-0)!

**Timezones:** 8am - 9:30am PDT/5pm - 6:30pm CEST/8:30pm - 10pm IST

> **[Rasa Resources | Guides, Whitepapers & Tools for AI Builders](https://rasa.com/resources?category=webinar)**
>
> Access expert-written guides, product docs, whitepapers, and toolkits to accelerate your AI agent development with Rasa’s enterprise-grade platform.

* * *

## 💜 We very much look forward to your feedback!

---

<div class="post-metadata">

**Author:** ![mann2107](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/mann2107/32/11066_2.png) [@mann2107](https://forum.rasa.com/u/mann2107)\
**Post date:** [October 9, 2020, 9:19am UTC](https://forum.rasa.com/t/rasa-open-source-2-0-is-out-now/35577/2 "2020-10-09T09:19:58Z")

</div>

Wow… Congratulations [@community](https://forum.rasa.com/groups/community). Will explore asap 🤿

---

<div class="post-metadata">

**Author:** ![petasis](https://avatars.discourse-cdn.com/v4/letter/p/e47c2d/32.png) [@petasis](https://forum.rasa.com/u/petasis)\
**Post date:** [October 9, 2020, 11:11am UTC](https://forum.rasa.com/t/rasa-open-source-2-0-is-out-now/35577/3 "2020-10-09T11:11:57Z")

</div>

@Emma Well, frustrating. My working forms in 2.0.rc3 & 2.0rc4 stopped working. After 9 days (!) of migration, and I am again at zero. Are you sure the documentation is correct?

Rasa 2.0 returned back to FormValidationAction and validate\_cuisine()? I tired to follow what is written here: [Forms](https://rasa.com/docs/rasa/forms#validating-form-input)

While testing, rasa NEVER asked the form validation function, and in the action logs I only see:

> ```
> 2020-10-09 13:56:58 DEBUG rasa_sdk.executor - Received request to run 'validate_flight_departure_form'
> 2020-10-09 13:56:58 DEBUG rasa_sdk.executor - Finished running 'validate_flight_departure_form'
> 2020-10-09 13:56:58 DEBUG rasa_sdk.executor - Received request to run 'action_ask_sl_frm_flight_departure_info_city'
> 
> ```

Form validation starts, from the user text (I am flying to Berlin), the validate\_sl\_frm\_flight\_departure\_info\_city is never called (to validate Berlin), and you end up asking for a city.

Also, are you sure you can have two actions by the same name? Like here: [Forms](https://rasa.com/docs/rasa/forms#custom-slot-mappings) The programmer should define another action, again with name “validate\_restaurant\_form”, for custom slot filling?

---

<div class="post-metadata">

**Author:** ![Ghostvv](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/ghostvv/32/211_2.png) [@Ghostvv](https://forum.rasa.com/u/Ghostvv)\
**Post date:** [October 9, 2020, 11:30am UTC](https://forum.rasa.com/t/rasa-open-source-2-0-is-out-now/35577/4 "2020-10-09T11:30:28Z")

</div>

@petasis what do you mean by “rasa NEVER asked the form validation function”? in your logs, it says `Received request to run 'validate_flight_departure_form'` so validation action was run

---

<div class="post-metadata">

**Author:** ![petasis](https://avatars.discourse-cdn.com/v4/letter/p/e47c2d/32.png) [@petasis](https://forum.rasa.com/u/petasis)\
**Post date:** [October 9, 2020, 11:57am UTC](https://forum.rasa.com/t/rasa-open-source-2-0-is-out-now/35577/5 "2020-10-09T11:57:05Z")

</div>

@Ghostvv Yes, I see it in my logs, but what was run?

I have modified my validation form to be (according to today’s docs):

```
class ValidateFlightDepartureForm(FormValidationAction):
    def name(self):
        return "validate_flight_departure_form"

    @staticmethod
    def required_slots(tracker):
        return ["sl_frm_flight_departure_info_city",
                "sl_frm_flight_departure_info_time"]

    def validate_sl_frm_flight_departure_info_city(
        self,
        value: Any,
        dispatcher: CollectingDispatcher,
        tracker: Tracker,
        domain: DomainDict,
    ) -> Dict[Text, Any]:
            """Validate city value."""
        logger.debug(f"Validating city value: {value}")
        .....

```

But the “Validating city value:” is not in my logs. The validation method was never called. I am unaware what gets validated.

---

<div class="post-metadata">

**Author:** ![petasis](https://avatars.discourse-cdn.com/v4/letter/p/e47c2d/32.png) [@petasis](https://forum.rasa.com/u/petasis)\
**Post date:** [October 9, 2020, 11:58am UTC](https://forum.rasa.com/t/rasa-open-source-2-0-is-out-now/35577/6 "2020-10-09T11:58:17Z")

</div>

And the fact that the form then asks for a city, suggests that something happened (an error?) that is not shown.

---

<div class="post-metadata">

**Author:** ![petasis](https://avatars.discourse-cdn.com/v4/letter/p/e47c2d/32.png) [@petasis](https://forum.rasa.com/u/petasis)\
**Post date:** [October 9, 2020, 12:12pm UTC](https://forum.rasa.com/t/rasa-open-source-2-0-is-out-now/35577/7 "2020-10-09T12:12:19Z")

</div>

@GhostvvI suppose it is stil due to this (unsolved) bug that tracker.slots\_to\_validate() returns an empty list when the entities are defined in the user text.

The user asks: “I want to go to Berlin”. The entity “city” is identified, and the slot city is filled (it has the same value as the slot). The form slot must be filled from city:

> ```
> forms:
> flight_departure_form:
> sl_frm_flight_departure_info_city:
> - type: from_entity
> entity: city
> intent:
> - flight_departure_info
> - inform
> 
> ```

I modified validate() in forms.py in rasa-sdk to:

```
class FormValidationAction(Action, ABC):
    """An action that validates if every extracted slot is valid."""

    async def validate(
        self,
        dispatcher: "CollectingDispatcher",
        tracker: "Tracker",
        domain: "DomainDict",
    ) -> List[EventType]:
        """Validate slots by calling a validation function for each slot.

        Args:
            dispatcher: the dispatcher which is used to
                send messages back to the user.
            tracker: the conversation tracker for the current user.
            domain: the bot's domain.
        Returns:
            `SlotSet` events for every validated slot.
        """
        print("Slots to validate:", flush=True)
        slots: Dict[Text, Any] = tracker.slots_to_validate()
        print("Slots to validate:", slots, flush=True)

```

And the log is:

```
2020-10-09 15:05:28 DEBUG rasa_sdk.executor - Received request to run 'validate_flight_departure_form'
Slots to validate:
Slots to validate: {}
2020-10-09 15:05:28 DEBUG rasa_sdk.executor - Finished running 'validate_flight_departure_form'

```

So, tracker.slots\_to\_validate() returns nothing.

---

<div class="post-metadata">

**Author:** ![petasis](https://avatars.discourse-cdn.com/v4/letter/p/e47c2d/32.png) [@petasis](https://forum.rasa.com/u/petasis)\
**Post date:** [October 9, 2020, 12:14pm UTC](https://forum.rasa.com/t/rasa-open-source-2-0-is-out-now/35577/8 "2020-10-09T12:14:17Z")

</div>

It was called “tracker.form\_slots\_to\_validate()” in 2.0.0rc4

---

<div class="post-metadata">

**Author:** ![petasis](https://avatars.discourse-cdn.com/v4/letter/p/e47c2d/32.png) [@petasis](https://forum.rasa.com/u/petasis)\
**Post date:** [October 9, 2020, 12:31pm UTC](https://forum.rasa.com/t/rasa-open-source-2-0-is-out-now/35577/9 "2020-10-09T12:31:38Z")

</div>

@Ghostvv In rasa 2.0 it is impossible to bypass this bug. I tried to bring my “run()” from 2.0rc4 as "validate() in my FormValidationAction in rasa 2.0, but the form slots are not filled any more (as was done in 2.0rc2/3/4).

So, the only slots that are not None are `{'city': Berlin', 'language': 'el'}`, so there is absolutely no way to deduce that `sl_frm_flight_departure_info_city` must be validated.

I think it is urgent that `tracker.slots_to_validate()` is fixed. User texts that trigger a form and contain also slot values in the text, do not work at all.

---

<div class="post-metadata">

**Author:** ![bayesianwannabe](https://avatars.discourse-cdn.com/v4/letter/b/bc8723/32.png) [@bayesianwannabe](https://forum.rasa.com/u/bayesianwannabe)\
**Post date:** [October 9, 2020, 12:33pm UTC](https://forum.rasa.com/t/rasa-open-source-2-0-is-out-now/35577/10 "2020-10-09T12:33:27Z")

</div>

That’s nice! Congratulations!

Using the forms with the new syntax seems really nice.

Will the JSON format for NLU data still be a compatible format in Rasa 2.0?

---

<div class="post-metadata">

**Author:** ![Tobias\_Wochinger](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tobias_wochinger/32/4580_2.png) [@Tobias\_Wochinger](https://forum.rasa.com/u/Tobias_Wochinger)\
**Post date:** [October 9, 2020, 12:41pm UTC](https://forum.rasa.com/t/rasa-open-source-2-0-is-out-now/35577/11 "2020-10-09T12:41:52Z")

</div>

@petasis Could you please also print `tracker.events` and share the output? Sorry for the pain 🙌 . Thanks for trying out the new forms and giving us this important feedback!

---

<div class="post-metadata">

**Author:** ![petasis](https://avatars.discourse-cdn.com/v4/letter/p/e47c2d/32.png) [@petasis](https://forum.rasa.com/u/petasis)\
**Post date:** [October 9, 2020, 12:48pm UTC](https://forum.rasa.com/t/rasa-open-source-2-0-is-out-now/35577/12 "2020-10-09T12:48:30Z")

</div>

@Tobias_Wochinger Here it is:

```
 2020-10-09 15:45:58 DEBUG rasa_sdk.executor - Received request to run 'validate_flight_departure_form'
[{'event': 'action', 'timestamp': 1602247557.9156418, 'name': 'action_session_start', 'policy': None, 'confidence': None}, {'event': 'session_started', 'timestamp': 1602247557.9156487}, {'event': 'action', 'timestamp': 1602247557.915664, 'name': 'action_listen', 'policy': None, 'confidence': None}, {'event': 'user', 'timestamp': 1602247558.7827165, 'text': 'Πάω Βερολίνο', 'parse_data': {'intent': {'id': -3941216509075261043, 'name': 'flight_departure_info', 'confidence': 0.8201098442077637}, 'entities': [{'start': 0, 'end': 12, 'value': 'el', 'entity': 'language', 'extractor': 'LanguageDetection', 'confidence': 0.8, 'processors': []}, {'entity': 'flying', 'start': 0, 'end': 3, 'confidence_entity': 0.9909201860427856, 'value': 'Πάω', 'extractor': 'DIETClassifier'}, {'entity': 'city', 'start': 4, 'end': 12, 'confidence_entity': 0.9995670914649963, 'role': 'destination', 'confidence_role': 0.9381487369537354, 'value': 'Βερολίνο', 'extractor': 'DIETClassifier'}], 'text': 'Πάω Βερολίνο', 'message_id': '87c00f56503c44e3bf86d65316592e5d', 'metadata': {}, 'intent_ranking': [{'id': -3941216509075261043, 'name': 'flight_departure_info', 'confidence': 0.8201098442077637}, {'id': 2664044872589260126, 'name': 'search_weather', 'confidence': 0.12625588476657867}, {'id': 7125258340380963357, 'name': 'inform', 'confidence': 0.044472575187683105}, {'id': -39451462298262712, 'name': 'flight_arrival_info', 'confidence': 0.003252280643209815}, {'id': -5768927727766554198, 'name': 'thank_you', 'confidence': 0.0018673756858333945}, {'id': -8692670432125223958, 'name': 'search_encyclopedia', 'confidence': 0.0017559383995831013}, {'id': 6588513445203812823, 'name': 'deny', 'confidence': 0.0009740469977259636}, {'id': -7785233749859444664, 'name': 'affirm', 'confidence': 0.0006402599974535406}, {'id': 7070374288436930481, 'name': 'chitchat_el', 'confidence': 0.0005440535605885088}, {'id': 6954701023244427238, 'name': 'chitchat_en', 'confidence': 0.00012771673209499568}], 'response_selector': {'all_retrieval_intents': ['chitchat_el', 'chitchat_en', 'thank_you', 'insult'], 'default': {'response': {'id': -5457300344229815958, 'response_templates': [{'text': 'Δεν νομίζω να αρέσει σε κανέναν ο πόλεμος.'}], 'confidence': 0.18031364679336548, 'intent_response_key': 'chitchat_el/trivia0el012', 'template_name': 'utter_chitchat_el/trivia0el012'}, 'ranking': [{'id': -5457300344229815958, 'confidence': 0.18031364679336548, 'intent_response_key': 'chitchat_el/trivia0el012'}, {'id': 7748575985266962142, 'confidence': 0.1385030597448349, 'intent_response_key': 'chitchat_el/AI0el0artificial0el0intelligence0el043'}, {'id': -7816006097834037261, 'confidence': 0.10925857722759247, 'intent_response_key': 'chitchat_el/AI0el0artificial0el0intelligence0el056'}, {'id': -3888007851385573483, 'confidence': 0.09588941931724548, 'intent_response_key': 'chitchat_el/AI0el0artificial0el0intelligence0el057'}, {'id': 8478890575344912681, 'confidence': 0.09179303795099258, 'intent_response_key': 'chitchat_el/trivia0el010'}, {'id': -6018272054094680420, 'confidence': 0.08424077183008194, 'intent_response_key': 'chitchat_el/trivia0el08'}, {'id': -4798333830252020586, 'confidence': 0.07688944041728973, 'intent_response_key': 'chitchat_el/AI0el0artificial0el0intelligence0el026'}, {'id': 6799014478740034578, 'confidence': 0.0765918642282486, 'intent_response_key': 'chitchat_el/AI0el0artificial0el0intelligence0el059'}, {'id': 6827961708562525567, 'confidence': 0.07622824609279633, 'intent_response_key': 'chitchat_el/pepper0el013'}, {'id': -5419568955056479616, 'confidence': 0.07029189169406891, 'intent_response_key': 'chitchat_el/philosophy0el04'}]}}}, 'input_channel': 'cmdline', 'message_id': '87c00f56503c44e3bf86d65316592e5d', 'metadata': {}}, {'event': 'slot', 'timestamp': 1602247558.7827384, 'name': 'city', 'value': 'Βερολίνο'}, {'event': 'slot', 'timestamp': 1602247558.782742, 'name': 'language', 'value': 'el'}, {'event': 'action', 'timestamp': 1602247558.7963033, 'name': 'flight_departure_form', 'policy': None, 'confidence': None}]
2020-10-09 15:45:58 DEBUG rasa_sdk.executor - Finished running 'validate_flight_departure_form'
```

---

<div class="post-metadata">

**Author:** ![petasis](https://avatars.discourse-cdn.com/v4/letter/p/e47c2d/32.png) [@petasis](https://forum.rasa.com/u/petasis)\
**Post date:** [October 9, 2020, 12:59pm UTC](https://forum.rasa.com/t/rasa-open-source-2-0-is-out-now/35577/13 "2020-10-09T12:59:40Z")

</div>

@Tobias_Wochinger A first observation is that in all rasa versions (including 2.00rc) before 2.0, the form slots that should be filled according to the domain file, were filled before a form validation was requested. In rasa 2.0, the form slots are empty. And when validation is asked from the action server, now the slot filling has to somehow happen in the actions server. Was this change on purpose?

---

<div class="post-metadata">

**Author:** ![tatianaf](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tatianaf/32/7906_2.png) [@tatianaf](https://forum.rasa.com/u/tatianaf)\
**Post date:** [October 9, 2020, 4:13pm UTC](https://forum.rasa.com/t/rasa-open-source-2-0-is-out-now/35577/14 "2020-10-09T16:13:26Z")

</div>

The documentation for writing forms has 2 different formats in the examples:

> **[Version Migration Guide](https://rasa.com/docs/rasa/migration-guide/)**
>
> Information about changes between major versions of chatbot framework Rasa Core
> and how you can migrate from one version to another.

> **[Forms](https://rasa.com/docs/rasa/forms/)**
>
> Follow a rule-based process of information gathering using forms in open source bot framework Rasa.

Im assuming the second link is the correct one but please correct the first one to match the second…

---

<div class="post-metadata">

**Author:** ![tatianaf](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tatianaf/32/7906_2.png) [@tatianaf](https://forum.rasa.com/u/tatianaf)\
**Post date:** [October 9, 2020, 5:59pm UTC](https://forum.rasa.com/t/rasa-open-source-2-0-is-out-now/35577/15 "2020-10-09T17:59:52Z")

</div>

Has Rasa X been updated to work with Rasa 2.0? I don’t see a new tag in docker hub: [Docker Hub](https://hub.docker.com/r/rasa/rasa-x/tags)

---

<div class="post-metadata">

**Author:** ![tswordsmith](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tswordsmith/32/11357_2.png) [@tswordsmith](https://forum.rasa.com/u/tswordsmith)\
**Post date:** [October 11, 2020, 7:20am UTC](https://forum.rasa.com/t/rasa-open-source-2-0-is-out-now/35577/16 "2020-10-11T07:20:12Z")

</div>

The ‘download project’ button in the Rasa Playground does not work. Tried on Chrome ond Edge (both chromium) but the button is not recognised as a button.

---

<div class="post-metadata">

**Author:** ![tswordsmith](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tswordsmith/32/11357_2.png) [@tswordsmith](https://forum.rasa.com/u/tswordsmith)\
**Post date:** [October 11, 2020, 7:29am UTC](https://forum.rasa.com/t/rasa-open-source-2-0-is-out-now/35577/17 "2020-10-11T07:29:25Z")

</div>

Executing ‘rasa train’ in Rasa 2.0 only uses the CPU for processing and does not take advantage of the GPU hardware available. I’ve been using a GPU with previous versions so I know it was previously finding this hardware. How do I get Rasa to recognise the GPU? As a test I removed the tensorflow package and then reinstalled the tensorflow-gpu package to try and force Rasa to use the only option available but still received the following error:

> rasa train Traceback (most recent call last): File “c:\users\t\anaconda3\envs\aenv\lib\runpy.py”, line 194, in \_run\_module\_as\_main return _run\_code(code, main\_globals, None, File “c:\users\t\anaconda3\envs\aenv\lib\runpy.py”, line 87, in run\_code exec(code, run\_globals) File "C:\Users\t\anaconda3\envs\aenv\Scripts\rasa.exe\_main.py", line 7, in File "c:\users\t\anaconda3\envs\aenv\lib\site-packages\rasa\_main_.py", line 104, in main set\_log\_level(log\_level) File “c:\users\t\anaconda3\envs\aenv\lib\site-packages\rasa\utils\common.py”, line 66, in set\_log\_level update\_tensorflow\_log\_level() File “c:\users\t\anaconda3\envs\aenv\lib\site-packages\rasa\utils\common.py”, line 108, in update\_tensorflow\_log\_level import tensorflow as tf ModuleNotFoundError: No module named ‘tensorflow’

---

<div class="post-metadata">

**Author:** ![petasis](https://avatars.discourse-cdn.com/v4/letter/p/e47c2d/32.png) [@petasis](https://forum.rasa.com/u/petasis)\
**Post date:** [October 12, 2020, 8:32am UTC](https://forum.rasa.com/t/rasa-open-source-2-0-is-out-now/35577/18 "2020-10-12T08:32:04Z")

</div>

In my setup, rasa 2.0 uses the GPU for training. Is tensorflow installed?

---

<div class="post-metadata">

**Author:** ![petasis](https://avatars.discourse-cdn.com/v4/letter/p/e47c2d/32.png) [@petasis](https://forum.rasa.com/u/petasis)\
**Post date:** [October 12, 2020, 8:33am UTC](https://forum.rasa.com/t/rasa-open-source-2-0-is-out-now/35577/19 "2020-10-12T08:33:19Z")

</div>

Is a fix expected for the forms problems? (like today?)

---

<div class="post-metadata">

**Author:** ![tswordsmith](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tswordsmith/32/11357_2.png) [@tswordsmith](https://forum.rasa.com/u/tswordsmith)\
**Post date:** [October 12, 2020, 9:20am UTC](https://forum.rasa.com/t/rasa-open-source-2-0-is-out-now/35577/20 "2020-10-12T09:20:14Z")

</div>

I am not sure what is happening. Conda list doesn’t show tensorflow but does show tensorflow-gpu but when I run \> rasa train CPU usage goes up to 80% and the GPU usage stays at 0%.

tabulate 0.8.7 pypi\_0 pypi tensorboard 2.3.0 pypi\_0 pypi tensorboard-plugin-wit 1.7.0 pypi\_0 pypi tensorflow-addons 0.11.2 pypi\_0 pypi tensorflow-estimator 2.3.0 pypi\_0 pypi tensorflow-gpu 2.3.1 pypi\_0 pypi tensorflow-gpu-estimator 2.3.0 pypi\_0 pypi tensorflow-hub 0.9.0 pypi\_0 pypi tensorflow-probability 0.11.1 pypi\_0 pypi termcolor 1.1.0 pypi\_0 pypi

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/c/c58dea266c9e915ac5d0a63be263bc6a9f85b485.png)

[Next page](https://forum.rasa.com/t/rasa-open-source-2-0-is-out-now/35577.md?page=2)
