Skip to main content

The API.AI iOS SDK makes it easy to integrate speech recognition with API.AI natural language processing API on iOS devices.

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 & subscription.

.. code-block:: python

>>> CLIENT_ACCESS_TOKEN = '<YOUR_CLIENT_ACCESS_TOKEN>'
>>> SUBSCRIBTION_KEY = '<YOUR_SUBSCRIBTION_KEY>'
...

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 alomost all package managers) and `scipy <http://www.scipy.org/install.html>`_. For running the examples you also need python audio.

In ubunutu the following will do the job:

.. code-block:: bash

$ apt-get install python-pyaudio python-numpy python-scipy python-matplotlib ipython ipython-notebook python-pandas python-sympy python-nose python-pip
$ pip install apiai

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

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



.. :changelog:

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

0.0.1 (1014-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 Distribution

apiai-0.0.3.tar.gz (9.5 kB view details)

Uploaded Source

File details

Details for the file apiai-0.0.3.tar.gz.

File metadata

  • Download URL: apiai-0.0.3.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for apiai-0.0.3.tar.gz
Algorithm Hash digest
SHA256 ecc1e7c704fdacc89c9d54e4d3c37a6555070080d9d0cc627c53eb5485328c6e
MD5 108bea233a5baa96069536cfc688c2fe
BLAKE2b-256 b97316f8d4f398d645a103da1fe072cabdc2089337999b0741eeee578583b9ca

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