2.58.42 • Published 5 months ago

esp-ai v2.58.42

Weekly downloads
-
License
ISC
Repository
github
Last release
5 months ago

硬件接入AI最简单、最低成本的方案The simplest and lowest cost solution for any item to access AI

NPM version NPM downloads

Changelog · 中文文档 · English Docs

npm.io

language

Intro

Provides a complete AI dialogue solution for your development board, including but not limited to the IAT(ASR)+LLM+TTS integration solution for the ESP32 series development boards. It is injected into the project as a dependency without affecting existing projects.

For developing the dialogue functionality of robots, you only need to prepare the IAT(ASR), LLM, and TTS services, and leave the rest to ESP-AI.

The server-side code of this project is based on Node.js, and the hardware code is based on Arduino/IDF.

Open source is not easy, click the Star button in the upper right corner to show your support~

🖥 Website

🖥 open platform

A platform based on ESP-AI that provides end services and management services to businesses and individuals. Visit the Open Platform. It offers free ASR (Automatic Speech Recognition), TTS (Text-to-Speech), and LLM (Large Language Model) services. On this platform, you can clone a custom voice with just a 15-second audio clip.

✨ Features

  • ✔️ Customizable offline wake words with multiple built-in wake-up methods (voice, button, serial port, Tianwen ASRPro)
  • ✔️ Complete conversation chain: IAT (ASR) ➡️ LLM/RAG ➡️ TTS
  • ✔️ Fast response algorithms for TTS/LLM, designed to balance service cost while providing the quickest response time
  • ✔️ Supports conversation interruption
  • ✔️ Recognizes user commands (appliance control, singing, etc.) and can dynamically respond based on context
  • ✔️ Configurable
  • ✔️ Plugin-based, allowing integration with any LLM/TTS/IAT using plugins
  • ✔️ One-to-many relationship between service and clients, with independent configuration for each client (hardware)
  • ✔️ Connection supports authentication
  • ✔️ Full-chain streaming data interaction
  • ✔️ Developer platform offers: free services, visual configuration, etc.
  • ✔️ Client configuration webpage provided
  • ✔️ Easily handles high concurrency scenarios (requires Nginx for load balancing)
  • ✔️ Ready to use out of the box

🧐 Next Steps

  • 🤔 Improve accuracy of built-in offline wake-up (currently recommended to use Tianwen ASRPro)
  • 🤔 Online wake word generation
  • 🤔 Develop plugins in other languages (to avoid relying solely on Node.js for plugin development)

📦 Install

Server

docker run -itd -p 8088:8088 -v /esp-ai-server/index.js:/server/index.js --name esp-ai-server registry.cn-shanghai.aliyuncs.com/xiaomingio/esp-ai:1.0.0

Client

Download the dependency on the release page and burn it to the development board, see details: Client Install

🔨 Inject Soul into Your Robot with Just a Few Lines of Code

Below are the Node.js and Arduino codes you need to write if you only require dialogue functionality.

🏪 Discussion Group

QQ Discussion Group: 854445223

🎥 Case Study Video

bilibili

🤝 Contributing PRs Welcome

Let's build a better esp-ai together.

We warmly invite contributions from everyone. Feel free to share your ideas through Pull Requests or GitHub Issues.

🌍 Star geographical distribution

quote

If this project has helped your research, please cite us:

@software{ESP-AI,
    title        = {{ESP-AI}},
    author       = {小明IO},
    year         = 2024,
    journal      = {GitHub repository},
    publisher    = {GitHub},
    howpublished = {\url{https://github.com/wangzongming/esp-ai}}
}
2.58.38

5 months ago

2.58.41

5 months ago

2.58.42

5 months ago

2.58.35

6 months ago

2.58.36

6 months ago

2.58.37

6 months ago

2.56.34

6 months ago

2.55.34

6 months ago

2.48.34

6 months ago

2.46.32

6 months ago

2.42.30

7 months ago

2.42.31

7 months ago

2.41.29

7 months ago

2.41.28

7 months ago

2.41.30

7 months ago

2.41.24

7 months ago

2.41.26

7 months ago

2.41.25

7 months ago

2.41.27

7 months ago

2.40.23

7 months ago

2.35.19

8 months ago

2.35.20

8 months ago

2.35.22

8 months ago

2.35.23

8 months ago

2.33.19

9 months ago

2.21.19

9 months ago

2.29.19

9 months ago

2.30.19

9 months ago

2.28.19

9 months ago

2.20.17

9 months ago

2.20.16

9 months ago

2.1.2

11 months ago

2.1.1

11 months ago

2.1.0

12 months ago

2.0.0

12 months ago

1.18.8

1 year ago

1.18.7

1 year ago

1.15.6

1 year ago

1.15.5

1 year ago

1.13.2

1 year ago

1.14.5

1 year ago

1.14.4

1 year ago

1.14.3

1 year ago

1.13.3

1 year ago

1.6.0

1 year ago

1.4.2

1 year ago

1.4.1

1 year ago

1.4.0

1 year ago

1.0.0

1 year ago

0.0.1

1 year ago