| desc: | Rasa OSS Changelog |
|---|
All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning starting with version 1.0.
#4935: Removed
ner_featuresas a feature name fromCRFEntityExtractor, usetext_dense_featuresinstead.The following settings match the previous
NGramFeaturizer:- name: 'CountVectorsFeaturizer' analyzer: 'char_wb' min_ngram: 3 max_ngram: 17 max_features: 10 min_df: 5
#4957: To use custom features in the
CRFEntityExtractorusetext_dense_featuresinstead ofner_features. Iftext_dense_featuresare present in the feature set, theCRFEntityExtractorwill automatically make use of them. Just make sure to add a dense featurizer in front of theCRFEntityExtractorin your pipeline and set the flagreturn_sequencetoTruefor that featurizer. See https://rasa.com/docs/rasa/nlu/entity-extraction/#passing-custom-features-to-crfentityextractor.#4990: Deprecated
Agent.continue_training. Instead, a model should be retrained.#684: Specifying lookup tables directly in the NLU file is now deprecated. Please specify them in an external file.
#4795: Replaced the warnings about missing templates, intents etc. in validator.py by debug messages.
#4830: Added conversation sessions to trackers.
A conversation session represents the dialog between the assistant and a user. Conversation sessions can begin in three ways: 1. the user begins the conversation with the assistant, 2. the user sends their first message after a configurable period of inactivity, or 3. a manual session start is triggered with the
/session_startintent message. The period of inactivity after which a new conversation session is triggered is defined in the domain using thesession_expiration_timekey in thesession_configsection. The introduction of conversation sessions comprises the following changes:- Added a new event
SessionStartedthat marks the beginning of a new conversation session. - Added a new default action
ActionSessionStart. This action takes allSlotSetevents from the previous session and applies it to the next session. - Added a new default intent
session_startwhich triggers the start of a new conversation session. SQLTrackerStoreandMongoTrackerStoreonly retrieve events from the last session from the database.
Note
The session behaviour is disabled for existing projects, i.e. existing domains without session config section.
- Added a new event
#4935: Preparation for an upcoming change in the
EmbeddingIntentClassifier:Add option
use_cls_tokento all tokenizers. If it is set toTrue, the token__CLS__will be added to the end of the list of tokens. Default is set toFalse. No need to change the default value for now.Add option
return_sequenceto all featurizers. By default all featurizers return a matrix of size (1 x feature-dimension). If the optionreturn_sequenceis set toTrue, the corresponding featurizer will return a matrix of size (token-length x feature-dimension). See https://rasa.com/docs/rasa/nlu/components/#featurizers. Default value is set toFalse. However, you might want to set it toTrueif you want to use custom features in theCRFEntityExtractor. See https://rasa.com/docs/rasa/nlu/entity-extraction/#passing-custom-features-to-crfentityextractor.Warning
These changes break model compatibility. You will need to retrain your old models!
#3549: Added
--no-plotoption forrasa testcommand, which disables rendering of confusion matrix and histogram. By default plots will be rendered.#4086: If matplotlib couldn't set up a default backend, it will be set automatically to TkAgg/Agg one
#4647: Add the option
`random_seed`to the`rasa data split nlu`command to generate reproducible train/test splits.#4734: Changed
url__init__()arguments for custom tracker stores tohostto reflect the__init__arguments of currently supported tracker stores. Note that inendpoints.yml, these are still declared asurl.#4751: The
kafka-pythondependency has become as an "extra" dependency. To use theKafkaEventConsumer,rasahas to be installed with the[kafka]option, i.e.$ pip install rasa[kafka]
#4801: Allow creation of natural language interpreter and generator by classname reference in
endpoints.yml.#4834: Made it explicit that interactive learning does not work with NLU-only models.
Interactive learning no longer trains NLU-only models if no model is provided and no core data is provided.
#4899: The
intent_report.jsoncreated byrasa testnow creates an extra fieldconfused_withfor each intent. This is a dictionary containing the names of the most common false positives when this intent should be predicted, and the number of such false positives.#4976:
rasa test nlu --cross-validationnow also includes an evaluation of the response selector. As a result, the train and test F1-score, accuracy and precision is logged for the response selector. A report is also generated in theresultsfolder by the nameresponse_selection_report.json
- #4635: If a
wait_time_between_pullsis configured for the model server inendpoints.yml, this will be used instead of the default one when running Rasa X. - #4759: Training Luis data with
luis_schema_versionhigher than 4.x.x will show a warning instead of throwing an exception. - #4799: Running
rasa interactivewith no NLU data now works, with the functionality ofrasa interactive core. - #4917: When loading models from S3, namespaces (folders within a bucket) are now respected. Previously, this would result in an error upon loading the model.
- #4925: "rasa init" will ask if user wants to train a model
- #4942: Pin
multidictdependency to 4.6.1 to prevent sanic from breaking, see sanic-org/sanic#1729 - #4985: Fix errors during training and testing of
ResponseSelector.
- #4933: Improved error message that appears when an incorrect parameter is passed to a policy.
- #4914: Added
rasa/nlu/schemas/config.ymlto wheel package - #4942: Pin
multidictdependency to 4.6.1 to prevent sanic from breaking, see sanic-org/sanic#1729
- #3684:
rasa interactivewill skip the story visualization of training stories in case there are more than 200 stories. Stories created during interactive learning will be visualized as before. - #4792: The log level for SocketIO loggers, including
websockets.protocol,engineio.server, andsocketio.server, is now handled by theLOG_LEVEL_LIBRARIESenvironment variable, where the default log level isERROR. - #4873: Updated all example bots and documentation to use the updated
dispatcher.utter_message()method from rasa-sdk==1.5.0.
- #3684:
rasa interactivewill not load training stories in case the visualization is skipped. - #4789: Fixed error where spacy models where not found in the docker images.
- #4802: Fixed unnecessary
kwargsunpacking inrasa.test.test_corecall inrasa.test.testfunction. - #4898: Training data files now get loaded in the same order (especially relevant to subdirectories) each time to ensure training consistency when using a random seed.
- #4918: Locks for tickets in
LockStoreare immediately issued without a redundant check for their availability.
- #4844: Added
towncrierto automatically collect changelog entries. - #4869: Document the pipeline for
pretrained_embeddings_convertin the pre-configured pipelines section. - #4894:
Proactively Reaching Out to the User Using Actionsnow correctly links to the endpoint specification.
- When NLU training data is dumped as Markdown file the intents are not longer ordered alphabetically, but in the original order of given training data
- End to end stories now support literal payloads which specify entities, e.g.
greet: /greet{"name": "John"} - Slots will be correctly interpolated if there are lists in custom response templates.
- Fixed compatibility issues with
rasa-sdk1.5 - Updated
/statusendpoint to show correct path to model archive
- Added data validator that checks if domain object returned is empty. If so, exit early
from the command
rasa data validate. - Added the KeywordIntentClassifier.
- Added documentation for
AugmentedMemoizationPolicy. - Fall back to
InMemoryTrackerStorein case there is any problem with the current tracker store. - Arbitrary metadata can now be attached to any
Eventsubclass. The data must be stored under themetadatakey when reading the event from a JSON object or dictionary. - Add command line argument
rasa x --config CONFIG, to specify path to the policy and NLU pipeline configuration of your bot (default:config.yml). - Added a new NLU featurizer -
ConveRTFeaturizerbased on ConveRT model released by PolyAI. - Added a new preconfigured pipeline -
pretrained_embeddings_convert.
- Do not retrain the entire Core model if only the
templatessection of the domain is changed. - Upgraded
jsonschemaversion.
- Remove duplicate messages when creating training data (issues/1446).
MultiProjectImporternow imports files in the order of the import statements- Fixed server hanging forever on leaving
rasa shellbefore first message - Fixed rasa init showing traceback error when user does Keyboard Interrupt before choosing a project path
CountVectorsFeaturizerfeaturizes intents only if its analyzer is set toword- Fixed bug where facebooks generic template was not rendered when buttons were
None - Fixed default intents unnecessarily raising undefined parsing error
- Fixed Rasa X not working when any tracker store was configured for Rasa.
- Use the matplotlib backend
aggin case thetkinterpackage is not installed.
- NLU-only models no longer throw warnings about parsing features not defined in the domain
- Fixed bug that stopped Dockerfiles from building version 1.4.4.
- Fixed format guessing for e2e stories with intent restated as
/intent
PikaEventProduceradds the RabbitMQApp IDmessage property to published messages with the value of theRASA_ENVIRONMENTenvironment variable. The message property will not be assigned if this environment variable isn't set.
- Updated Mattermost connector documentation to be more clear.
- Updated format strings to f-strings where appropriate.
- Updated tensorflow requirement to
1.15.0 - Dump domain using UTF-8 (to avoid
\UXXXXsequences in the dumped files)
- Fixed exporting NLU training data in
jsonformat fromrasa interactive - Fixed numpy deprecation warnings
- Fixed
Connection reset by peererrors and bot response delays when using the RabbitMQ event broker.
- TensorFlow deprecation warnings are no longer shown when running
rasa x
- Fixed
'Namespace' object has no attribute 'persist_nlu_data'error during interactive learning - Pinned networkx~=2.3.0 to fix visualization in rasa interactive and Rasa X
- Fixed
No model founderror when usingrasa run actionswith "actions" as a directory.
Regression: changes from 1.2.12 were missing from 1.4.0, readded them
- add flag to CLI to persist NLU training data if needed
- log a warning if the
Interpreterpicks up an intent or an entity that does not exist in the domain file. - added
DynamoTrackerStoreto support persistence of agents running on AWS - added docstrings for
TrackerStoreclasses - added buttons and images to mattermost.
CRFEntityExtractorupdated to accept arbitrary token-level features like word vectors (issues/4214)SpacyFeaturizerupdated to addner_featuresforCRFEntityExtractor- Sanitizing incoming messages from slack to remove slack formatting like <mailto:xyz@rasa.com|xyz@rasa.com> or <http://url.com|url.com> and substitute it with original content
- Added the ability to configure the number of Sanic worker processes in the HTTP
server (
rasa.server) and input channel server (rasa.core.agent.handle_channels()). The number of workers can be set using the environment variableSANIC_WORKERS(default: 1). A value of >1 is allowed only in combination withRedisLockStoreas the lock store. - Botframework channel can handle uploaded files in
UserMessagemetadata. - Added data validator that checks there is no duplicated example data across multiples intents
- Unknown sections in markdown format (NLU data) are not ignored anymore, but instead an error is raised.
- It is now easier to add metadata to a
UserMessagein existing channels. You can do so by overwriting the methodget_metadata. The return value of this method will be passed to theUserMessageobject. - Tests can now be run in parallel
- Serialise
DialogueStateTrackeras json instead of pickle. DEPRECATION warning: Deserialisation of pickled trackers will be deprecated in version 2.0. For now, trackers are still loaded from pickle but will be dumped as json in any subsequent save operations. - Event brokers are now also passed to custom tracker stores (using the
event_brokerparameter) - Don't run the Rasa Docker image as
root. - Use multi-stage builds to reduce the size of the Rasa Docker image.
- Updated the
/statusapi route to use the actual model file location instead of thetmplocation.
- Removed Python 3.5 support
- fixed missing
tkinterdependency for running tests on Ubuntu - fixed issue with
conversationJSON serialization - fixed the hanging HTTP call with
ner_duckling_httppipeline - fixed Interactive Learning intent payload messages saving in nlu files
- fixed DucklingHTTPExtractor dimensions by actually applying to the request
- Can now pass a package as an argument to the
--actionsparameter of therasa run actionscommand.
- Fixed visualization of stories with entities which led to a failing visualization in Rasa X
- Port of 1.2.10 (support for RabbitMQ TLS authentication and
portkey in event broker endpoint config). - Port of 1.2.11 (support for passing a CA file for SSL certificate verification via the --ssl-ca-file flag).
- Fixed the hanging HTTP call with
ner_duckling_httppipeline. - Fixed text processing of
intentattribute insideCountVectorFeaturizer. - Fixed
argument of type 'NoneType' is not iterablewhen usingrasa shell,rasa interactive/rasa run
- Policies now only get imported if they are actually used. This removes TensorFlow warnings when starting Rasa X
- Fixed error
Object of type 'MaxHistoryTrackerFeaturizer' is not JSON serializablewhen runningrasa train core - Default channel
send_methods no longer support kwargs as they caused issues in incompatible channels
- re-added TLS, SRV dependencies for PyMongo
- socketio can now be run without turning on the
--enable-apiflag - MappingPolicy no longer fails when the latest action doesn't have a policy
- Added the ability for users to specify a conversation id to send a message to when
using the
RasaChatinput channel.
- Fixed issue where
rasa initwould fail without spaCy being installed
- Added the ability to set the
backlogparameter in Sanicsrun()method using theSANIC_BACKLOGenvironment variable. This parameter sets the number of unaccepted connections the server allows before refusing new connections. A default value of 100 is used if the variable is not set. - Status endpoint (
/status) now also returns the number of training processes currently running
- Added the ability to properly deal with spaCy
Doc-objects created on empty strings as discussed here. Only training samples that actually bear content are sent toself.nlp.pipefor every given attribute. Non-content-bearing samples are converted to emptyDoc-objects. The resulting lists are merged with their preserved order and properly returned. - asyncio warnings are now only printed if the callback takes more than 100ms (up from 1ms).
agent.load_model_from_serverno longer affects logging.
- The endpoint
POST /model/trainno longer supports specifying an output directory for the trained model using the fieldout. Instead you can choose whether you want to save the trained model in the default model directory (models) (default behavior) or in a temporary directory by specifying thesave_to_default_model_directoryfield in the training request.
- Added a check to avoid training
CountVectorizerfor a particular attribute of a message if no text is provided for that attribute across the training data. - Default one-hot representation for label featurization inside
EmbeddingIntentClassifierif label features don't exist. - Policy ensemble no longer incorrectly wrings "missing mapping policy" when mapping policy is present.
- "text" from
utter_custom_jsonnow correctly saved to tracker when using telegram channel
- Removed computation of
intent_spacy_doc. As a result, none of the spacy components process intents now.
- SQL tracker events are retrieved ordered by timestamps. This fixes interactive learning events being shown in the wrong order.
- Pin gast to == 0.2.2
- Added option to persist nlu training data (default: False)
- option to save stories in e2e format for interactive learning
- bot messages contain the
timestampof theBotUtteredevent, which can be used in channels FallbackPolicycan now be configured to trigger when the difference between confidences of two predicted intents is too narrow- experimental training data importer which supports training with data of multiple sub bots. Please see the docs for more information.
- throw error during training when triggers are defined in the domain without
MappingPolicybeing present in the policy ensemble - The tracker is now available within the interpreter's
parsemethod, giving the ability to create interpreter classes that use the tracker state (eg. slot values) during the parsing of the message. More details on motivation of this change see issues/3015. - add example bot
knowledgebasebotto showcase the usage ofActionQueryKnowledgeBase softmaxstarspace loss for bothEmbeddingPolicyandEmbeddingIntentClassifierbalancedbatching strategy for bothEmbeddingPolicyandEmbeddingIntentClassifiermax_historyparameter forEmbeddingPolicy- Successful predictions of the NER are written to a file if
--successesis set when runningrasa test nlu - Incorrect predictions of the NER are written to a file by default. You can disable it via
--no-errors. - New NLU component
ResponseSelectoradded for the task of response selection - Message data attribute can contain two more keys -
response_key,responsedepending on the training data - New action type implemented by
ActionRetrieveResponseclass and identified withresponse_prefix - Vocabulary sharing inside
CountVectorsFeaturizerwithuse_shared_vocabflag. If set to True, vocabulary of corpus is shared between text, intent and response attributes of message - Added an option to share the hidden layer weights of text input and label input inside
EmbeddingIntentClassifierusing the flagshare_hidden_layers - New type of training data file in NLU which stores response phrases for response selection task.
- Add flag
intent_split_symbolandintent_tokenization_flagto allWhitespaceTokenizer,JiebaTokenizerandSpacyTokenizer - Added evaluation for response selector. Creates a report
response_selection_report.jsoninside--outdirectory. - argument
--config-endpointto specify the URL from whichrasa xpulls the runtime configuration (endpoints and credentials) LockStoreclass storing instances ofTicketLockfor everyconversation_id- environment variables
SQL_POOL_SIZE(default: 50) andSQL_MAX_OVERFLOW(default: 100) can be set to control the pool size and maximum pool overflow forSQLTrackerStorewhen used with thepostgresqldialect - Add a bot_challenge intent and a utter_iamabot action to all example projects and the rasa init bot.
- Allow sending attachments when using the socketio channel
rasa data validatewill fail with a non-zero exit code if validation fails
- added character-level
CountVectorsFeaturizerwith empirically found parameters into thesupervised_embeddingsNLU pipeline template - NLU evaluations now also stores its output in the output directory like the core evaluation
- show warning in case a default path is used instead of a provided, invalid path
- compare mode of
rasa train coreallows the whole core config comparison, naming style of models trained for comparison is changed (this is a breaking change) - pika keeps a single connection open, instead of open and closing on each incoming event
RasaChatInputfetches the public key from the Rasa X API. The key is used to decode the bearer token containing the conversation ID. This requiresrasa-x>=0.20.2.- more specific exception message when loading custom components depending on whether component's path or class name is invalid or can't be found in the global namespace
- change priorities so that the
MemoizationPolicyhas higher priority than theMappingPolicy - substitute LSTM with Transformer in
EmbeddingPolicy EmbeddingPolicycan now useMaxHistoryTrackerFeaturizer- non zero
evaluate_on_num_examplesinEmbeddingPolicyandEmbeddingIntentClassifieris the size of hold out validation set that is excluded from training data - defaults parameters and architectures for both
EmbeddingPolicyandEmbeddingIntentClassifierare changed (this is a breaking change) - evaluation of NER does not include 'no-entity' anymore
--successesforrasa test nluis now boolean values. If set incorrect/successful predictions are saved in a file.--errorsis renamed to--no-errorsand is now a boolean value. By default incorrect predictions are saved in a file. If--no-errorsis set predictions are not written to a file.- Remove
label_tokenization_flagandlabel_split_symbolfromEmbeddingIntentClassifier. Instead move these parameters toTokenizers. - Process features of all attributes of a message, i.e. - text, intent and response inside the respective component itself. For e.g. - intent of a message is now tokenized inside the tokenizer itself.
- Deprecate
as_markdownandas_jsonin favour ofnlu_as_markdownandnlu_as_jsonrespectively. - pin python-engineio >= 3.9.3
- update python-socketio req to >= 4.3.1
rasa test nluwith a folder of configuration filesMappingPolicystandard featurizer is set toNone- Removed
textparameter from send_attachment function in slack.py to avoid duplication of text output to slackbot - server
/statusendpoint reports status when an NLU-only model is loaded
- Removed
--reportargument fromrasa test nlu. All output files are stored in the--outdirectory.
- Support for transit encryption with Redis via
use_ssl: Truein the tracker store config in endpoints.yml
- Support for passing a CA file for SSL certificate verification via the --ssl-ca-file flag
- Added support for RabbitMQ TLS authentication. The following environment variables
need to be set:
RABBITMQ_SSL_CLIENT_CERTIFICATE- path to the SSL client certificate (required)RABBITMQ_SSL_CLIENT_KEY- path to the SSL client key (required)RABBITMQ_SSL_CA_FILE- path to the SSL CA file (optional, for certificate verification)RABBITMQ_SSL_KEY_PASSWORD- SSL private key password (optional) - Added ability to define the RabbitMQ port using the
portkey in theevent_brokerendpoint config.
- Correctly pass SSL flag values to x CLI command (backport of
- SQL tracker events are retrieved ordered by timestamps. This fixes interactive
learning events being shown in the wrong order. Backport of
1.3.2patch (PR #4427).
- Added
querydictionary argument toSQLTrackerStorewhich will be appended to the SQL connection URL as query parameters.
- fixed bug that occurred when sending template
elementsthrough a channel that doesn't support them
- SSL support for
rasa runcommand. Certificate can be specified using--ssl-certificateand--ssl-keyfile.
- made default augmentation value consistent across repo
'/restart'will now also restart the bot if the tracker is paused
- the
SocketIOinput channel now allows accesses from other origins (fixesSocketIOchannel on Rasa X)
- messages with multiple entities are now handled properly with e2e evaluation
data/test_evaluations/end_to_end_story.mdwas re-written in the restaurantbot domain
- messages with multiple entities are now handled properly with e2e evaluation
data/test_evaluations/end_to_end_story.mdwas re-written in the restaurantbot domain
- Free text input was not allowed in the Rasa shell when the response template contained buttons, which has now been fixed.
UserUtteredevents always got the same timestamp
- Docs now have an
EDIT THIS PAGEbutton
Flood control exceedederror in Telegram connector which happened because the webhook was set twice
- add root route to server started without
--enable-apiparameter - add
--evaluate-model-directorytorasa test coreto evaluate models fromrasa train core -c <config-1> <config-2> - option to send messages to the user by calling
POST /conversations/{conversation_id}/execute
Agent.update_model()andAgent.handle_message()now work without needing to set a domain or a policy ensemble- Update pytype to
2019.7.11 - new event broker class:
SQLProducer. This event broker is now used when running locally with Rasa X - API requests are not longer logged to
rasa_core.logby default in order to avoid problems when running on OpenShift (use--log-file rasa_core.logto retain the old behavior) metadataattribute added toUserMessage
rasa test corecan handle compressed model files- rasa can handle story files containing multi line comments
- template will retain { if escaped with {. e.g. {{"foo": {bar}}} will result in {"foo": "replaced value"}
TrainingFileImporterinterface to support customizing the process of loading training data- fill slots for custom templates
Agent.update_model()andAgent.handle_message()now work without needing to set a domain or a policy ensemble- update pytype to
2019.7.11
- interactive learning bug where reverted user utterances were dumped to training data
- added timeout to terminal input channel to avoid freezing input in case of server errors
- fill slots for image, buttons, quick_replies and attachments in templates
rasa train corein comparison mode stores the model files compressed (tar.gzfiles)- slot setting in interactive learning with the TwoStageFallbackPolicy
- added optional pymongo dependencies
[tls, srv]torequirements.txtfor better mongodb support case_sensitiveoption added toWhiteSpaceTokenizerwithtrueas default.
- validation no longer throws an error during interactive learning
- fixed wrong cleaning of
use_entitiesin case it was a list and notTrue - updated the server endpoint
/model/parseto handle also messages with the intent prefix - fixed bug where "No model found" message appeared after successfully running the bot
- debug logs now print to
rasa_core.logwhen runningrasa x -vvorrasa run -vv
- rest channel supports setting a message's input_channel through a field
input_channelin the request body
- recommended syntax for empty
use_entitiesandignore_entitiesin the domain file has been updated fromFalseorNoneto an empty list ([])
rasa runwithout--enable-apidoes not require a local model anymore- using
rasa runwith--enable-apito run a server now prints "running Rasa server" instead of "running Rasa Core server" - actions, intents, and utterances created in
rasa interactivecan no longer be empty
- debug logging now tells you which tracker store is connected
- the response of
/model/trainnow includes a response header for the trained model filename Validatorclass to help developing by checking if the files have any errors- project's code is now linted using flake8
infolog when credentials were provided for multiple channels and channel in--connectorargument was specified at the same time- validate export paths in interactive learning
- deprecate
rasa.core.agent.handle_channels(...)`. Please use ``rasa.run(...)orrasa.core.run.configure_appinstead. Agent.load()also acceptstar.gzmodel file
- revert the stripping of trailing slashes in endpoint URLs since this can lead to problems in case the trailing slash is actually wanted
- starter packs were removed from Github and are therefore no longer tested by Travis script
- all temporal model files are now deleted after stopping the Rasa server
rasa shell nlunow outputs unicode characters instead of\uxxxxcodes- fixed PUT /model with model_server by deserializing the model_server to EndpointConfig.
x in AnySlotDictis nowTruefor anyx, which fixes empty slot warnings in interactive learningrasa trainnow also includes NLU files in other formats than the Rasa formatrasa train coreno longer crashes without a--domainargrasa interactivenow looks for endpoints inendpoints.ymlif no--endpointsarg is passed- custom files, e.g. custom components and channels, load correctly when using the command line interface
MappingPolicynow works correctly when used as part of a PolicyEnsemble
- unfeaturize single entities
- added agent readiness check to the
/statusresource
- removed leading underscore from name of '_create_initial_project' function.
- fixed bug where facebook quick replies were not rendering
- take FB quick reply payload rather than text as input
- fixed bug where training_data path in metadata.json was an absolute path
- fixed any inconsistent type annotations in code and some bugs revealed by type checker
- fixed duplicate events appearing in tracker when using a PostgreSQL tracker store
- fixed compatibility with Rasa SDK
- bot responses can contain
custommessages besides other message types
- nlu configs can now be directly compared for performance on a dataset
in
rasa test nlu
- update the tracker in interactive learning through reverting and appending events instead of replacing the tracker
POST /conversations/{conversation_id}/tracker/eventssupports a list of events
- fixed creation of
RasaNLUHttpInterpreter - form actions are included in domain warnings
- default actions, which are overriden by custom actions and are listed in the domain are excluded from domain warnings
- SQL
datacolumn type toTextfor compatibility with MySQL - non-featurizer training parameters don't break SklearnPolicy anymore
- revert PR #3739 (as this is a breaking change): set
PikaProducerandKafkaProducerdefault queues back torasa_core_events
- support for specifying full database urls in the
SQLTrackerStoreconfiguration - maximum number of predictions can be set via the environment variable
MAX_NUMBER_OF_PREDICTIONS(default is 10)
- default
PikaProducerandKafkaProducerqueues torasa_production_events - exclude unfeaturized slots from domain warnings
- loading of additional training data with the
SkillSelector - strip trailing slashes in endpoint URLs
- added argument
--rasa-x-portto specify the port of Rasa X when running Rasa X locally viarasa x
- slack notifications from bots correctly render text
- fixed usage of
--log-fileargument forrasa runandrasa shell - check if correct tracker store is configured in local mode
- fixed backwards incompatible utils changes
- fixed spacy being a required dependency (regression)
- automatic creation of index on the
sender_idcolumn when using an SQL tracker store. If you have an existing data and you are running into performance issues, please make sure to add an index manually usingCREATE INDEX event_idx_sender_id ON events (sender_id);.
- NLU evaluation in cross-validation mode now also provides intent/entity reports, confusion matrix, etc.
- non-ascii characters render correctly in stories generated from interactive learning
- validate domain file before usage, e.g. print proper error messages if domain file is invalid instead of raising errors
- added
domain_warnings()method toDomainwhich returns a dict containing the diff between supplied {actions, intents, entities, slots} and what's contained in the domain
- fix lookup table files failed to load issues/3622
- buttons can now be properly selected during cmdline chat or when in interactive learning
- set slots correctly when events are added through the API
- mapping policy no longer ignores NLU threshold
- mapping policy priority is correctly persisted
- updated installation command in docs for Rasa X
- added arguments to set the file paths for interactive training
- added quick reply representation for command-line output
- added option to specify custom button type for Facebook buttons
- added tracker store persisting trackers into a SQL database
(
SQLTrackerStore) - added rasa command line interface and API
- Rasa HTTP training endpoint at
POST /jobs. This endpoint will train a combined Rasa Core and NLU model ReminderCancelled(action_name)event to cancel given action_name reminder for current user- Rasa HTTP intent evaluation endpoint at
POST /intentEvaluation. This endpoints performs an intent evaluation of a Rasa model - option to create template for new utterance action in
interactive learning - you can now choose actions previously created in the same session
in
interactive learning - add formatter 'black'
- channel-specific utterances via the
- "channel":key in utterance templates - arbitrary json messages via the
- "custom":key in utterance templates and viautter_custom_json()method in custom actions - support to load sub skills (domain, stories, nlu data)
- support to select which sub skills to load through
importsection inconfig.yml - support for spaCy 2.1
- a model for an agent can now also be loaded from a remote storage
- log level can be set via environment variable
LOG_LEVEL - add
--store-uncompressedto train command to not compress Rasa model - log level of libraries, such as tensorflow, can be set via environment variable
LOG_LEVEL_LIBRARIES - if no spaCy model is linked upon building a spaCy pipeline, an appropriate error message is now raised with instructions for linking one
- renamed all CLI parameters containing any
_to use dashes-instead (GNU standard) - renamed
rasa_corepackage torasa.core - for interactive learning only include manually annotated and ner_crf entities in nlu export
- made
message_idan additional argument tointerpreter.parse - changed removing punctuation logic in
WhitespaceTokenizer training_processesin the Rasa NLU data router have been renamed toworker_processes- created a common utils package
rasa.utilsfor nlu and core, common methods likeread_yamlmoved there - removed
--num_threadsfrom run command (server will be asynchronous but running in a single thread) - the
_check_token()method inRasaChatnow authenticates against/auth/verifyinstead of/user - removed
--pre_loadfrom run command (Rasa NLU server will just have a maximum of one model and that model will be loaded by default) - changed file format of a stored trained model from the Rasa NLU server to
tar.gz - train command uses fallback config if an invalid config is given
- test command now compares multiple models if a list of model files is provided for the argument
--model - Merged rasa.core and rasa.nlu server into a single server. See swagger file in
docs/_static/spec/server.yamlfor available endpoints. utter_custom_message()method in rasa_core_sdk has been renamed toutter_elements()- updated dependencies. as part of this, models for spacy need to be reinstalled for 2.1 (from 2.0)
- make sure all command line arguments for
rasa testandrasa interactiveare actually used, removed arguments that were not used at all (e.g.--coreforrasa test)
- removed possibility to execute
python -m rasa_core.trainetc. (e.g. scripts inrasa.coreandrasa.nlu). Use the CLI for rasa instead, e.g.rasa train core. - removed
_sklearn_numpy_warning_fixfrom theSklearnIntentClassifier - removed
Dispatcherclass from core - removed projects: the Rasa NLU server now has a maximum of one model at a time loaded.
- evaluating core stories with two stage fallback gave an error, trying to handle None for a policy
- the
/evaluateroute for the Rasa NLU server now runs evaluation in a parallel process, which prevents the currently loaded model unloading - added missing implementation of the
keys()function for the Redis Tracker Store - in interactive learning: only updates entity values if user changes annotation
- log options from the command line interface are applied (they overwrite the environment variable)
- all message arguments (kwargs in dispatcher.utter methods, as well as template args) are now sent through to output channels
- utterance templates defined in actions are checked for existence upon training a new agent, and a warning is thrown before training if one is missing