Skip to main content

A simple voice assistant meant to be easily extensible.

Project description

Description

simple-virtual-assistant is an extremely simple Python module that allows one to create their own voice assistants, using the transcription ability of faster-whisper, the messaging ability of a configurable LLM, and the tooling ability of langchain.

Caveat

This is not meant for large projects. I primarily wrote it to use in my frame-assist package.

Compatbility

Tested on Debian Linux and Windows 10.

Example

main.py contains a fairly simple example of an Ollama-powered large language model chatbot that answers user questions.

Requirements:

  • Ollama with the --model you specify already pulled (defaults to qwen3:8b)
  • ffmpeg (on Windows) for voice recording
  • arecord (on Linux) for voice recording

Usage

python -m venv virtual-assistant-venv
source virtual-assistant-venv/bin/activate 
python -m pip install -r requirements.txt
python main.py

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

simple_virtual_assistant-0.0.5.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

simple_virtual_assistant-0.0.5-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file simple_virtual_assistant-0.0.5.tar.gz.

File metadata

  • Download URL: simple_virtual_assistant-0.0.5.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for simple_virtual_assistant-0.0.5.tar.gz
Algorithm Hash digest
SHA256 837b7ed34eb177a8f8e461a85f50cdbd359a964f2e84c685d60b9b151955d68a
MD5 106d85531d947551750dbed039be8404
BLAKE2b-256 9352ab81417fdd390b1bcf6863583a888fc25855c79c81b89c4f977a90b15b5f

See more details on using hashes here.

Provenance

The following attestation bundles were made for simple_virtual_assistant-0.0.5.tar.gz:

Publisher: python-publish.yml on atmaranto/simple-virtual-assistant

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file simple_virtual_assistant-0.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for simple_virtual_assistant-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a4c63611f342f1a9bd101f7d4db13a367f65276e5cbf08d43932db4e0b0a26a9
MD5 35de8a104d1b97d49525040eee0f8002
BLAKE2b-256 577df840fc53cf5df3f86a6afb2608aa9509a91193e916d780d05b993d0cc7fe

See more details on using hashes here.

Provenance

The following attestation bundles were made for simple_virtual_assistant-0.0.5-py3-none-any.whl:

Publisher: python-publish.yml on atmaranto/simple-virtual-assistant

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page