Skip to content
This repository has been archived by the owner on Aug 22, 2019. It is now read-only.

Commit

Permalink
Merge branch 'rasa-cli' of github.com:RasaHQ/rasa_core into rasa-cli
Browse files Browse the repository at this point in the history
  • Loading branch information
tmbo committed Feb 26, 2019
2 parents 5ec239f + 67e3a4b commit c50721d
Show file tree
Hide file tree
Showing 77 changed files with 1,237 additions and 986 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,18 @@ Added
- ``tf.ConfigProto`` configuration can now be specified
for tensorflow based pipelines
- open api spec for the Rasa Core SDK action server
- documentation about early deactivation of a form in validation
- utility functions for colored logging
- open webbrowser when visualizing stories

Changed
-------
- starter packs are now tested in parallel with the unittests,
and only on master and branches ending in ``.x`` (i.e. new version releases)
- renamed ``train_dialogue_model`` to ``train``
- renamed ``rasa_core.evaluate`` to ``rasa_core.test``
- changed export paths for interactive training to ``data/core/stories.md``,
``data/nlu/nlu.md`` and ``data/nlu/nlu_interactive.md``

Removed
-------
Expand Down
6 changes: 6 additions & 0 deletions docs/api/agent.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
:desc: Read how to use the agent api to control most functionalities like
training, loading and using a model of open source chatbot framework
Rasa Stack.

.. _agent:

Agent
=====

Expand Down
5 changes: 5 additions & 0 deletions docs/api/dispatcher.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
:desc: Define the message you sent with your open source chatbot to your using
including buttons and other GUI elements.

.. _dispatcher:

Dispatcher
==========

Expand Down
3 changes: 3 additions & 0 deletions docs/api/events.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
:desc: Use events in open source library Rasa Core to support functionalities
like resetting slots, scheduling reminder or pausing a conversation.

.. _events:

Events
Expand Down
3 changes: 3 additions & 0 deletions docs/api/featurizer.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
:desc: Find out how to apply machine learning algorithms to conversational AI
using vector representations of conversations with Rasa Stack.

.. _featurization:

Featurization
Expand Down
5 changes: 4 additions & 1 deletion docs/api/interpreter.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
:desc: Read how Rasa Stack interprets a message or non-textual input like
buttons or other structured input for contextual conversation design.

.. _interpreters:

Interpreters
Expand Down Expand Up @@ -85,5 +88,5 @@ and entities:
/add_to_shopping_list@0.825{"item": ["milk", "salt"]}
.. include:: ../feedback.inc
6 changes: 6 additions & 0 deletions docs/api/policy.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
:desc: Manage policies to enable machine learning based predictions of the
next action to ensure contextual conversations using open source
libraries from Rasa Stack.

.. policy:
Policy
======

Expand Down
4 changes: 3 additions & 1 deletion docs/api/slots_api.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
:desc: A list of all Rasa Core slot types
:desc: Define different slots variables to store contextual information that can
personalise user experience using machine learning based dialogue
management.

.. _slot_types:

Expand Down
6 changes: 6 additions & 0 deletions docs/api/tracker.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
:desc: The tracker stores and maintains the state of the dialogue with a single
user enabling contextual dialogues based on machine learning library
Rasa Core.

.. _dialogue_state_tracker:

Dialogue State Tracker
======================

Expand Down
5 changes: 4 additions & 1 deletion docs/architecture.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
:desc: Check the architecture to understand how Rasa Core uses machine
learning, context and state of the conversation to predict the
next action of the AI Assistant.

.. _architecture:

High-Level Architecture
Expand Down Expand Up @@ -32,4 +36,3 @@ The process is handled by the :class:`rasa_core.agent.Agent` class.


.. include:: feedback.inc

5 changes: 3 additions & 2 deletions docs/brokers.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
:desc: Find out how open source chatbot framework Rasa Stack allows
you to stream events to a message broker.

.. _brokers:

Event Brokers
Expand Down Expand Up @@ -95,5 +98,3 @@ example:
.. include:: feedback.inc


6 changes: 5 additions & 1 deletion docs/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
:desc: Rasa Core Changelog

.. include:: ../CHANGELOG.rst
Added
-------
- Added `priority` property of policies to influence best policy in the case of equal confidence

Changed
-------
- Change payloads from "text" to "message" in files: server.yml, docs/connectors.rst, rasa_core/server.py, rasa_core/training/interactive.py, tests/test_interactive.py
- Change payloads from "text" to "message" in files: server.yml, docs/connectors.rst, rasa_core/server.py, rasa_core/training/interactive.py, tests/test_interactive.py
4 changes: 4 additions & 0 deletions docs/connectors.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
:desc: Choose Facebook, Slack or Telegram as your channel for contextual
Assistants and chatbots or build new ones for your own app or website
using open source Rasa Stack.

.. _connectors:

Chat & Voice platforms
Expand Down
5 changes: 2 additions & 3 deletions docs/debugging.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
:desc: Tips for Debugging a Rasa bot
:desc: Read more how to learn from real user input and behaviour by debugging
your contextual AI assistants and chatbots using open source libraries.

.. _debugging:

Expand Down Expand Up @@ -106,5 +107,3 @@ for example ``--nlu_data mydata.json``.


.. include:: feedback.inc


5 changes: 2 additions & 3 deletions docs/docker.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
:desc: Using Rasa Core with Docker.
:desc: Find out how to setup Rasa Core with Docker in your own infrastructure
as a chatbot framework.

.. _docker:

