A Python package for Voiceflow API.
Project description
Voiceflow Python Package
This is an unofficial Python package for an easy use of the Voiceflow API.
Basic usage
In your virtual environment:
pip install voiceflow
Then in your Python code:
import os
from voiceflow import Voiceflow
vf = Voiceflow(
api_key=os.getenv('VOICEFLOW_API_KEY'),
user_id='abc123',
)
# Launch the agent
vf_response = vf.interact.launch()
# Send a simple text input
vf_response = vf.interact.text(user_input='hello')
You can also call launch() or text() with your custom config:
vf_response = vf.interact.launch(config={'stripSSML': False})
About this project
This project is created and maintained by:
Daian Gan
Github: daiangan
E-mail: daian@ganmedia.com
Website: https://daiangan.com
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
voiceflow-1.0.4.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for voiceflow-1.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 076261263b682b925cc611f010ec518de19a4ad284dc5ebe8ba3271d1e95df5b |
|
MD5 | ef9aeb62c3eb852485e0e4fd6ec5879a |
|
BLAKE2b-256 | 333d42b23556620c28d0c8d6f09954e896873798bb5f3ee5d49981496f5da5d7 |