Skip to main content

The Dialogflow Python SDK makes it easy to integrate speech recognition with Dialogflow natural language processing API with Python.

Project description

api.ai: Python SDK for `API.AI <http://api.ai>`_
=========================

.. image:: https://badge.fury.io/py/apiai.svg
:target: http://badge.fury.io/py/apiai

.. image:: https://travis-ci.org/api-ai/api-ai-python.svg
:target: https://travis-ci.org/api-ai/api-ai-python


Overview
--------

The API.AI Python SDK makes it easy to integrate speech recognition with API.AI natural language processing API. API.AI allows using voice commands and integration with dialog scenarios defined for a particular agent in API.AI.

Prerequsites
--------

Create an `API.AI account <http://api.ai>`_.


Running examples
--------

1. Find examples from 'examples' path.
2. Insert API key.

.. code-block:: python

>>> CLIENT_ACCESS_TOKEN = '<YOUR_CLIENT_ACCESS_TOKEN>'
...

Features
--------

- Speech Recognition.
- Voice Activity Detection.
- Natural Language Processing.

Installation
------------

To install apiai, simply:

.. code-block:: bash

$ pip install apiai

or install it from repo:

.. code-block:: bash

$ pip install https://github.com/api-ai/api-ai-python.git

You might run into problems because some dependencies in your python environment are missing. You need to install numpy (which is available in almost all package managers). For running the examples you also need python audio.

In ubuntu the following will do the job:

.. code-block:: bash

$ apt-get install python-pyaudio python-numpy
$ pip install apiai

Documentation
-------------

Documentation is available at http://api.ai.

## How to make contributions?
Please read and follow the steps in the [CONTRIBUTING.md](CONTRIBUTING.md).

## License
See [LICENSE](LICENSE).

## Terms
Your use of this sample is subject to, and by using or downloading the sample files you agree to comply with, the [Google APIs Terms of Service](https://developers.google.com/terms/).

This is not an official Google product.

.. :changelog:

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

0.0.8 (2015-01-29)
++++++++++++++++++

* `scipy` removed from dependencies in library.
* `scipy` removed from dependencies in examples.

0.0.1 (2014-03-1)
++++++++++++++++++

* Conception

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

dialogflow_client-1.2.3-py2.py3-none-any.whl (36.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file dialogflow_client-1.2.3-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for dialogflow_client-1.2.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ced7c55c76adc96f84517bdcced4300ef590856e56b986acfccf9464cbae9dbe
MD5 84dcc1cf0b3ade775d1e0e26290bea9c
BLAKE2b-256 72defbbc963ae9f488f906e2b908d3ca0d925fa00dbdbf747c2bac062663e87c

See more details on using hashes here.

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