[Arduino Library] OpenAI's API for ChatGPT

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 มิ.ย. 2024
  • "Connecting ChatGPT in an Arduino environment is a significant accomplishment that can open up a range of possibilities for implementing conversational AI in various applications.
    The ChatGPT Client library likely includes a set of functions and tools that enable communication between the ChatGPT model and the Arduino board.
    It may include functions to initialize and configure the communication channels, load the ChatGPT model onto the Arduino board, and interact with the model using input from sensors or other external devices.
    The integration of ChatGPT with Arduino can have many practical applications, including smart home devices, robotics, and interactive installations. For example, an Arduino-powered chatbot could provide voice-activated control for a smart home or provide natural language communication between a robot and humans.
    Overall, The ChatGPT Client library represents an important step in bringing sophisticated AI capabilities to the Arduino platform and enabling new and innovative applications." by ChatGPT
    *Timestamps
    0:00 - ChatGPT Client For Arduino
    0:33 - Open AI (Pricing, API KEY)
    1:41 - Library Install
    2:37 - Ready To Go
    4:25 - ChatGPT with MCU (Use Case [1] - More Additional Info)
    5:57 - ChatGPT with MCU (Use Case [2] - Data Analysis)
    6:41 - ChatGPT with MCU (Use Case [3] - Direct Use)
    [ChatGPT Client For Arduino]
    github.com/0015/ChatGPT_Clien...
    [OpenAI]
    platform.openai.com/
    #ChatGPT #OpenAI #Arduino #ESP32 #ThatProject
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 28

  • @ThatProject
    @ThatProject  ปีที่แล้ว +3

    Check More Projects - youtube.com/@ThatProject
    Github Repository - github.com/0015/
    Join FB Group - facebook.com/groups/138965931539175

  • @neofuturist
    @neofuturist ปีที่แล้ว +3

    I know I'm repeating myself, but I can not understand why you do not have more followers, you deserve it!!

  • @danielsampaio4343
    @danielsampaio4343 ปีที่แล้ว +2

    Amazing job, i have made one lib by myself too!! excellent work

  • @surflaweb
    @surflaweb ปีที่แล้ว +3

    Amazing project at the of the video.

  • @electronia92
    @electronia92 ปีที่แล้ว

    nice project..👍

  • @EasyOne
    @EasyOne ปีที่แล้ว

    wow!

  • @anlpereira
    @anlpereira ปีที่แล้ว +1

    I'm waiting for the moment you use this library to send from an esp-cam an image to chatgpt asking information about it. It will be the general AI and you don't need very expensive hardware.

    • @ThatProject
      @ThatProject  ปีที่แล้ว

      Totally agree with you! Certainly, I think it will be possible in the near future. It will enable more projects on low-performance MCUs. That's why I'm making and preparing this library.

  • @thymovie
    @thymovie ปีที่แล้ว

    Can the program's prompts be customized, or are they fixed? Additionally, is it possible to receive input from the serial port window? Please let me know. Thank you very much.

    • @ThatProject
      @ThatProject  ปีที่แล้ว

      Like what you use at chat.openai.com/chat, you can ask what you want. After WiFi is connected, you can receive input from the serial port window and then toss it into the API.

  • @premharshan7883
    @premharshan7883 ปีที่แล้ว

    The exact project which i searching for the couple of day back and now i found it, thank you bro , can you try to create a real time chat bot with this chatgpt with speaker like alexa and siri..

    • @ThatProject
      @ThatProject  ปีที่แล้ว

      I think it's possible if we add some features one by one. haha

  • @lileo2811
    @lileo2811 11 หลายเดือนก่อน

    is there any example for arduino uno r4 wifi?

    • @ThatProject
      @ThatProject  11 หลายเดือนก่อน

      Working on it. github.com/0015/ChatGPT_Client_For_Arduino/issues/6

  • @WalidsTech
    @WalidsTech ปีที่แล้ว

    Hi there! I wanted to make something similar to the ESP32 Berry for my school's final test, but I'm adding something more. Can you tell me where's the source code of this version with ChatGPT inclused? Please I don't have much time left and I need to buy the necessary parts. Thanks

    • @ThatProject
      @ThatProject  ปีที่แล้ว +1

      Unfortunately, it's not finished yet. You have to implement it yourself with LVGL and ChatGPT Client library. It will be shared in another project.

    • @WalidsTech
      @WalidsTech ปีที่แล้ว

      @@ThatProject It won't be that much easy, especially for a 14 years old boy like me who's still discovering the programming world, but I'll try. Did you put some libraries or something in the SD card? Because the ESP32's flash memory isn't enough. I'm talking about the first case of the video

    • @ThatProject
      @ThatProject  ปีที่แล้ว

      @@WalidsTech I made it to read and write text files from SD card. You don't have to worry about it at all.

  • @SA-oj3bo
    @SA-oj3bo ปีที่แล้ว

    Hi, can u please design a solution with esp32 i2s microphone, stt api , chatgpt api and i2s speaker? if we can talk with chatgpt it would be more fun...thx

  • @abandsdx
    @abandsdx ปีที่แล้ว

    this sample looks like not works with nodemcu esp12

    • @ThatProject
      @ThatProject  ปีที่แล้ว +1

      I updated this library to support ESP8266. Check it out with the new version, 0.1.1 (It takes time to get it via Library Manager though).

    • @abandsdx
      @abandsdx ปีที่แล้ว

      @@ThatProject it's works~thank you

  • @fsowner
    @fsowner 2 หลายเดือนก่อน

    Is this still working, it's not working for me..

    • @ThatProject
      @ThatProject  2 หลายเดือนก่อน +1

      Which MCU are you using?

    • @fsowner
      @fsowner 2 หลายเดือนก่อน

      ESP8226 on a mega2560, I read later in the GitHub issues that it could be a memory problem? With the full message I get x lines of json header before it starts giving a blank line. Do you think there is a way to write it immediately to the mega2560, would it overcome the problem?

    • @ThatProject
      @ThatProject  2 หลายเดือนก่อน

      @@fsowner This is definitely an issue due to insufficient memory. Because the String value of the result obtained from OpenAI's API is too long, it is cut off in the middle if memory is insufficient. Is it the same if you use the full_message function? The use of Arduino JSON parser requires more memory usage, so the full_message function may be good which is not using ArduinoJSON.

    • @fsowner
      @fsowner 2 หลายเดือนก่อน

      @@ThatProject Yes i am using the full_message function, you get a random number of lines of the header before it stops printing anything sadly. Do you think there is any solution? It should work on for example an ESP32?

    • @ThatProject
      @ThatProject  2 หลายเดือนก่อน +1

      @@fsowner It works well on ESP32. There is no special solution as of now. sorry.