Skip to main content

APRSd plugin for hosting the APRS Assistant chatbot (aprs-assistant)

Project description

APRSD Assistant Plugin

PyPI - Version PyPI - Python Version

The APRS Assistant is an LLM-based assistant for the Automatic Packet Reporting System (APRS). However, the Assistant can't connect to the APRS IS network on its own -- it needs to live in an APRS server or host.

As the name suggests, this aprsd-assistant-plugin one such host container for the APRSd server. It includes both aprsd and aprs-assistant as dependencies, and should be the only package that you need to pip install and configure to get up and running.

[!WARNING]
Like all US amateur radio communications, messages sent via APRS are cleartext and can not be encrypted or obscured. In particular, they are transmit in unencrypted form over the radio airwaves and on the internet via APRS-IS. Sites like aprs.fi aggregate, retain, and redistribute APRS data in searchable databases with multi-year data retention policies. These sites provide a great service to the community -- in fact, APRS Assistant relies on aprs.fi for much of its operation. However, it also means that ALL communications with instances of aprsd-assistant-plugin are public, searchable, and nearly impossible to delete. Treat this service like Twitter, and assume ALL interactions are PUBLIC.


Installation

pip install aprsd-assistant-plugin

Configuration

APRSd has many advanced configuration options, but only some are relevant for running the APRS Assistant. The following is a minimal configuration for getting up and running. Be sure to write this to the file ~/.config/aprsd/aprsd.conf:

[DEFAULT]
callsign = <YOUR_BOTS_CALLSIGN>
enabled_plugins = aprsd_assistant_plugin.AssistantPlugin

[aprs_fi]
# Get the apiKey from your aprs.fi account here:http://aprs.fi/account
# (string value)
apiKey = <YOUR_APRS_FI_API_KEY>

[aprs_network]
enabled = true

# APRS IS Username (string value)
login = <YOUR_BOTS_CALLSIGN>

# APRS IS Password Get the passcode for your callsign here:
# https://apps.magicbug.co.uk/passcode (string value)
password = <PASSWORD_GENERATED_FOR_BOTS_CALLSIGN>

[aprsd_assistant_plugin]
enabled = true

# (Required) OpenAI API key form making the LLM calls
openai_api_key = <YOUR_OPENAI_API_KEY>

# (Optional) Bing API key for web search and new results
# bing_api_key = <YOUR_BING_API_KEY>

Running the Assistant

Once the config file is in place, run:

aprsd server

If you've saved the aprsd.conf file somewhere else, use:

aprsd server -c <path to aprsd.conf>

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

aprsd_assistant_plugin-0.0.3.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

aprsd_assistant_plugin-0.0.3-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file aprsd_assistant_plugin-0.0.3.tar.gz.

File metadata

File hashes

Hashes for aprsd_assistant_plugin-0.0.3.tar.gz
Algorithm Hash digest
SHA256 9696b438c905e794a5c9c561eb4c916f6fa6e3c7549a882c9474099fadfe89f9
MD5 ff06dd83d0fab154cd0899d12680cb53
BLAKE2b-256 1a83e1b8a7b273e59cde45740a657a4d3ad855830b22f6699e465db5ebae826f

See more details on using hashes here.

File details

Details for the file aprsd_assistant_plugin-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for aprsd_assistant_plugin-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ce250bd53971ffa5a37aefa14f73ef14600476ac2bdda6f054d8de93b2c16ce2
MD5 865efd0ebc7adf4af640e369eb238222
BLAKE2b-256 e3dc1d3677052456a8e9a48a35bf8e46e3b1efd31f2f497aa26a6dbf5ef9a438

See more details on using hashes here.

Supported by

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