Location>code7788 >text

MiGPT Makes Your Little Love Audio Smarter

Popularity:821 ℃/2024-10-18 23:03:41

Hello, everyone.let sb know

Today is going to bring you a super interesting open source projectMiGPT

This program, it's like putting a super brain on the little love speakers, theMake your little love speaker smarter.

Imagine, when the small love speaker access to the big model, the upper know astronomy, the lower know geography, from the "artificial retarded" second into a school bully.

I. What is MiGPT

MiGPTIt's one of those things that's made up ofidootopThe open source project developed by the team has been awarded the7.5kThe Star, which is in theGitHubIt's a pretty popular one.

MiGPT By combining the Little Love Speaker, Mi Home smart devices, with the ChatGPT The understanding of the perfect blend to make your smart home more understanding.

① Open Source Address

https://github.com/idootop/mi-gpt

开源地址

②Official demo video

Video address:/7426731715105653298

II. MiGPT Functions

  • 🎓 AI Questions and AnswersThe speaker has been used for a long time, and it has been used for a long time. Xiao Ai speaker access to the big model, know astronomy, geography, from the "artificial retardation" into a school bully.
  • 🎭 Role Playing. It doesn't take a second to tune up Ai, whether it's to be your perfect companion or that sweet BFF who listens to what's on your mind.
  • 💬 Streaming response. Love comes too fast like a tornado, and so does your little love speaker, loving you back in seconds and loving you without making you wait too long.
  • 🧠 Long and short-term memoryThe speaker can now remember every conversation you have with each other. Little Love Speaker now remembers every conversation you have with each other, and the more you talk, the more you get along, like an old friend next to you.
  • 🔊 Customized TTS. Tired of Little Love's voice? Unlock it for you."Bean buns."Same tone, like a real person is returning your messages.
  • 🤖️ Smart Home Agent. In a bad mood? Xiao Ai immediately understands you, automatically help you play your favorite music, adjust the light, and amuse you.

III. Preparation for use

3.1 Equipment requirements

MiGPT Most Xiao Ai speaker models are supported, but for some models they are not. Like Xiaodu speaker, Tmall Elf,HomePod and other smart speaker devices.

You must confirm your equipment model before practical to avoid some unnecessary trouble.

The following are examples of supported and unsupported devices for your reference (data from network partners)

  • Models that work perfectly
name (of a thing) model number ttsCommand wakeUpCommand playingCommand streamResponse Feedback sources
Xiao Ai Speaker Pro LX06 [5, 1] [5, 3] - true @idootop
Xiao Ai Speaker mini LX01 [5, 1] [5, 2] [4, 1, 1] true @gsscsd
Little Love Speaker Play (2019 model) LX05 [5, 1] [5, 3] [3, 1, 1] true @wt666666
Little Love Speaker Universal Remote Control Edition LX5A [5, 1] [5, 3] - true @imhsz
Xiaomi AI Speaker S12 [5, 1] [5, 3] - true WeChat: CMSJ
Xiaomi AI Speaker (2nd Generation) L15A [7, 3] [7, 1] [3, 1, 1] true WeChat: Longzhihuang
Xiao Ai Smart Home Screen 10 X10A [7, 3] [7, 1] - true @IDarkBoss
Xiaomi Sound Pro L17A [7, 3] [7, 1] - true WeChat: eof
  • It's up and running.MiGPTThe Little Love Speaker model that does not support continuous conversation
name (of a thing) model number ttsCommand wakeUpCommand playingCommand streamResponse Feedback sources
Xiaoice speaker L06A [5, 1] [5, 2] - false @zhanglc
Xiao Ai Speaker Play L05B [5, 3] [5, 1] - false @BiuBiu2323
Xiaomi Xiao Ai Speaker Play Enhanced Edition L05C [5, 3] [5, 1] - false @lyddias
Xiaomi Smart Home Screen 6 X6A [7, 3] [7, 1] - false @Hongwing
Redmi Xiao Ai Touchscreen Speaker Pro 8-inch X08E [7, 3] [7, 1] - false @shangjiyu
Little Love Speaker Art L09A [3, 1] [3, 2] - false @zwsn
Ai Touch Screen Speaker LX04 [5, 1] [5, 2] - false @ilovesouthpark
  • Completely unsupported
name (of a thing) model number Feedback sources
Xiaomi Xiao Ai Speaker HD SM4 @romantech
Xiaomi Xiao Ai Bluetooth Speaker Walkman Edition - WeChat: Tomorrow

3.2 Video tutorials

MiGPTThe author is very sweet, afraid that people do not know how to run, but also recorded their own video

Video address:/video/BV1zb421H7cS/?vd_source=1da677016e82657d6d824923c1d481a3

IV. How is it deployed?

MiGPT The open source project offers two deployment options, with the option to deploy via theDocker maybe The way in which it is deployed.

For users unfamiliar with code configuration, there is an option to use theDocker Perform rapid deployment.

For those who have Users who are experienced in developingnpm Install dependencies and run the project

4.1 Docker Deployment

① Parameter Configuration Configuration.

Rename the.file is.

配置

Detailed parameters for reference:/idootop/mi-gpt/blob/main/docs/

② Environment variable configuration.env

Rename the . file is.env

image-20241017200136784

Detailed configuration reference:/idootop/mi-gpt/blob/main/docs/

③ Start docker

Once the above is configured, start it with the following commanddocker

docker run -d --env-file $(pwd)/.env -v $(pwd)/.:/app/. idootop/mi-gpt:latest

4.2 Deployment

① Installation Dependencies

npm install mi-gpt # install dependencies

② The parameter configuration is the same as in the docke subsection above.

configure. and environment variable configuration.env

③ InitiationMiGPT an actual example

import { MiGPT } from "mi-gpt".

async function main() {
  const client = ({
    speaker: {
      userId: "987654321", // note: not a cell phone number or email address, please check under "Personal Information" - "Xiaomi ID
      password: "123456", // account password
      did: "Xiao-ai Speaker Pro", // Xiao-ai Speaker ID or name set in Mi Home
    }
  }, }); await (); }, }, }, }, }, }, }, }
  await (); }
}

main();

4.3 Utilization

After a successful launch, you can summon the AI to answer a question in one of the following ways:

  • Mr. Love, please.. For exampleMr. Love, may I ask why the earth is round?
  • Ai-chan, you xxx. For exampleAi-chan, do you like Xiaofan?
  • Ai-chan, calling xxx. For exampleAi-chan, summon the silly girl

V. Other relevant recommendations

5.1 MiGPT GUI

Create and manage MiGPT through a graphical interface that supports running multiple accounts.

Official website./

图形界面

5.2 shinedlc/mi-gpt

Support for the MiGPT branch of the camera module, allowing Xiaoxia to see and understand the real world

Project Address:/shinedlc/mi-gpt

image-20241017202114724

5.3 Access to large models

Access to big models such as Beanbag, Moonshot (Kimi), Tongyi Thousand Questions, Mass Spectrometry AI, etc.

Specific tutorial reference:/docs/apply/

接入各种大模型

That's all there is to this issue, I hope you find it helpful.

It is felt thatMiGPT How about it? Feel free to leave a comment in the comments section.

We'll see you next issue ヾ(-ω-`)o (●'◡'●)