diff --git a/examples/gobot_tutorial.ipynb b/examples/gobot_tutorial.ipynb index 17544ae73b..01b1122cc9 100644 --- a/examples/gobot_tutorial.ipynb +++ b/examples/gobot_tutorial.ipynb @@ -64,7 +64,8 @@ }, "outputs": [], "source": [ - "!pip install deeppavlov" + "!pip install deeppavlov\n", + "!python -m deeppavlov install gobot_dstc2_minimal" ] }, { @@ -427,7 +428,7 @@ "source": [ "For our bot we will use ML pipline for task-oriented conversational skill from DeepPavlov. We will train this skill with our dialogue data. \n", "\n", - "Skills in DeepPavlov are defined by configuration files. So, we will use [default DSTC2 bot config](https://github.com/deepmipt/DeepPavlov/blob/master/deeppavlov/configs/go_bot/gobot_dstc2.json) ([more configs](https://github.com/deepmipt/DeepPavlov/blob/master/deeppavlov/configs/go_bot) are available) and change sections responsible for \n", + "Skills in DeepPavlov are defined by configuration files. So, we will use [minimal DSTC2 bot config](https://github.com/deepmipt/DeepPavlov/blob/master/deeppavlov/configs/go_bot/gobot_dstc2_minimal.json) ([more configs](https://github.com/deepmipt/DeepPavlov/blob/master/deeppavlov/configs/go_bot) are available) and change sections responsible for \n", "- embeddings,\n", "- response templates,\n", "- data and model load/save paths.\n", @@ -669,7 +670,7 @@ }, "outputs": [], "source": [ - "bot(['good evening, bot'])" + "bot([[{\"text\": \"good evening, bot\"}]])" ] }, { @@ -682,7 +683,7 @@ }, "outputs": [], "source": [ - "bot(['the weather is clooudy and gloooomy'])" + "bot([[{\"text\": \"the weather is clooudy and gloooomy\"}]])" ] }, { @@ -695,7 +696,7 @@ }, "outputs": [], "source": [ - "bot([\"nice idea, thanks!\"])" + "bot([[{\"text\": \"nice idea, thanks!\"}]])" ] }, { @@ -721,7 +722,7 @@ }, "outputs": [], "source": [ - "bot(['hi bot'])" + "bot([[{\"text\": \"hi bot\"}]])" ] }, { @@ -734,7 +735,7 @@ }, "outputs": [], "source": [ - "bot([\"looks ok, the sun is bright and yesterday's rain stopped already\"])" + "bot([[{\"text\": \"looks ok, the sun is bright and yesterday's rain stopped already\"}]])" ] }, { @@ -747,14 +748,13 @@ }, "outputs": [], "source": [ - "bot(['i dont wanna'])" + "bot([[{\"text\": \"i dont wanna\"}]])" ] }, { "cell_type": "markdown", "metadata": { - "colab": {}, - "colab_type": "code", + "colab_type": "text", "id": "wdg4wl0dgSD9" }, "source": [