Credits: Danny Chávez and William Cáceres
This project was developed to demonstrate how Gemini AI can be used in the development of web applications and mobile applications.
For the web applications can be used by any default browser and for the mobile application, there is an APK available in the repository.
- Download the repository
- Open the main directory folder in which IDE of your choice (Visual Studio Code for example)
- From the terminal in Visual Studio Code execute the command
python main.py
- You will notice that two private IP numbers are displayed in the terminal. Click on any of them and a new window will open in your web browser.
- Enter your question or comment in the space provided. Click where it says "Ask to AI" and wait for the response from the Gemini model. As simple as that. For example, in our case we input the prompt text: When humans will live on Mars or Jupiter? and check the answer below that we got from the AI.
- Clone the repository from GitHub: Open your terminal and navigate to the directory where you want to clone the repository. Then, execute the following command to clone the GitHub repository:
git clone https://github.com/dochavez/Gemini-AI-Chatbot-Nexus.git
-
Navigate within the project: Within the main folder, there are 2 folders, navigate to Flutter-project to locate yourself within the project.
-
Get the project dependencies: Once inside the project directory, execute the following command to get the dependencies of the Flutter project:
flutter pub get
- Open it in Visual Studio Code: In the terminal, execute the command:
code .
-
Run the application: In Visual Studio Code, you can use your device to run it or the emulator.
-
Notes: You must have Flutter SDK installed, refer to the official documentation: https://flutter.dev/docs/get-started/install