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
--modelyou specify already pulled (defaults toqwen3:8b) ffmpeg(on Windows) for voice recordingarecord(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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
837b7ed34eb177a8f8e461a85f50cdbd359a964f2e84c685d60b9b151955d68a
|
|
| MD5 |
106d85531d947551750dbed039be8404
|
|
| BLAKE2b-256 |
9352ab81417fdd390b1bcf6863583a888fc25855c79c81b89c4f977a90b15b5f
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
simple_virtual_assistant-0.0.5.tar.gz -
Subject digest:
837b7ed34eb177a8f8e461a85f50cdbd359a964f2e84c685d60b9b151955d68a - Sigstore transparency entry: 511200676
- Sigstore integration time:
-
Permalink:
atmaranto/simple-virtual-assistant@71dfdcca5b30c022d72d57eb02bacb9aaf8f96ed -
Branch / Tag:
refs/tags/0.0.5 - Owner: https://github.com/atmaranto
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@71dfdcca5b30c022d72d57eb02bacb9aaf8f96ed -
Trigger Event:
release
-
Statement type:
File details
Details for the file simple_virtual_assistant-0.0.5-py3-none-any.whl.
File metadata
- Download URL: simple_virtual_assistant-0.0.5-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a4c63611f342f1a9bd101f7d4db13a367f65276e5cbf08d43932db4e0b0a26a9
|
|
| MD5 |
35de8a104d1b97d49525040eee0f8002
|
|
| BLAKE2b-256 |
577df840fc53cf5df3f86a6afb2608aa9509a91193e916d780d05b993d0cc7fe
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
simple_virtual_assistant-0.0.5-py3-none-any.whl -
Subject digest:
a4c63611f342f1a9bd101f7d4db13a367f65276e5cbf08d43932db4e0b0a26a9 - Sigstore transparency entry: 511200678
- Sigstore integration time:
-
Permalink:
atmaranto/simple-virtual-assistant@71dfdcca5b30c022d72d57eb02bacb9aaf8f96ed -
Branch / Tag:
refs/tags/0.0.5 - Owner: https://github.com/atmaranto
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@71dfdcca5b30c022d72d57eb02bacb9aaf8f96ed -
Trigger Event:
release
-
Statement type: