Skip to content

Commit

Permalink
Merge 770929c into f736144
Browse files Browse the repository at this point in the history
  • Loading branch information
msamogh committed Aug 30, 2019
2 parents f736144 + 770929c commit 6edcd34
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 21 deletions.
1 change: 1 addition & 0 deletions docs/core/actions.rst
Expand Up @@ -190,6 +190,7 @@ using the :ref:`callbackInput` channel to send messages to a webhook.
reverts itself by appending a ``ActionReverted`` event to the end of the
conversation tracker.

.. _default-actions:

Default Actions
---------------
Expand Down
37 changes: 16 additions & 21 deletions docs/glossary.rst
Expand Up @@ -7,7 +7,7 @@ Glossary

.. glossary::

Action
:ref:`Action <actions>`
A single step that a bot takes in a conversation (e.g. calling an API or sending a response back to the user).

Annotation
Expand All @@ -16,26 +16,26 @@ Glossary
CMS
A Content Management System (CMS) can be used to store bot responses externally instead of directly including it as part of the domain. This provides more flexibility in changing them as they are not tightly-coupled with the training data.

Custom Action
:ref:`Custom Action <custom-actions>`
An action written by a Rasa developer that can run arbitrary code mainly to interact with the outside world.

Default Action
:ref:`Default Action <default-actions>`
A built-in action that comes with predefined functionality.

Domain
:ref:`Domain <domains>`
Defines the inputs and outputs of an assistant.

It includes a list of all the intents, entities, slots, actions, and forms that the assistant knows about.

Entity
:ref:`Entity <entity-extraction>`
Structured information that can be extracted from a user message.

For example a telephone number, a person's name, a location, the name of a product

Event
:ref:`Event <events>`
All conversations in Rasa are represented as a sequence of events. For instance, a ``UserUttered`` represents a user entering a message, and an ``ActionExecuted`` represents the assistant executing an action. You can learn more about them :ref:`here <events>`.

Form
:ref:`Form <forms>`
A type of custom action that asks the user for multiple pieces of information.

For example, if you need a city, a cuisine, and a price range to recommend a restaurant, you can create a restaurant form to do that. You can describe any business logic inside a form. For example, if you want to ask for a particular neighbourhood if a user mentions a large city like Los Angeles, you can write that logic inside the form.
Expand All @@ -46,7 +46,7 @@ Glossary
Intent
Something that a user is trying to convey or accomplish (e,g., greeting, specifying a location).

Interactive Learning
:ref:`Interactive Learning <interactive-learning>`
A mode of training the bot where the user provides feedback to the bot while talking to it.

This is a powerful way to write complicated stories by enabling users to explore what a bot can do and easily fix any mistakes it makes.
Expand All @@ -56,44 +56,39 @@ Glossary

Rasa uses a simple template-based approach for NLG. Data-driven approaches (such as neural NLG) can be implemented by creating a custom NLG component.

Rasa NLU
:ref:`Rasa NLU <about-rasa-nlu>`
Natural Language Understanding (NLU) deals with parsing and understanding human language into a structured format.

Rasa NLU is the part of Rasa that performs intent classification and entity extraction.

Pipeline
:ref:`Pipeline <choosing-a-pipeline>`
A Rasa bot's NLU system is defined by a pipeline, which is a list of NLU components (see "Rasa NLU Component") in a particular order. A user input is processed by each component one by one before finally giving out the structured output.

Policy
:ref:`Policy <policies>`
Policies make decisions on how conversation flow should proceed. At every turn, the policy which predicts the next action with the highest confidence will be used. A Core model can have multiple policies included, and the policy whose prediction has the highest confidence decides the next action to be taken.

Rasa Core
:ref:`Rasa Core <about-rasa-core>`
The dialogue engine that decides on what to do next in a conversation based on the context.

Rasa NLU Component
:ref:`Rasa NLU Component <components>`
An element in the Rasa NLU pipeline (see "Pipeline").

Incoming messages are processed by a sequence of components called a pipeline. A component can perform tasks ranging from entity extraction to intent classification to pre-processing.

Slot
:ref:`Slot <slots>`
A key-value store that Rasa uses to track information over the course of a conversation.

For the different types of slots, see :ref:`here <slot-classes>`.

Story
:ref:`Story <stories>`
A conversation between a user and a bot annotated with the intent / entities of the users' messages as well as the sequence of actions to be performed by the bot

Template / Response / Utterance
:ref:`Template / Response / Utterance <responses>`
A message template that is used to respond to a user. This can include text, buttons, images, and other attachments.

User Goal
A goal that a user wants to achieve.

For example, a user may have the goal of booking a table at a restaurant. Another user may just want to make small talk. Sometimes, the user expresses their goal with a single message, e.g. "I want to book a table at a restaurant". Other times the assistant may have to ask a few questions to understand how to help the user. Note: Many other places refer to the user goal as the "intent", but in Rasa terminology, an intent is associated with every user message.

Utterance
A type of bot action that only involves sending a pre-defined message back to the user (without running any other code)

Word embedding / Word vector
A vector of floating point numbers which represent the meaning of a word. Words which have similar meanings should have vectors which point in almost the same direction. Word embeddings are often used as an input to machine learning algorithms.

0 comments on commit 6edcd34

Please sign in to comment.