Roy Han 8 月之前
父节点
当前提交
8ccf543c53
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      docs/whisper.md

+ 6 - 0
docs/whisper.md

@@ -12,3 +12,9 @@
     - "whisper_model" (required): path to whisper model
     - "transcribe" (optional): if true, will transcribe and return the audio file
     - "prompt" (optional): if not null, passed in with the transcribed audio
+
+## api/chat
+### Request fields
+    - "whisper_model" (required): path to whisper model
+    - "message" object
+        - "audio" (required): contains path to audio file