Roy Han 9 months ago
parent
commit
8ccf543c53
1 changed files with 6 additions and 0 deletions
  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