From 3c8e5999d395a6059210e8ae24f2a8c5e959a2da Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Thu, 10 Aug 2023 18:43:16 -0300 Subject: [PATCH] Added experimental support for "voice-to-code" allowing users to edit codebase using spoken words. --- docs/voice.md | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/docs/voice.md b/docs/voice.md index 36fe9aa7e..97ee1b6c2 100644 --- a/docs/voice.md +++ b/docs/voice.md @@ -1,4 +1,22 @@ +# Voice-to-code + +Aider has experimental support for "voice-to-code", +allowing you to edit your codebase using spoken words. + +You can speak to GPT to have it modify your code according to your +instructions. +Use the `/voice` in-chat command to start recording, +and press `ENTER` when you're done speaking. +Your voice coding instrucitons will be transcribed +and sent to GPT, as if you had manually typed them into +the aider chat session. + +
+
+
+
+ > Aider v0.11.2-dev > Model: gpt-4 > Git repo: .git @@ -8,14 +26,13 @@ #### /voice +> Recording... Press ENTER when done speaking... +
“add a factorial endpoit that uses math factorial”
-> Recording... Press ENTER when done speaking... - - #### Add a factorial endpoint that uses math.factorial. To add a factorial endpoint to the Flask application, we need to modify the `app.py` file. @@ -47,3 +64,8 @@ if __name__ == '__main__': > Applied edit to app.py > Commit ef9e3e7 aider: Add a factorial endpoint that uses math.factorial. + +
+
+
+