Padatious
An efficient and agile neural network intent parser. Padatious is a core component of Mycroft AI.
Features
- Intents are easy to create
- Requires a relatively small amount of data
- Intents run independent of each other
- Easily extract entities (ie. Find the nearest gas station ->
place: gas station) - Fast training with a modular approach to neural networks
Getting Started
Installing
Padatious requires the following native packages to be installed:
FANN(with dev headers)- Python development headers
pip3swig
Ubuntu:
sudo apt-get install libfann-dev python3-dev python3-pip swig libfann-dev python3-fann2
Next, install Padatious via pip3:
pip3 install padatious
Padatious also works in Python 2 if you are unable to upgrade.
Example
Here's a simple example of how to use Padatious:
program.py
from padatious import IntentContainer
container = IntentContainer('intent_cache')
container.add_intent('hello', ['Hi there!', 'Hello.'])
container.add_intent('goodbye', ['See you!', 'Goodbye!'])
container.add_intent('search', ['Search for {query} (using|on) {engine}.'])
container.train()
print(container.calc_intent('Hello there!'))
print(container.calc_intent('Search for cats on CatTube.'))
container.remove_intent('goodbye')
Run with:
python3 program.py
Learn More
Further documentation can be found at https://mycroft.ai/documentation/padatious/
Metadata
Release files for padatious-phoenix 0.4.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| padatious_phoenix-0.4.9.tar.gz | 24.3 kB | Without provenance | Details for padatious_phoenix-0.4.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| padatious_phoenix-0.4.9.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for padatious_phoenix-0.4.9.0-py2.py3-none-any.whl |
Total release size: 53.1 kB
Release files / padatious_phoenix-0.4.9.tar.gz
| Download URL | padatious_phoenix-0.4.9.tar.gz |
|---|---|
| Size | 24.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ced92156179b6278c68f84668c608f24785c55c3dc456d044d4f65d3e06c849f
|
|
BLAKE2b-256 checksum How to use checksums |
d6f0bd828a01a32368f4f4230f8b787fd21b9a92d5371dded95a8b4d43ac8c6f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.8.19
|
Release files / padatious_phoenix-0.4.9.0-py2.py3-none-any.whl
| Download URL | padatious_phoenix-0.4.9.0-py2.py3-none-any.whl |
|---|---|
| Size | 28.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
768062eed0f1512c8b2354d981632d5ce91b59f760d8194045bfffa41fabf20e
|
|
BLAKE2b-256 checksum How to use checksums |
e22e91f08478696bb3a49aa89cd2189ea0bc0ccef09e42f15df6f7b0fac9df24
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.8.19
|
Security for padatious-phoenix 0.4.9
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.