Added param name

This commit is contained in:
youssefsoli
2023-11-27 04:09:51 -05:00
parent e7e72bc15a
commit 49367cb2f8
+2 -1
View File
@@ -73,7 +73,8 @@ This document outlines the API endpoints for a language learning application, de
### Speech Recognition (`/recognize`)
- **Method:** POST
- **Description:** Converts spoken words in an audio file to text.
- **Request Body:** An audio file uploaded using `UploadFile`.
- **Request Body:**
- `audio_file`: An audio file uploaded using `UploadFile`.
- **Response:** `RecognizeResponse`
- `text`: Transcribed text from the audio file.
- **Example Response:** `{ "text": "Hello, how can I help you today?" }`