Skip to main content

Phonexia Audio Intelligence CLI client

Project description

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"

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

phonexia_audio_intelligence_client-0.1.0rc0.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.0rc0.tar.gz.

File metadata

  • Download URL: phonexia_audio_intelligence_client-0.1.0rc0.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.0rc0.tar.gz
Algorithm Hash digest
SHA256 8296595b6b299482e7b0a59f47198f2c71ba038c2394684a8df0356f421153c3
MD5 54255acfee6979ca0be5960f99798b3f
BLAKE2b-256 2762313bddcce7468f41a963357f65c3e4d250df695e2bda0095d16ae5736909

See more details on using hashes here.

File details

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

File metadata

  • Download URL: phonexia_audio_intelligence_client-0.1.0rc0-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.0rc0-py3-none-any.whl
Algorithm Hash digest
SHA256 c59f93cff42611ef0e000dd87d7c6cc5037ae66712c0ec9fbffd87a371cf2350
MD5 d99c7e189127d50908676041092c7e4c
BLAKE2b-256 30f5f310ccdb70b4bee2bed78b3cc4a9fcc74400eed68ad794f5edd67a38d6a6

See more details on using hashes here.

Supported by

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