Code With Alex · @code_with_alex

由...發布 3 天數 之前
30.91K 粉絲
4.51K views
201 likes
2 comments
6 shares

Lets Improve our Jarvis Voice Assistant in Python using ChatGPT API #python #coding #programming  In a previous video, I showed you how to use the OpenAI API to create your own Jarvis-style voice assistant. It worked pretty well, but there was a major issue. The hard hard-coded 5 Seconds Duration was the main bottleneck, and that's what we're going to fix this video by adding a threshold limit to check for a silence duration of 1.5 seconds and break the loop immediately after these 1.5 seconds. This results in a faster response since there is no fixed listening time, which improves the feedback time for the user.