Skip to main content

A simple voice assistant meant to be easily extensible.

Project description

Description

simplevirtual-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.4.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.4-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: simple_virtual_assistant-0.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 cc7d2e8c750caa42194566e302499630b9fbc16405a8494ffdcad089c2d6f6ea
MD5 f79020f4824f74033d0ff28fabb57ebb
BLAKE2b-256 826861bbc7b507d199edb496600cb895e2f72e75f272a72bb24605027cab9c25

See more details on using hashes here.

Provenance

The following attestation bundles were made for simple_virtual_assistant-0.0.4.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.4-py3-none-any.whl.

File metadata

File hashes

Hashes for simple_virtual_assistant-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b5f9a9972fd589a1c32e5936a09333bd812bd3d26a074b9912f827b2176f9772
MD5 66c3680635be9f2d85c11c6d7f13b31a
BLAKE2b-256 69ea9906b6d9809d0e821414d0e222a4da91db6d06b4508a5630707430499374

See more details on using hashes here.

Provenance

The following attestation bundles were made for simple_virtual_assistant-0.0.4-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