in , ,

Creating a ChatGPT client with the Arduino GIGA R1 WiFi and GIGA R1 Display Shield

- Werbung -
Reading Time: 2 minutes

ChatGPT is certainly the best-known large language model (LLM) available today and it has a lot to offer. But you can’t run it locally and instead you must use OpenAI’s online service to access its functionality. That doesn’t, however, mean that you’re out of luck if you want to use ChatGPT on your own DIY devices. As Shakhizat Nurgaliyev shows, you can build your own ChatGPT client powered by Arduino.

Because ChatGPT isn’t available offline, the ArduinoGPT project takes advantage of OpenAI’s API. That lets you access ChatGPT through your sketches if your development board has a network adapter. In this case, Nurgaliyev used an Arduino GIGA R1 WiFi. That can reach the OpenAI API through a wireless network in order to send prompts to ChatGPT and receive responses.

- Werbung -
- Werbung -

The Arduino GIGA R1 WiFi is also ideal because it possesses a very unique feature: a USB-A port and the ability to act as a USB host. That lets the user connect a standard USB keyboard and type prompts without any other hardware.

Nurgaliyev paired that board with a new Arduino GIGA Display Shield, which provides 3.97″ of LCD touchscreen at a resolution of 480×800. That includes additional hardware, like a microphone and inertial measurement unit (IMU), but they aren’t necessary for this project.

The ArduinoGPT sketch connects to the user’s Wi-Fi network, then lets the user type in a prompt. It sends that prompt to ChatGPT through the OpenAI API and waits for a response. The user can choose to receive the entire response as a single block of text, or as a stream of several blocks sent as ChatGPT generates them.

- Werbung -

Hier klicken, um den Inhalt von YouTube anzuzeigen.  
Erfahre mehr in der Datenschutzerklärung von YouTube.

<\/div> <\/figure> <p>While it would be nice to have the ability to run ChatGPT offline, this may be the next best thing. <\/p> <p>The post <a rel="nofollow" href="https:\/\/blog.arduino.cc\/2023\/12\/04\/creating-a-chatgpt-client-with-the-arduino-giga-r1-wifi-and-giga-r1-display-shield\/">\"}';
Creating a ChatGPT client with the Arduino GIGA R1 WiFi and GIGA R1 Display Shield appeared first on Arduino Blog.

Website: LINK

- Werbung -

Report

- Werbung -