phx-audio-intelligence-client
CLI client for the Phonexia Audio Intelligence API.
Installation
From the repository root, you can run the client without installing it system-wide.
uv run --project phx_audio_intelligence_client phx-audio-intelligence-client --help
If you want an editable install into the repo virtual environment:
uv pip install -e phx_audio_intelligence_client
Usage
All commands accept --help.
Create a collection
uv run --project phx_audio_intelligence_client phx-audio-intelligence-client create-collection \
--base-url http://localhost:1234/api \
my-collection
List collections
uv run --project phx_audio_intelligence_client phx-audio-intelligence-client list-collections \
--base-url http://localhost:1234/api
Upload files
Upload explicit files:
uv run --project phx_audio_intelligence_client phx-audio-intelligence-client upload \
--base-url http://localhost:1234/api \
--collection my-collection \
path/to/file1.wav path/to/file2.txt
Upload a whole directory (recursively discovers supported files):
uv run --project phx_audio_intelligence_client phx-audio-intelligence-client upload \
--base-url http://localhost:1234/api \
--collection my-collection \
--dir path/to/data \
--concurrency 4
For audio uploads, optional sidecar JSON files can be provided via:
--transcription-dir(expects<audio_stem>.json)--diarization-dir(expects<audio_stem>.json)
Query (RAG)
uv run --project phx_audio_intelligence_client phx-audio-intelligence-client query \
--api-base http://localhost:1234/api \
--collection my-collection \
"What is this collection about?"
Optionally upload an audio file with the target speaker before querying (used by the backend to extract a speaker embedding and retrieve recordings with that speaker; the question is not about this audio):
uv run --project phx_audio_intelligence_client phx-audio-intelligence-client query \
--api-base http://localhost:1234/api \
--collection my-collection \
--target-speaker-audio path/to/target_speaker.wav \
"Summarize the audio"
Metadata
Release files for phonexia-audio-intelligence-client 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| phonexia_audio_intelligence_client-0.1.0.tar.gz | 52.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| phonexia_audio_intelligence_client-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 72.2 kB
Release files / phonexia_audio_intelligence_client-0.1.0.tar.gz
| Download URL | phonexia_audio_intelligence_client-0.1.0.tar.gz |
|---|---|
| Size | 52.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
150a8771c919b35fc3c044ef932ff2c8ac329059928177eb49907747af4d660b
|
|
BLAKE2b-256 checksum How to use checksums |
bda7930119de0deab41f7fd63049bb5143d22fdc907fa7d5da2d124e195e7e15
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / phonexia_audio_intelligence_client-0.1.0-py3-none-any.whl
| Download URL | phonexia_audio_intelligence_client-0.1.0-py3-none-any.whl |
|---|---|
| Size | 19.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
41fdd0cfa090107387ddca8444983f3001d67154d78437aaf58da48f35101358
|
|
BLAKE2b-256 checksum How to use checksums |
6a3bc9abc2c886c9c5e5b956c2eea74915750c5eb52d1a037870e351c7d66ccf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|