Skip to main content

Yoctol Natural Language Understanding SDK

Project description

# yoctol-nlu-py
Yoctol Natural Language Understanding SDK for python.

## Install
```
pip install yoctol-nlu
```

## Usage

###Intent Classifier Service

For new user:
```python
from yoctol_nlu import IntentClassifierClient

client = IntentClassifierClient(
url='xxx.xxx.xxx.x' # will be removed after 1.0.0
token='TOKEN',
)

client.create_classifier(
name='clf_for_test'
)

client.create_intents([])

print(client.data)

client.train()
```

For existing classifier:
```python
from yoctol_nlu import IntentClassifierClient

client = IntentClassifierClient(
url='xxx.xxx.xxx.x' # will be removed after 1.0.0
token='TOKEN',
classifier_id='CLASSIFIER_ID'
)
```

Project details


Download files

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

Source Distribution

yoctol-nlu-0.1.0.tar.gz (1.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page