Skip to main content

zdiab-tools

zdiab-tools is a Python library for preprocessing and automating functions for Rasa NLU

Installation

Use the package manager pip to install zdiab-tools.

pip install zdiab-tools

Usage

from zdiab_tools import Automate

### returns 'slot'
Automate.add_slot(name_form, list_slots)

### returns 'conf_file'
Automate.conf_file(path, language='fr', policies=False):

### returns 'pickle file'
Automate.def pickle_action(path):

Function

#######################################
## Fonction pour ajouter avec rasa YAML 
#######################################

def add_rasa_file(yaml_string, path):
def add_intent(name, list_action):
def add_forms(name, list_slots):
def add_slot(name_form, list_slots):
def add_responses(list_name, list_action):
def add_file(path, str):

#####################
## Fonction ALTER !!!
#####################

def alter_intent(name, list_action):
def alter_slot(name_form, list_slots):
def alter_forms(name, list_slots):
def alter_responses(list_name, list_action):
def alter_file(path, li, required=False):

############################################
## Fonction pour AJOUTER NLU DATA ##########
############################################

def add_nluData(name_intent, list_exemple, head=False):

############################################
## Fonction pour Alter Config FILE #########
############################################

def conf_file(path, language='fr', policies=False):

############################################
## Fonction Create and Save Action FILE ####
############################################

def pickle_action(path):
def Action_file(path, filename="test.pkl"):

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Release files for zdiab-tools 0.3

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

Source distribution (sdist)

Source distribution for zdiab-tools 0.3
File Size Uploaded
zdiab_tools-0.3.tar.gz 4.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for zdiab-tools 0.3
File Interpreter ABI Platform
zdiab_tools-0.3-py3-none-any.whl Python 3 none any Details

Total release size: 9.5 kB

Release files / zdiab_tools-0.3.tar.gz

Download URL zdiab_tools-0.3.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
bb03e6e7e0caf1637b50a0ee2cc670c8afa4eb66bc28a219e985704b4b4240eb
BLAKE2b-256 checksum
How to use checksums
a24143d863a007ec1694fefbae57d184bc26e9f4aec5c4d207516f1c9f956532
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.7

Release files / zdiab_tools-0.3-py3-none-any.whl

Download URL zdiab_tools-0.3-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2d889a18203519edf648a23c3202c21fff4aed342779bdd206066e44e6fff199
BLAKE2b-256 checksum
How to use checksums
94402967a4318609c03cbeed98d68111582840fdc7f0dd8b478a5accf0f9124b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.7

Release history Release notifications | RSS feed

This release

0.3 This release

2 release files

0.2

1 release file

0.1

1 release file

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