From 8ccf543c53f1183b1b7cb3890e83b41ca221f572 Mon Sep 17 00:00:00 2001 From: Roy Han Date: Tue, 6 Aug 2024 17:31:51 -0700 Subject: [PATCH] chat doc --- docs/whisper.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/whisper.md b/docs/whisper.md index f085aa74..8bcb72f7 100644 --- a/docs/whisper.md +++ b/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