Explorerlowi / ESP32_AI_LLM

本项目使用esp32、esp32s3接入讯飞星火、豆包、通义千问(智能体应用)、Chatgpt等大模型,实现语音对话聊天功能,支持语音唤醒、连续对话、音乐播放等功能,同时外接了一块显示屏实时显示对话的内容。
GNU General Public License v3.0
173 stars 39 forks source link

111 #1

Open rainbowszw opened 4 months ago

rainbowszw commented 4 months ago

After opening the main.cpp file, I only found the location for filling in the LLM related information. Can someone tell me where to fill in the information for other services, such as the STT API? Also, is this project connected to WiFi? I also couldn't find a place to fill in the WiFi name and password

Explorerlowi commented 4 months ago

The LLM and STT services share the filled account information. When ESP32 is not connected to the network, it will open its own hotspot (you can use the disconnect command to disconnect ESP32 in the conversation). After connecting to the hotspot, enter 192.168.4.1 in the browser to enter the configuration page (both mobile phones and computers are available). Then you can add and delete WiFi information and music information.

rainbowszw commented 4 months ago

wow,it really works!thanks! and i meet another two question:

  1. how to use the language English(which code line should i change in "main.cpp"and how to change)
  2. i think my inmp441 sometimes not work,i dont know whether the line-conncet is right,or other
Explorerlowi commented 3 months ago

wow,it really works!thanks! and i meet another two question:

  1. how to use the language English(which code line should i change in "main.cpp"and how to change)
  2. i think my inmp441 sometimes not work,i dont know whether the line-conncet is right,or other
  1. I added the language selection of STT in the latest code (you can choose Chinese and English). For the large model, it should be OK to let her speak English in the character setting. TTS is a mixture of Chinese and English and does not need to be modified.
  2. I am not very clear about the second question. I am not very good at hardware either.
skipguy commented 3 months ago

tts!!!hey!佬,Where is the tts service? i can not really find it. It is said that you are using baidu http, but i only find that you use baidu.com to get time.So where is tts?save me 佬!!!

Explorerlowi commented 3 months ago

tts!!!hey!佬,Where is the tts service? i can not really find it. It is said that you are using baidu http, but i only find that you use baidu.com to get time.So where is tts?save me 佬!!!

tts服务在Audio2.cpp里,connecttospeech函数

eework commented 3 months ago

Hey!佬,这项目有群吗?

Explorerlowi commented 3 months ago

Hey!佬,这项目有群吗?

太菜了,不敢建群

eework commented 3 months ago

能沟通一下不qq:378180421