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.

Source Distribution

peak-bot-1.0.1b4.tar.gz (25.6 kB view details)

Uploaded Source

Built Distribution

peak_bot-1.0.1b4-py3-none-any.whl (43.3 kB view details)

Uploaded Python 3

File details

Details for the file peak-bot-1.0.1b4.tar.gz.

File metadata

  • Download URL: peak-bot-1.0.1b4.tar.gz
  • Upload date:
  • Size: 25.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.4

File hashes

Hashes for peak-bot-1.0.1b4.tar.gz
Algorithm Hash digest
SHA256 0ed6810326a709a811dd7daf61673f299edd309aa5ae1446e7280a25ea442297
MD5 d3e92f4f85b86ddd30611f02f43bb907
BLAKE2b-256 37ae809e248c4187275e352e4ba8f921855b25e715c65f4def0c8ccc46588c79

See more details on using hashes here.

File details

Details for the file peak_bot-1.0.1b4-py3-none-any.whl.

File metadata

  • Download URL: peak_bot-1.0.1b4-py3-none-any.whl
  • Upload date:
  • Size: 43.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.4

File hashes

Hashes for peak_bot-1.0.1b4-py3-none-any.whl
Algorithm Hash digest
SHA256 f2f301692190c6bdbe8b139903c02cdd98883b1546ea65e7d68e03e2206480d8
MD5 96d159a28ddfbf529dc91ba9f60881e6
BLAKE2b-256 082dc95f238459230060095f5677e7c5a5a9937428debea678467e18add4f5e1

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