From 49367cb2f893b947d7beffe8fbfe4a70d362e536 Mon Sep 17 00:00:00 2001 From: youssefsoli Date: Mon, 27 Nov 2023 04:09:51 -0500 Subject: [PATCH] Added param name --- backend/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/README.md b/backend/README.md index f8e5e91..df0dc14 100644 --- a/backend/README.md +++ b/backend/README.md @@ -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?" }`