Skip to content

System Information

vavrek edited this page Jun 21, 2018 · 6 revisions

oa.py - Main Open Assistant loading module.

core.py - Essential functions and utilities. This also contains additional functions to play sounds, run diagnostics, report the weather, and read the news. (These functions will eventually be split into individual 'ability files'). Look within 'minds/root' for various voice command examples.

Minds:

boot - First mind booted. Listens for "Open Assistant" vocal command to launch root mind.

root - Core system mind (will be configured specifically for various operating systems).

Parts (Modules):

console - Display text messages on the screen.

display - Show messages/windows/dialogs/video in Python web browser (under development).

ear - Listening to audio via microphone.

eye - Camera and computer vision (planned).

keyboard - Recieve keyboard keys/emulate keyboard keys from input queue (wire_in).

sound - Play audio file via speakers.

speech_recognition - Internal speech to text.

voice - Text to speech via speakers.

mind - Load and control all minds.

About Parts:

_in() - function which yields processed data. Each part works in a separate thread.

Each part reads messages (signals) from devices and/or from an input message wire (wire_in).

To send messages to a part ('voice' for example) use: put('voice','any sentence')

To read messages (for current part) use: data = get() (get waits until any messages appear on the wire).

In sophisticated cases you may use wire_in directly (with or without locks).

Newly added parts will start automatically.

Clone this wiki locally