# Building a Voice-Controlled Chatbot with ChatGPT, ESP-BOX, and OpenAI APIs

DevFeed: [Building a Voice-Controlled Chatbot with ChatGPT, ESP-BOX, and OpenAI APIs](<https://devfeed.tech/articles/unleashing-the-power-of-openai-and-esp-box-a-guide-to-fusing-chatgpt-with-espressif-socs-13966.md>)

Original publisher: [Read original article](<https://developer.espressif.com/blog/unleashing-the-power-of-openai-and-esp-box-a-guide-to-fusing-chatgpt-with-espressif-socs/>)

Author: John Lee

Published: 2023-06-12T00:00:00Z

Content type: tutorial

Language: en

Sources: [Blog on Developer Portal](<https://devfeed.tech/sources/blog-on-developer-portal.md>)

Topics: [ChatGPT](<https://devfeed.tech/topics/chatgpt.md>), [ChatGPT API](<https://devfeed.tech/topics/chatgpt-api.md>), [Internet of things](<https://devfeed.tech/topics/iot.md>), [ESP32-S3](<https://devfeed.tech/topics/esp32-s3.md>), [OpenAI](<https://devfeed.tech/topics/openai.md>), [ESP32](<https://devfeed.tech/topics/esp32.md>), [API keys](<https://devfeed.tech/topics/api-keys.md>), [ESP-IDF](<https://devfeed.tech/topics/esp-idf.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [api](<https://devfeed.tech/tags/api.md>), [blog](<https://devfeed.tech/tags/blog.md>), [case-study](<https://devfeed.tech/tags/case-study.md>), [chatgpt](<https://devfeed.tech/tags/chatgpt.md>), [chatgpt-chatbot](<https://devfeed.tech/tags/chatgpt-chatbot.md>), [devices](<https://devfeed.tech/tags/devices.md>), [esp](<https://devfeed.tech/tags/esp.md>), [esp-idf](<https://devfeed.tech/tags/esp-idf.md>), [esp32-s3](<https://devfeed.tech/tags/esp32-s3.md>), [espressif](<https://devfeed.tech/tags/espressif.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [integration](<https://devfeed.tech/tags/integration.md>), [openai](<https://devfeed.tech/tags/openai.md>)

## AI overview

This case study explains how to build a voice-controlled chatbot using ESP-BOX and OpenAI APIs. The system receives speech commands, displays them on an ESP-BOX screen, sends them to OpenAI APIs for response generation, and plays the response through the device.

## Source excerpt

The world is witnessing a technological revolution, and OpenAI is at the forefront of this change. One of its most exciting innovations is ChatGPT -- that utilizes natural language processing to create more engaging and intuitive user experiences. The integration of OpenAI APIs with IoT devices has opened up a world of possibilities. In this article, we will explore the potential of ChatGPT with ESP-BOX, a powerful combination that can take IoT devices to the next level.