• Stars
    star
    268
  • Rank 153,144 (Top 4 %)
  • Language
    JavaScript
  • License
    Apache License 2.0
  • Created almost 9 years ago
  • Updated 7 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

The home server version of Almond

Genie For Home Servers

Build Status Coverage Status Dependency Status Language grade: JavaScript

End User Programmable Virtual Assistants

This repository contains the standalone version of Genie, the end user programmable assistant. It is a single-user version, suitable for running on home servers and smart speakers.

Genie is a research project from the Stanford University Open Virtual Assistant Lab. You can find more information at https://oval.cs.stanford.edu.

Running Genie standalone

The recommended way to run Genie is through podman, a replacement for docker that allows the container to run as your regular user (and thus access PulseAudio from your normal session). You can find the installation instructions here. If you use regular docker rather than podman, audio support might not work.

To run, use the command:

podman run --name genie -p 3000:3000 \
    -v /dev/shm:/dev/shm \
    -v $XDG_RUNTIME_DIR/pulse:/run/pulse \
    -e PULSE_SERVER=unix:/run/pulse/native \
    -v $XDG_CONFIG_HOME/genie-server:/var/lib/genie-server \
    --security-opt label=disable \
    docker.io/stanfordoval/almond-server

You can now navigate to 127.0.0.1:3000 to access Genie, or use your voice with the wake-word "Hey Genie".

To manage the container later, you can use:

podman start genie # start the container again
podman stop genie # stop the container
podman logs genie # look at the most recent logs of a running container

Development setup

To develop genie-server, you should clone this repository, then install the dependencies with:

dnf -y install nodejs gettext make gcc-c++ GraphicsMagick zip unzip pulseaudio-libs-devel # Fedora/RHEL
apt -y install nodejs gettext build-essential make g++ graphicsmagick zip unzip libpulse-dev # Ubuntu/Debian

You can then build the repository with:

npm ci

This will only install the minimal set of dependencies, and will not install any voice support. To enable voice, you must also install genie-client-cpp.

After installing the dependencies locally, the server can be started using npm start. The server is accessible on port 3000.

More Repositories

1

storm

An LLM-powered knowledge curation system that researches a topic and generates a full-length report with citations.
Python
11,955
star
2

WikiChat

WikiChat stops the hallucination of large language models by retrieving data from Wikipedia.
Python
965
star
3

genie-cloud

Genie As A Service and Thingpedia
JavaScript
295
star
4

suql

SUQL: Conversational Search over Structured and Unstructured Data with LLMs
Python
193
star
5

genie-toolkit

The Genie open source kit for voice assistant (formerly known as Almond)
TypeScript
193
star
6

almond-gnome

The Almond Virtual Assistant, Linux desktop version
JavaScript
86
star
7

genienlp

GenieNLP: A versatile codebase for any NLP task
Python
84
star
8

thingtalk

The Programming Language of Virtual Assistants
TypeScript
84
star
9

wikidata-emnlp23

WikiSP, a semantic parser for Wikidata. WikiWebQuestions, a SPARQL-annotated dataset on Wikidata
Python
77
star
10

almond-dialog-agent

The Open Virtual Assistant
JavaScript
56
star
11

thingengine-core

A Modular, Powerful Virtual Assistant Engine
JavaScript
38
star
12

thingpedia-common-devices

Thingpedia interface code for commonly used devices
JavaScript
38
star
13

ovalchat

OVALChat is a customizable Web app aimed at conducting user studies with chatbots
TypeScript
27
star
14

almond-cmdline

Full-featured command-line version of Almond & ThingEngine
JavaScript
26
star
15

zero-shot-multiwoz-acl2020

Artifact associated with the paper "Zero-Shot Transfer Learning with Synthesized Data for Multi-Domain Dialogue State Tracking"
Makefile
24
star
16

schema2qa

Schema2QA Question Answering Dataset
Makefile
18
star
17

