Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

VoiceInsights Python SDK for Google Assistant

Project Description
--------------------
--------------------

# Install the package

you can install the package locally in the current folder by using the following command:

#from test PIP repo
pip install -t ./ -i https://testpypi.python.org/pypi voicelabs-assistant

#from main public PIP repo
pip install -t ./ voicelabs-assistant

--------------------
--------------------

## SDK usage:

#import sdk
from voicelabs import VoiceInsights

#instantiate SDK object globally. You only need one object.
appToken = '<YOUR APP TOKEN>'
vi = VoiceInsights(appToken)

#track your events. Example Flask implementation
@app.route('/intent', methods = ['POST'])
def api_intent_handler():

req_json = request.get_json()
data = req_json['originalRequest']['data']
intentName = req_json['result']['metadata']['intentName']
...
#tts string could be plain text or a valid SSML
tts = "Here is my response to the user"
...
resp = vi.track( intentName, data, tts )

--------------------
--------------------
Release History

Release History

This version
History Node

1.0.4

History Node

1.0.3

History Node

1.0.2

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
voicelabs_assistant-1.0.4-py2.py3-none-any.whl (5.7 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Jun 23, 2017
voicelabs-assistant-1.0.4.tar.gz (4.4 kB) Copy SHA256 Checksum SHA256 Source Jun 23, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting