This library facilitates the interaction between a user and his/her CAI server.
Project description
Ondewo NLU Client Library
This library facilitates the interaction between a user and his/her CAI server. It achieves this by providing a higher-level interface mediator.
This higher-level interface mediator is structured around a series of python files genereted from protobuff files. These protobuf files specify the details of the interface, and can be used to generate code in 10+ high-level languages. They are found in the apis submodule along with the older Google protobufs from Dialogueflow that were used at the start.
Python Installation
You can install the library by installing it directly from the pypi:
pip install ondewo-nlu-client
Or, you could clone it and install the requirements:
git clone git@github.com:ondewo/ondewo-nlu-client-python.git
cd ondewo-nlu-client-python
pip install -e .
Let's Get Started! (WIP)
Import your programming interface:
ls ondewo
Get a suitable example:
ls examples
Automatic Release Process
The entire process is automated to make development easier. The actual steps are simple:
TODOs in Pull Request before the release:
-
Update the Version number inside the Makefile
-
Check if RELEASE.md is up-to-date
-
Update the Version number inside the setup.py by using:
make update_setup
TODOs after Pull Request was merged in:
- Checkout master:
git checkout master
- Pull the new stuff:
git pull
- Release:
make ondewo_release
The make ondewo_release
command can be divided into 5 steps:
- cloning the devops-accounts repository and extracting the credentials
- creating and pushing the release branch
- creating and pushing the release tag
- creating the GitHub release
- creating and pushing the new PyPi release
The variables for the GitHub Access Token, PyPi Username and Password are all inside
of the Makefile, but the values are overwritten during make ondewo_release
, because
they are passed from the devops-accounts repo as arguments to the actual release
command.
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
Built Distribution
Hashes for ondewo_nlu_client-2.8.7-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a546f576d3b4efbf4f44d8543fb76279607aca3d3a3edda393da2a29c9243572 |
|
MD5 | a5708a75943a607170d892f57e95b8b1 |
|
BLAKE2b-256 | 98b3ba5de9a265db67dad3ba06921adaecb1de43e6277a9179149d23bf52fb6e |