GitHub 儲存庫ayman3000/Flutter-Gemini-Chatbot

Flutter-Gemini-Chatbot

這是一個示範,說明如何將 Flutter 應用程式與 Gemini API 連接

Flutter-Gemini-Chatbot 專案封面
星標
5
分支
0
最近推送(UTC)
2024年3月22日
專案狀態
未封存

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

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.
Ayman H. Moustafa GitHub avatar
GitHub 作者

Ayman H. Moustafa ↗

Independent AI Engineer & Educator • Swift • Python • AI Agents • Creator of Kommanda, LLMProviderKit & SwiftAgentKit

語言DartHTMLSwiftKotlinObjective-C

分類

使用的依賴

依賴清單 6 項

如何選擇適合專案的儲存庫?

先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。

  1. 透過儲存庫名稱、作者或描述搜尋,再依技術分類縮小範圍。
  2. 綜合星標、分支與最近推送比較專案;星標反映社群關注,不保證品質。
  3. 使用前在 GitHub 確認 README、授權條款與 Issues。

來源與維護

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