Skip to content

ayman3000/Flutter-Gemini-Chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flutter-Gemini Chatbot

This repository hosts the source code for a chatbot built with Flutter and powered by the Gemini API. The project demonstrates the integration of a cutting-edge AI API within a Flutter application to facilitate AI-driven conversations.

Introduction

The Flutter-Gemini Chatbot is designed to showcase the practical implementation of the Gemini API for developing conversational AI applications. This project provides a foundational framework for Flutter developers interested in incorporating AI features into their apps.

Getting Started

Follow these instructions to set up and run the Flutter-Gemini Chatbot on your local machine.

Prerequisites

Installation

  1. Clone this repository to your local machine:
    git clone https://github.com/ayman3000/Flutter-Gemini_Chatbot.git
    
  2. Navigate to the project directory:
    cd Flutter-Gemini_Chatbot
    
  3. Install the necessary Flutter packages:
    flutter pub get
    
  4. Create a .env file in the project's root directory and add your Gemini API key:
    GEMINI_API_KEY=your_gemini_api_key_here
    
    Adjust your project configuration as needed to securely load the API key.

Running the Application

To launch the app in a development environment, execute:

flutter run

How to Use

The Flutter-Gemini Chatbot serves as both a reference and a starting point for developers looking to explore the capabilities of the Gemini API or to develop their own AI-powered chat applications using Flutter.

Contributing

Your contributions are welcome! If you have suggestions for improving this project, please feel free to fork the repository and submit a pull request.

YouTube Tutorial

For a detailed guide on how to integrate Flutter with the Gemini API, check out my YouTube video: How to Integrate Flutter with Gemini API.

License

This project is licensed under the MIT License. See the LICENSE file in this repository for more information.

Acknowledgments

  • A special thank you to the Gemini API for providing the AI capabilities.
  • Appreciation to the Flutter community for continuous support and inspiration.

About

This is a demo on how to connect Flutter app with Gemini API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published