Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

ovos-solver-hivemind-plugin

Exposes a HiveMind connection as an OVOS solver plugin.

A solver plugin is a Q&A backend: given a question, return a spoken answer. This plugin sends the question to a remote HiveMind hub, waits for the hub's speak responses, and returns them as the answer. Any application that uses OVOS solvers can use a HiveMind hub as its answering backend.

Use cases:

Install

pip install ovos-solver-hivemind-plugin

Quickstart

1. Register a client on the HiveMind hub

On the machine running hivemind-core:

hivemind-core add-client
# note the Access Key and Password

2. Set the identity on the client device

hivemind-client set-identity \
  --key <access_key> \
  --password <password> \
  --host <hub_ip> --port 5678 --siteid solver

Verify:

hivemind-client test-identity
# should print: == Identity successfully connected to HiveMind!

3. Use the solver

from ovos_hivemind_solver import HiveMindSolver

solver = HiveMindSolver(config={"autoconnect": True})
print(solver.spoken_answer("what is the speed of light?"))

Or connect manually:

solver = HiveMindSolver()
solver.connect()   # uses the identity file
print(solver.spoken_answer("what is the capital of France?"))

Configuration

Key Type Default Description
autoconnect bool false Connect to HiveMind automatically at construction time.
useragent string "ovos-hivemind-solver" User-agent string sent to the hub.
site_id string value from identity file Site ID for the HiveMind connection.
lang string "en-us" Default language when none is in context.

Connection credentials (host, port, key, password) come from the identity file set with hivemind-client set-identity. They cannot be passed inline.

Using with ovos-persona

Add it as a solver in a persona JSON file:

{
  "name": "HiveMind",
  "solvers": [
    {
      "module": "ovos-solver-hivemind-plugin",
      "ovos-solver-hivemind-plugin": {
        "autoconnect": true
      }
    }
  ]
}

Using with ovos-persona-server

Start ovos-persona-server with a persona that includes this solver. Any OpenAI-compatible client can then query HiveMind via the persona server's REST API.

Documentation

Credits

This work was sponsored by VisioLab, part of Royal Dutch Visio, the research and education center for assistive technology for blind and visually impaired people.

License

Apache 2.0.

Metadata

Release files for ovos-solver-hivemind-plugin 0.0.11a1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ovos-solver-hivemind-plugin 0.0.11a1
File Size Uploaded Provenance Actions
ovos_solver_hivemind_plugin-0.0.11a1.tar.gz 9.0 kB Without provenance Details for ovos_solver_hivemind_plugin-0.0.11a1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ovos-solver-hivemind-plugin 0.0.11a1
File Interpreter ABI Platform Actions
ovos_solver_hivemind_plugin-0.0.11a1-py3-none-any.whl Python 3 none any Details for ovos_solver_hivemind_plugin-0.0.11a1-py3-none-any.whl

Total release size: 14.5 kB

Release files / ovos_solver_hivemind_plugin-0.0.11a1.tar.gz

Download URL ovos_solver_hivemind_plugin-0.0.11a1.tar.gz
Size 9.0 kB
Tags Source
SHA-256 checksum
How to use checksums
bc5c46620dd25d6b8c719c4ca9d05079eb37160544083aa5e7de61bdf2e952b5
BLAKE2b-256 checksum
How to use checksums
09bd429e819d35509562f2401a1095ba782351327c4423360bb0348f54e52872
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / ovos_solver_hivemind_plugin-0.0.11a1-py3-none-any.whl

Download URL ovos_solver_hivemind_plugin-0.0.11a1-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c334ab5da27ad8a9f22b2f11d002f374d482cfc1c025b0220287a63881dd765e
BLAKE2b-256 checksum
How to use checksums
66161056d24b5d60fdefb620309d39f35eb77d81edd00b43cc107696060464ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for ovos-solver-hivemind-plugin 0.0.11a1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page