Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

License

Padatious

Padatious is a neural network intent parser, implemented in pure numpy with a FANN-compatible model format. This repository packages it as an OpenVoiceOS (OVOS) pipeline plugin and bundles a maintained fork of the original padatious from Mycroft AI.

Status

This plugin is legacy and maintained in a limited capacity; it is not recommended for new deployments. The underlying engine memorizes its training sentences instead of generalizing from them, so it needs many worded variations of each intent to catch paraphrases a classifier would generalize to on its own. Compile time and memory grow with the number of training sentences, and the engine becomes unusable once it is asked to train on the full OVOS skill corpus rather than a handful of intents.

For new deployments, use ovos-m2v-pipeline, a classifier-based intent engine that generalizes from training sentences, or nebulento, a fuzzy-matching intent engine, instead.

Features

  • Intents are easy to create from a handful of example sentences.
  • Each intent trains its own small network, independent of the others.
  • Fast training on a small amount of data.
  • Entity extraction from a matched sentence (for example, Find the nearest {place} matches "Find the nearest gas station" and extracts place: gas station).

Installing

Padatious is pure Python (numpy). It needs no native libraries or compilers.

Install from PyPI:

pip install ovos-padatious-pipeline-plugin

Direct Usage

from ovos_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')

Inside OVOS, the plugin is discovered automatically through its opm.pipeline entry point. See docs/ for installation details, the intent file syntax, the full Python API, pipeline configuration, and the matching algorithm.

Inside OVOS, training and compiling always run on a background worker, never on the thread that registered or queried something (including the very first pass); a test or tool that registers an intent and needs to query it right away should call PadatiousPipeline.wait_until_trained() (see docs/ovos_pipeline.md) rather than polling or sleeping.

Related projects

License

Licensed under the Apache 2.0 license.

Download files

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

Source Distribution

ovos_padatious-2.1.2a1.tar.gz (146.9 kB view details)

Uploaded Source

Built Distribution

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

ovos_padatious-2.1.2a1-py3-none-any.whl (82.4 kB view details)

Uploaded Python 3

File details

Details for the file ovos_padatious-2.1.2a1.tar.gz.

File metadata

  • Download URL: ovos_padatious-2.1.2a1.tar.gz
  • Upload date:
  • Size: 146.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for ovos_padatious-2.1.2a1.tar.gz
Algorithm Hash digest
SHA256 22f79ec16a418f71daf5f2b76ba24513f90eea9abfc1cc09ba69d2c30e63ebfd
MD5 177c8b7e34faed4f861b46afc04dcd53
BLAKE2b-256 f4a3489578a28362dddfec9a3e0eaff374150434661997375b4ee936ea5aaad0

See more details on using hashes here.

File details

Details for the file ovos_padatious-2.1.2a1-py3-none-any.whl.

File metadata

File hashes

Hashes for ovos_padatious-2.1.2a1-py3-none-any.whl
Algorithm Hash digest
SHA256 c8d5097806e47b5028c562ffec4574d8b09a61801f5aecede69e9f89b1b7d92c
MD5 7a11630cb8a0c87633343908caf443d6
BLAKE2b-256 9d6af2d3338276e677b3bed1e6a0d82cc409f4ee29d086c82c0f78b6db966af6

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

2.1.2a1 This release

2 files

1.4.3

2 files

1.4.2

2 files

1.4.1

2 files

1.3.6

2 files

1.3.4

2 files

1.3.3

2 files

1.3.2

2 files

1.3.0

2 files

1.2.0

2 files

1.1.1

2 files

1.1.0

2 files

1.0.5

2 files

1.0.4

2 files

1.0.3

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 files

0.1.3

2 files

0.1.2

2 files

0.1.0

2 files

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