chainlite

LangChain + LiteLLM that works
Python
18
star
18

genie-parser

Neural Network Semantic Parser for Almond
Python
16
star
19

noora-v1

[ARCHIVED] A platform utilizing conversational AI to improve the social skills of individuals with ASD.
TypeScript
15
star
20

dialogues

A unified versatile interface for dialogue datasets
Python
15
star
21

node-pulseaudio

A fork of https://bitbucket.org/kayo/node-pulseaudio, which was unmantained. Home of pulseaudio2 npm module
C++
15
star
22

almond-android

The Almond Android App
C
12
star
23

almond-hassio-repository

Dockerfile
10
star
24

node-smtlib

Node.js wrappers for SMT-Lib 2.0
TypeScript
10
star
25

genie-client

C++
10
star
26

SPL

Semantic Parser Localizer (SPL) code repository
Python
9
star
27

thingpedia-api

Shared code for Thingpedia interfaces
TypeScript
8
star
28

noora

Using conversational AI to improve the social conversation of individuals with ASD.
TypeScript
7
star
29

genie-k8s

Kubernetes scripts to train models with Genie
Python
7
star
30

trade-dst

Jupyter Notebook
6
star
31

cs224v-fall2021

Makefile
6
star
32

pyGenieScript

A packaged GenieScript in Python
Python
5
star
33

diya

Make an API for things that don't have an API
JavaScript
5
star
34

almond-voice

A prototype voice interface for Almond, an open-source virtual assistant developed at Stanford.
TypeScript
5
star
35

ThingEngine

An open source platform for IoT rules that you can execute anywhere you want
5
star
36

almond-tokenizer

The tokenizer and preprocessor part of the Almond parser
Java
5
star
37

spinach

SPINACH: SPARQL-Based Information Navigation for Challenging Real-World Questions
5
star
38

genie-sdk

Genie skill development kit
Shell
4
star
39

pyalmond

Python client for the Almond API
Python
4
star
40

almond-bot

The Almond Bot Service.
TypeScript
4
star
41

consumer-queue

JavaScript
3
star
42

genie_open_text

Python
3
star
43

transparent-rpc

Automatic Proxy-based RPC for Node.js
TypeScript
3
star
44

CSP-DST

Code implementation for the paper "Contextual Semantic Parsing for Multilingual Task-Oriented Dialogues"
Python
3
star
45

cs294-homework-workdir

The workdir for cs294s/w homeworks
Makefile
3
star
46

oval-website

The new OVAL website
Astro
3
star
47

medxchange

Medical Data Exchange (MedXchange) platform
JavaScript
2
star
48

almond-enterprise

On-premise multi-user, single-profile Almond
JavaScript
2
star
49

thingpedia-discovery

Device discovery components for ThingPedia
JavaScript
2
star
50

query-validation

Server-side validation of query and body parameters for Express
TypeScript
2
star
51

project-cardiology

A virtual assistant, based on Almond, that helps doctors remind patients to track their blood pressure regularly.
JavaScript
1
star
52

thingpedia-demos

Demo, testing and mock devices for ThingPedia
JavaScript
1
star
53

node-libcanberra

Node.js bindings for libcanberra (event sound playing)
C++
1
star
54

thingpedia-cli

Command-line tools to interact with Thingpedia
JavaScript
1
star
55

gpt3-example

A simple example on how to use GPT-3 via the OpenAI API
Python
1
star
56

GenieScript-Python

Python
1
star
57

thingtalk-units

Unit conversion library from ThingTalk
TypeScript
1
star
58

slackmond

Almond-Slack bridge with multi-user support
JavaScript
1
star
59

cs224v-fall2022

Makefile
1
star
60

web-questions-wikidata

TypeScript
1
star
61

wikidata-scripts

Wikidata Scripts
JavaScript
1
star
62

thingpedia-client

Thingpedia client side libraries
JavaScript
1
star