Skip to main content

VoiceInsights Python SDK

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 VoiceInsights

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

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

## SDK usage:


from voicelabs import VoiceInsights

appToken = '<YOUR APP TOKEN>'
vi = VoiceInsights()

def on_session_started(session_started_request, session):
# Called when the session starts """
vi.initialize(appToken, session)

def on_intent(intent_request, session):
intent = intent_request['intent']
intent_name = intent_request['intent']['name']

response = None
#Logic to populate response goes here

#invoke SDK track method like follows
vi.track(intent_name, intent_request, response)

return response


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

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

voicelabs-0.0.10.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

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

voicelabs-0.0.10-py2.py3-none-any.whl (4.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file voicelabs-0.0.10.tar.gz.

File metadata

  • Download URL: voicelabs-0.0.10.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for voicelabs-0.0.10.tar.gz
Algorithm Hash digest
SHA256 51f1e1b055543053c72ed01bd1186754154e1bf8505f818aebfbf6e2d50591f4
MD5 0f34f9db83473412f824c4457e25f0e1
BLAKE2b-256 f3c164afba0ae68d30f8b36279b398854fc31de0316cf8dafa56cc0574eb4b44

See more details on using hashes here.

File details

Details for the file voicelabs-0.0.10-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for voicelabs-0.0.10-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d234c0d7558b007a21baefd7adcf3961946fc9549d7747aa0ce5ac89d77c5029
MD5 7839bfc0e517cf3539154b2a7e5df5aa
BLAKE2b-256 dca86323c10c076b2c7d67ea2396c202d0043e81fcc4990147625a08b12dd831

See more details on using hashes here.

Supported by

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