Roy Han 9 місяців тому
батько
коміт
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