Skip to main content

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/*
      

Metadata

Release files for rasa-hydra 3.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rasa-hydra 3.6.0
File Size Uploaded Provenance Actions
rasa-hydra-3.6.0.tar.gz 445.4 kB Without provenance Details for rasa-hydra-3.6.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rasa-hydra 3.6.0
File Interpreter ABI Platform Actions
rasa_hydra-3.6.0-py3-none-any.whl Python 3 none any Details for rasa_hydra-3.6.0-py3-none-any.whl

Total release size: 1.0 MB

Release files / rasa-hydra-3.6.0.tar.gz

Download URL rasa-hydra-3.6.0.tar.gz
Size 445.4 kB
Tags Source
SHA-256 checksum
How to use checksums
2df56d5511c46ac2cd0fd7e25d5debdd2afe4706741d82c28bd233343ccdca69
BLAKE2b-256 checksum
How to use checksums
74bb8b1eaf78ba278efaf5d016af761c4c0b40dbac762610c20f5dd0906d661b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.28.2 requests-toolbelt/0.9.1 urllib3/1.26.14 tqdm/4.31.0 importlib-metadata/4.8.2 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.7.11

Release files / rasa_hydra-3.6.0-py3-none-any.whl

Download URL rasa_hydra-3.6.0-py3-none-any.whl
Size 572.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9535ab459cf6018c5db4c307c58c76e7a63ee6698eaa955db26a1e537f2d5a55
BLAKE2b-256 checksum
How to use checksums
865d1f34655787722101a14110183c8d36c54691c3b7ba6bbeddaea5aecdaf15
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.28.2 requests-toolbelt/0.9.1 urllib3/1.26.14 tqdm/4.31.0 importlib-metadata/4.8.2 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.7.11

Security for rasa-hydra 3.6.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

3.6.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page