Skip to main content

Lightweight, simple, speech-to-text-oriented bot.

Project description

Peak Bot

This voice-assistant-like AI is a young client part of the "Peaks" infrastructure. "Peaks" are Django-based managment servers for personaly customized and trained bots, and places where they exchange/trade their commands. Peak 63 and Peak 30 are in development, and should be publised along with extented features of the client part.

Table of contents

Status

Alpha release is now on PyPI. Master branch runs well on Linux and Windows, but still lacks large amount of features to be competitive with commercial AIs. To test and/or contribute in the meantime, please follow the rest of this file...

Getting started

Peak Bot is written in python3, and relies on sqlite3 to store it's data. It currently uses Google's Speech-to-Text Client Library for python and requires internet connection. Default input and settings are using .JSON format.

Prequisites

To satisfy the current dependencies, make sure you have python3, pip3, and portaudio installed.

Arch Linux

sudo pacman -S python python-pip portaudio

Ubuntu, Debian, Linux Mint

sudo apt-get install python3 python3-pip libportaudio2

Fedora, CentOS

sudo yum -y install python36 python36-setuptools portaudio-devel

optional: cd /usr/lib/python3.6/site-packages/

python3 easy_install.py pip3

Windows

Download and install the latest python3, and portaudio releases from python.org and portaudio.com.

Pip3 script should now be automaticaly placed inside 'Scripts' directory. If PowerShell or Command Prompt don't recognize pip3 command, run where python to find it the location of the 'Scripts', and add the location of the pip script to a PATH.

Installation

Peak Bot is now on PyPi, so you should have no problems installing it with:

pip3 install --upgrade peak-bot

or

easy_install peak-bot

Before running, you will also need to export the path to the google credentials. On linux, add this line to your .bashrc file:

export GOOGLE_APPLICATION_CREDENTIALS="/some_directory/google_speech_api_credentials.json"

and run:

source .bashrc

Usage

If installation went well, peak-bot command should be ready...

$ peak-bot <verbosity 0-6>.

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
peak_bot-1.0.1b4-py3-none-any.whl (43.3 kB) Copy SHA256 hash SHA256 Wheel py3 Aug 18, 2018
peak-bot-1.0.1b4.tar.gz (25.6 kB) Copy SHA256 hash SHA256 Source None Aug 18, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page