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.

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.

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.0.2a1.tar.gz (61.0 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.0.2a1-py3-none-any.whl (54.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ovos_padatious-2.0.2a1.tar.gz
  • Upload date:
  • Size: 61.0 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.0.2a1.tar.gz
Algorithm Hash digest
SHA256 56cb144f9a211c3a4dc60c251c86b2791f0e54c10ac20a77e99f0a9b02d13ecc
MD5 a689e1bb95e6aacc0c1238dc6d264d57
BLAKE2b-256 2837a4541d7800572a311863651d95ad780aa0bbe9d01675f3e0709d1f69ab3b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ovos_padatious-2.0.2a1-py3-none-any.whl
Algorithm Hash digest
SHA256 c33d5f9a663e22c2743e37e9385216c5f6cddc6ab2b2d4d72289b859d8e86d99
MD5 5c7e6a25d83da7eb8382c7c041aa5f8e
BLAKE2b-256 1252802dd4483f32ae50c5ad72dd23506d699252049b6b57659e1142e7b7f7d8

See more details on using hashes here.

Release history Release notifications | RSS feed

Supported by

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