diff --git a/ac-local-plugin/loader-schema.json b/ac-local-plugin/loader-schema.json new file mode 100644 index 0000000..c18fd52 --- /dev/null +++ b/ac-local-plugin/loader-schema.json @@ -0,0 +1,44 @@ +{ + "id": "whisper.cpp", + "description": "Inference based on our fork of https://github.com/ggerganov/whisper.cpp", + "params": { + "type": "null" + }, + "instances": { + "general": { + "description": "General instance", + "params": { + "type": "null" + }, + "ops": { + "transcribe": { + "description": "Run the whisper.cpp inference and produce some output", + "params": { + "type": "object", + "properties": { + "audio_binary_mono": { + "type": "binary", + "description": "Audio data to transcribe" + } + }, + "required": [ + "audio_binary_mono" + ] + }, + "return": { + "type": "object", + "properties": { + "result": { + "type": "string", + "description": "Transcription of audio" + } + }, + "required": [ + "result" + ] + } + } + } + } + } +}