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

Metadata

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 Provenance Actions
apiai-1.2.3.tar.gz 13.1 kB Without provenance Details for apiai-1.2.3.tar.gz

Built distribution (wheel)

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

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

Security for apiai 1.2.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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