Chat with ChatGPT through Arduino IoT Cloud

Are you passionate about ChatGPT and Arduino? In this project you will learn how to chat with ChatGPT using any Arduino board and Arduino IoT Cloud dashboards.

May 3, 2023

24236 views

7 respects

GPL3+

Components and supplies

1

Arduino Nano RP2040 Connect

Apps and platforms

1

Arduino IoT Cloud Remote

1

Arduino IoT Cloud

Project description

Code

ChatGPT-arduino-cloud project in Github

ChatGPT-arduino-cloud project in Github

Comments

Only logged in users can leave comments

caiden17

6 months ago

I get this error in my chat window when I send a message: "Error 404: This is a chat model and not supported in the v1/completions endpoint. Did you mean to use v1/chat/completions?" I'm not sure how to fix this, but I changed my model to this: String OpenAImodel = "gpt-3.5-turbo"; I'm not sure if that messed it up or not but I had to remove the text and default model in the code because it said the model was not valid.

elenimotoon

a year ago

There's an error in "HttpClient httpClient = HttpClient(wifiClient, apiServer, port);" at IoT Cloud Arduino official page,what happens?,it's a mistake of me or my pc or not?,sorry i'm a newbie in this lol.

elenimotoon

a year ago

Refered at the line code.

dbeamonte_arduino

a year ago

Hey! Not sure if I understand what you mean. Do you mean an error in Arduino documentation? If so, please put the URL of the page where the error is so that it can be reviewed and fixed. Or, on the other hand, do you mean that you get a compilation error when trying this code? If so, can you please give more details about the compilation error, the board you are using, etc?