vanshksingh / M5Cardputer-Chat-with-Gemini-API

M5Cardputer Chat with Gemini API: An application that uses M5Cardputer to interact with the Gemini API for generating responses based on user input. This project includes code for managing Wi-Fi connectivity, user input handling, API requests, and displaying responses on the M5Cardputer's screen.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

M5Cardputer Chat with Gemini API

IMG_4196

An application that uses M5Cardputer to interact with the Gemini API for generating responses based on user input. This project includes code for managing Wi-Fi connectivity, handling user input, making API requests, and displaying responses on the M5Cardputer's screen.

Features

  • User Input Handling: Accepts user input through the M5Cardputer keyboard.
  • API Integration: Sends queries to the Gemini API and processes the responses.
  • Display Management: Manages the display of user input and responses.
  • Wi-Fi Connectivity: Connects to the specified Wi-Fi network for API communication.
  • Configuration: Reads configuration data such as Wi-Fi credentials and API key from an SD card.

Usage

  1. Insert SD Card

  2. Follow On-screen instructions.

  3. Get API key From https://aistudio.google.com/app/apikey

  4. Type your queries using the M5Cardputer keyboard, and the application will send them to the Gemini API.

  5. The responses from the Gemini API will be displayed on the M5Cardputer screen.

In-Development

  1. Re-integrate Fastled implementation
  2. Clean code
  3. Remove Print Debug function
  4. Save Response to SD card
  5. Voice to text input
  6. Text to voice
  7. Button to switch voice modes

Create .bin

https://www.reddit.com/r/CardPuter/comments/1aoka55/finally_i_manage_to_compile_m5nemo_from_source/

Contributing

Contributions are welcome! If you'd like to contribute to this project, please fork the repository and create a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Author

About

M5Cardputer Chat with Gemini API: An application that uses M5Cardputer to interact with the Gemini API for generating responses based on user input. This project includes code for managing Wi-Fi connectivity, user input handling, API requests, and displaying responses on the M5Cardputer's screen.


Languages

Language:C 97.2%Language:Python 1.6%Language:C++ 1.2%