🔗 Links:
OpenAI: https://platform.openai.com
Source repository: https://github.com/CarolineChiari/ConversationalAI
❓ What did you think of this video❓
https://www.carolinechiari.com/feedback/dNVsFbo9hF8
💪🙌Help support the channel🙌💪
Yotta Savings: https://withyotta.page.link/EV3MpjCEGDawdTkM9
⏱ Timestamps ⏱
00:00:00 Demo
00:00:31 Introduction
00:01:21 Creating Azure Speech Service
00:02:43 Azure Speech Pricing
00:04:16 Getting Azure Speech Keys
00:04:56 Getting the OpenAI API Key
00:05:42 Creating the .env file
00:06:33 Creating the gitignore file
00:07:02 Drawing the application outline
00:10:44 Creating the application skeleton
00:11:18 Loading the environment variables
00:11:42 Installing dotenv library
00:13:16 Creating output folder
00:14:33 Writing the speech-to-text code
00:15:36 Installing the cognitive services speech library
00:16:13 Importing the environment settings for speech services
00:16:47 How Asynchronous speech services works
00:19:15 Speech config
00:20:18 Audio config
00:20:55 Speech Recognizer
00:21:27 Speech Recognizer events
00:22:35 Starting/stopping recognition
00:24:24 First try
00:24:59 Handling transcription results
00:30:26 Recording until done
00:37:34 Caroline Messed up...
00:39:00 Adding sound indicators
00:41:42 Returning speech processing results
00:42:48 Creating OpenAI processing
00:48:34 Creating the Dialog loop
00:50:24 Engineering the dialog prompt
00:54:38 Talking to an AI
00:55:22 Fixing Typo
00:56:31 Writing the test-to-speech code
00:59:00 Playing back the generated speech
01:00:00 Finalizing the dialog loop
01:00:34 Final result
01:02:41 Conclusion