Skip to main content
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.



.. :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

Release files for apiai 1.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for apiai 1.2.3
File Size Uploaded
apiai-1.2.3.tar.gz 13.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for apiai 1.2.3
File Interpreter ABI Platform
apiai-1.2.3-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 28.2 kB

Release files / apiai-1.2.3.tar.gz

Download URL apiai-1.2.3.tar.gz
Size 13.1 kB
Tags Source
SHA-256 checksum
How to use checksums
fb170eae4578a4cd5006d3c62842347508b3b239e4103aac8cb849e90db244a6
BLAKE2b-256 checksum
How to use checksums
7dbd67dd6a9b5cff850cab3a7eeeace58e64dbf848b45a99b43a85cd4cc6b757
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / apiai-1.2.3-py2.py3-none-any.whl

Download URL apiai-1.2.3-py2.py3-none-any.whl
Size 15.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
343c4d2d704beb20d6935dbb6de4acee29983ddb5b8e33221e49d0a2f30d92ec
BLAKE2b-256 checksum
How to use checksums
34b3c5bf31e1980b89dfc6f8a3d70d64988fb619ed831109b500b254fe541ce6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.2.3 This release

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.0.5

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page