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