Metadata

Metadata introspection for the Voxtral HF plugin used by cjm-ctl to generate the registration manifest.

source

get_plugin_metadata


def get_plugin_metadata(
    
)->Dict: # Plugin metadata for manifest generation

Return metadata required to register this plugin with the PluginManager.

Testing

import json

metadata = get_plugin_metadata()
print(json.dumps(metadata, indent=2))
{
  "name": "cjm-transcription-plugin-voxtral-hf",
  "version": "0.0.18",
  "type": "transcription",
  "category": "transcription",
  "interface": "cjm_transcription_plugin_system.plugin_interface.TranscriptionPlugin",
  "module": "cjm_transcription_plugin_voxtral_hf.plugin",
  "class": "VoxtralHFPlugin",
  "python_path": "/opt/hostedtoolcache/Python/3.12.12/x64/bin/python",
  "db_path": "/opt/hostedtoolcache/Python/3.12.12/x64/data/voxtral_hf_transcriptions.db",
  "resources": {
    "requires_gpu": true,
    "min_gpu_vram_mb": 6144,
    "recommended_gpu_vram_mb": 8192,
    "min_system_ram_mb": 16384
  },
  "env_vars": {
    "CUDA_VISIBLE_DEVICES": "0",
    "OMP_NUM_THREADS": "4",
    "HF_HOME": "/opt/hostedtoolcache/Python/3.12.12/x64/.cache/huggingface"
  }
}