Expand Down Expand Up @@ -36,5 +37,3 @@ You may in addition run any Rasa Core command inside the container with


.. include:: feedback.inc


3 changes: 2 additions & 1 deletion docs/docker_walkthrough.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
:desc: Building Rasa with Docker
:desc: Setup open source Rasa Core with Docker in your own infrastructure for on
premise contextual AI assistants and chatbots.

.. _docker_walkthrough:

Expand Down
6 changes: 2 additions & 4 deletions docs/domains.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
:desc: Understanding Rasa Core Domains
:desc: Define intents, entities, slots and actions in Rasa to build contextual
AI Assistants and chatbots using open source bot framework Rasa Stack.

.. _domain:

Expand Down Expand Up @@ -232,6 +233,3 @@ featurized as normal.


.. include:: feedback.inc



6 changes: 4 additions & 2 deletions docs/evaluation.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
:desc: How to evaluate a Rasa Core model
:desc: Evaluate and validate your machine learning models for open source
library Rasa Core to improve the dialogue management of your contextual
AI Assistant.

.. _evaluation:

Expand Down Expand Up @@ -28,7 +30,7 @@ We count any story as `failed` if at least one of the actions
was predicted incorrectly.

In addition, this will save a confusion matrix to a file called
``results/story_confmat.pdf``. The confusion matrix shows, for each action in
``results/story_confmat.pdf``. The confusion matrix shows, for each action in
your domain, how often that action was predicted, and how often an
incorrect action was predicted instead.

Expand Down
8 changes: 3 additions & 5 deletions docs/fallbacks.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
:desc: Fallback and Default Actions in Rasa Core
:desc: Define custom fallback actions with thresholds for NLU and Core for letting
your conversation fail gracefully with open source dialogue management.

.. _fallbacks:

Expand Down Expand Up @@ -65,7 +66,7 @@ policy configuration file. For example:
core_threshold: 0.3
fallback_action_name: "my_fallback_action"
.. note::
If your custom fallback action does not return a ``UserUtteranceReverted`` event,
the next predictions of your bot may become inaccurate, as it is very likely that
Expand All @@ -82,6 +83,3 @@ called ``out_of_scope``, then you should add this as a story:
.. include:: feedback.inc



6 changes: 4 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
:desc: Get started with machine learning dialogue management to scale your bot
development using Rasa Stack as a conversational AI platform.

.. _index:

The Rasa Core dialogue engine
=============================
Expand Down Expand Up @@ -103,5 +107,3 @@ The Rasa Core dialogue engine
docker
changelog
support


9 changes: 6 additions & 3 deletions docs/installation.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
:desc: Join our community by installing open source Rasa Core for machine
learning based dialogue management to develop on premise contextual
assistants and chatbots.

.. _installation:

Installation
Expand Down Expand Up @@ -91,9 +95,9 @@ chatbot. On top of that, the starter-pack includes a training data set ready
for you to use.

Click the link below to get the Rasa Stack starter-pack:

`Rasa Stack starter-pack <https://github.com/RasaHQ/starter-pack-rasa-stack>`_

Let us know how you are getting on! If you have any questions about the starter-pack or
using Rasa Stack in general, post your questions on `Rasa Community Forum <https://forum.rasa.com>`_!

Expand Down Expand Up @@ -169,4 +173,3 @@ Volume Explanation
But don't forget to reflect this changes in the docker compose file and in your endpoint configuration.

.. include:: feedback.inc

4 changes: 3 additions & 1 deletion docs/interactive_learning.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
:desc: Interactive Learning with Rasa Core
:desc: Use Interactive learning to continuously validate and improve the
performance of your AI Assistant using machine learning based
open source dialogue management.

.. _interactive_learning:

Expand Down
3 changes: 2 additions & 1 deletion docs/migrations.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
:desc: Upgrading your Rasa Core Project
:desc: Information about changes between major versions of chatbot framework
Rasa Core and how you can migrate from one version to another.

.. _migration:

Expand Down
3 changes: 2 additions & 1 deletion docs/policies.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
:desc: Understanding Rasa Core Policies
:desc: Define and train custom policies to optimise your contextual assistant
for longer context or unseen utterances which require generalisation.

.. _policies:

Expand Down
7 changes: 4 additions & 3 deletions docs/quickstart.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
:desc: Check this tutorial on how to get started with our open source framework
for building contextual AI assistants and chatbots.

.. _quickstart:

Quickstart
Expand Down Expand Up @@ -478,7 +481,5 @@ this:
- title: "super sad"
payload: "super sad"
.. include:: feedback.inc

.. include:: feedback.inc
5 changes: 3 additions & 2 deletions docs/responses.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
:desc: Read more how to define bot utterances or use a service to generate the
responses using Rasa Stack as an open source chatbot platform.

.. _responses:

Bot Responses
Expand Down Expand Up @@ -141,5 +144,3 @@ The bot will then use this response and sent it back to the user.


.. include:: feedback.inc


3 changes: 2 additions & 1 deletion docs/run-code-in-custom-actions.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
:desc: Running actions and custom code with Rasa.
:desc: Read more about how to run custom actions and code with open source Rasa
Stack to integrate your contextual Assistant in your processes and databases.

.. _customactions:

Expand Down
3 changes: 2 additions & 1 deletion docs/server.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
:desc: The Rasa Core REST API
:desc: Find out how to use the HTTP API of Rasa Core to integrate
with your backend components.

.. _section_http:

Expand Down
Loading

0 comments on commit c50721d

Please sign in to comment.