Hello everybody! Today, I am excited to introduce my new extension called TCBGeminiBot
This extension allows you to create a chatbot using the Gemini API with a free API key.
Simply input your API key and start sending questions to receive AI-generated responses instantly.
Current Version: 1.0 File Size: 430KB
File: TCBGeminiBot.aix (429.2 KB) Created On: 2025-03-16
TCBGeminiBot Extension Documentation
Overview
The TCBGeminiBot extension allows you to integrate the Gemini API into your MIT App Inventor projects. With this extension, you can create chatbots, AI-powered apps, and more by sending questions to the Gemini API and receiving responses.
Features
Set API Key: Securely set your Gemini API key.
Send Questions: Send questions to the Gemini API and receive responses.
Event-Driven Responses: Use the GotResponse event to handle API responses.
Retrieve Last Response: Fetch the last response from the API at any time.
Installation
Download the .aix file for the TCBGeminiBot extension.
Open your MIT App Inventor project.
Go to the Extensions section and click Import Extension.
Upload the .aix file.
The TCBGeminiBot component will appear in the Non-visible components section.
Properties
The TCBGeminiBot extension has no visible properties. It is a non-visible component.
Methods
1. SetAPIKey
Description: Sets the API key required to authenticate requests to the Gemini API.
Hello there, currently I am facing a runtime error
invoke: no method named `SendQuestion' in class java.lang.Boolean
Note: You will not see another error reported for 5 seconds.
My code is here, would you help me figure it out? Thanks!
Google recently introduced mandatory billing account setups, which may be causing errors. To resolve this, please configure your billing in AI Studio, where you can also monitor your rate limits.