期刊文献+

基于ESP32的ChatGPT语音交互系统设计与实现

Design and implementation of ChatGPT voice interaction system based on ESP32
下载PDF
导出
摘要 针对大多数用户使用ChatGPT主要是以网页交互的形式,为进一步扩大其实际应用范围,本文设计了一款能够实现ChatGPT在ESP32上进行语音交互的系统。选择集成Wi-Fi、语音识别等模块的ESP32-S3模组,通过VSCode配置Wi-Fi和ChatGPT-API达到将系统接入OpenAI的目的,使用阿里云平台的TTS服务将文本结果转换成语音输出,从而实现Wi-Fi连接、语音交互等功能。在实际开发过程中,网络连接的不稳定和背景的噪音成为影响系统数据传输的主要因素。测试结果显示,用户分别进行长、短文本问答,系统能够准确识别提问语句,可以快速产生回答并将问题和结果在屏幕显示,达到了ChatGPT在ESP32上进行语音交互的目的,展现了系统在智能家居和智能办公等场景的应用潜力,也为用户带来了更加智能和便捷的交互体验。 Given the expanding applications and influence of ChatGPT,this paper addresses the limitation of primarily web-based interactions by designing a system that enables voice interaction with ChatGPT on ESP32.The ESP32 module,integrating Wi-Fi and speech recognition capabilities,is configured with Wi-Fi SSID and password,and connected to ChatGPT via its API using an obtained API Key.The system integrates Alibaba Cloud's TTS service to convert the text responses generated by ChatGPT into speech output,thereby achieving Wi-Fi connection and voice interaction functionalities.While ESP32 can communicate with ChatGPT,unstable network connections may lead to disconnections or data transmission errors,and background noise poses a significant challenge to achieving high-quality voice interactions.To enhance communication efficiency,the system employs high-performance hardware in conjunction with real-time wake-up detection and noise suppression techniques,improving interaction accuracy and user experience.Test results demonstrate that the system can accurately recognize both long and short queries,rapidly generate responses,and display both questions and results on the screen,thereby realizing the goal of voice interaction with ChatGPT on ESP32.This not only showcases the system's potential applications in smart homes and offices but also provides users with a more intelligent and convenient interactive experience.
作者 边玉亮 毛润 李启航 张卓 李倩艺 BIAN Yu-liang;MAO Run;LI Qi-hang;ZHANG Zhuo;LI Qian-yi(College of Information Engineering,Fuyang Normal University,Fuyang 236041,Anhui,China)
出处 《黄冈师范学院学报》 2024年第5期20-25,共6页 Journal of Huanggang Normal University
基金 安徽省质量工程教学研究项目(2022jyxm1178) 安徽省大学生创新创业项目(s202313619011) 阜阳师范大学信息工程学院2023年人才项目(2023xgrcxmz05)。
关键词 ESP32 ChatGPT WI-FI连接 云平台 语音交互 语音唤醒 屏幕显示 ESP32 ChatGPT Wi-Fi connection cloud platform voice interaction voice activation screen display
  • 相关文献

参考文献12

二级参考文献60

共引文献14

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部