Skip to main content

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"

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

phonexia_audio_intelligence_client-0.1.0.tar.gz (52.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file phonexia_audio_intelligence_client-0.1.0.tar.gz.

File metadata

  • Download URL: phonexia_audio_intelligence_client-0.1.0.tar.gz
  • Upload date:
  • Size: 52.8 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for phonexia_audio_intelligence_client-0.1.0.tar.gz
Algorithm Hash digest
SHA256 150a8771c919b35fc3c044ef932ff2c8ac329059928177eb49907747af4d660b
MD5 089873b2c160a21d7a05c76f313e3ff2
BLAKE2b-256 bda7930119de0deab41f7fd63049bb5143d22fdc907fa7d5da2d124e195e7e15

See more details on using hashes here.

File details

Details for the file phonexia_audio_intelligence_client-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: phonexia_audio_intelligence_client-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 19.5 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for phonexia_audio_intelligence_client-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 41fdd0cfa090107387ddca8444983f3001d67154d78437aaf58da48f35101358
MD5 0bada093f499fd2db9c67f14f3bfa3af
BLAKE2b-256 6a3bc9abc2c886c9c5e5b956c2eea74915750c5eb52d1a037870e351c7d66ccf

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page