Skip to main content

Forked from the open source machine learning framework, Rasa

Project description

Rasa-Hydra (Forked from Rasa)

Rasa-Hydra is forked from the official Rasa repo and maintained by the Hydra team. Rasa is an open source machine learning framework to automate text-and voice-based conversations. With Rasa-Hydra, you can build chatbots on:

  • Facebook Messenger
  • Slack
  • Microsoft Bot Framework
  • Rocket.Chat
  • Mattermost
  • Telegram
  • Twilio
  • Your own custom conversational channels

or voice assistants as:

  • Alexa Skills
  • Google Home Actions

Rasa-Hydra's primary purpose is to help you build contextual, layered conversations with lots of back-and-forth. To have a real conversation, you need to have some memory and build on things that were said earlier. Rasa-Hydra lets you do that in a scalable way.

Development Internals

Running the Tests

In order to run the tests, make sure that you have the development requirements installed:

export PIP_USE_PEP517=false
pip3 install -r requirements-dev.txt
pip3 install -e .
make prepare-tests-ubuntu # Only on Ubuntu and Debian based systems
make prepare-tests-macos  # Only on macOS

Then, run the tests:

make test

They can also be run at multiple jobs to save some time:

make test -j [n]

Where [n] is the number of jobs desired. If omitted, [n] will be automatically chosen by pytest.

Steps to release a new version

Releasing a new version is quite simple, as the packages are build and distributed by travis.

Terminology:

  • patch release (third version part increases): 1.1.2 -> 1.1.3
  • minor release (second version part increases): 1.1.3 -> 1.2.0
  • major release (first version part increases): 1.2.0 -> 2.0.0

Release steps:

  1. Make sure all dependencies are up to date (especially Rasa SDK)

  2. Switch to the branch you want to cut the release from (master in case of a major / minor, the current feature branch for patch releases)

  3. Run make release

  4. Create a PR against master or the release branch (e.g. 1.2.x)

  5. Once your PR is merged, tag a new release (this SHOULD always happen on master or release branches), e.g. using

    git tag 1.2.0 -m "next release"
    git push origin 1.2.0 --tags
    

    travis will build this tag and push a package to pypi

  6. If this is a minor release, a new release branch should be created pointing to the same commit as the tag to allow for future patch releases, e.g.

    git checkout -b 1.2.x
    git push origin 1.2.x
    
  7. Packaging the Rasa-Hydra project. For more information, please refer to this guide.

    1. Make sure you have the latest versions of setuptools and wheel installed:

      python3 -m pip install --user --upgrade setuptools wheel
      
    2. Bump up the version in the dialog_manager/version.py.

    3. Build the package locally.

      python3 setup.py sdist bdist_wheel
      
  8. Upload the package to PyPI/Test PyPI.

    1. Install twine from PyPI.
      pip install twine
      
    • PyPI
      python3 -m twine upload dist/*
      
    • Test PyPI
      python3 -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*
      

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rasa-hydra-2.6.36.tar.gz (432.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rasa_hydra-2.6.36-py3-none-any.whl (556.3 kB view details)

Uploaded Python 3

File details

Details for the file rasa-hydra-2.6.36.tar.gz.

File metadata

  • Download URL: rasa-hydra-2.6.36.tar.gz
  • Upload date:
  • Size: 432.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/57.1.0 requests-toolbelt/0.9.1 tqdm/4.31.0 CPython/3.6.0

File hashes

Hashes for rasa-hydra-2.6.36.tar.gz
Algorithm Hash digest
SHA256 7982b0beddd78c5aa55fc0a48528d8301a15d9114b0d8b563a7cad87a2d65dcf
MD5 f7305b43bd013c72c98ff5ed5a8a9d08
BLAKE2b-256 3a89d12402d33984bc3db5dbc0e8a420083151ce4b26ce1ce98b2fd5a6c1a1bb

See more details on using hashes here.

File details

Details for the file rasa_hydra-2.6.36-py3-none-any.whl.

File metadata

  • Download URL: rasa_hydra-2.6.36-py3-none-any.whl
  • Upload date:
  • Size: 556.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/57.1.0 requests-toolbelt/0.9.1 tqdm/4.31.0 CPython/3.6.0

File hashes

Hashes for rasa_hydra-2.6.36-py3-none-any.whl
Algorithm Hash digest
SHA256 fc66ba0b8ee06f27476dd888d6117fda91efda94f5f4513b3144c3572a9bf008
MD5 6a82b31d23f0de73e7633a28266c1c4a
BLAKE2b-256 9641bb6e484a7f6f1326d6810e9058ae652a962e6ed08d8ac0c2f25dac5c8b8e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page