Skip to content

Flutter application for a chat bot like chat GPT using the Gemini Generative AI model. It allows users to send messages, and the app responds with generated content from the Gemini Generative AI model.

Notifications You must be signed in to change notification settings

ashiqu-ali/gemini-chatbot

Repository files navigation

Gemini Chat App

Gemini Chat App is a simple Flutter application that demonstrates a chat interface powered by the Gemini Generative AI model. Users can interact by entering prompts, and the app responds with AI-generated content.

Features

  • Chat Interface: Users can send prompts in a chat-like interface.
  • Generative AI Model: Utilizes the Gemini Generative AI model to generate responses to user prompts.

Getting Started

To run the app locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/ashiqu-ali/gemini-chatbot.git
  2. Install Dependencies

    flutter pub get
  3. Run the app

    flutter run

Dependencies

  • flutter/material.dart: Flutter framework for building the UI.
  • google_generative_ai: Dependency for interacting with the Gemini Generative AI model.
  • intl: Internationalization and localization package for formatting dates.

Configuration

Before running the app, make sure to replace the placeholder API key in lib/pages/chat_screen.dart with a valid Gemini Generative AI API key.

  1. Visit Gemini Generative AI and sign up for an account.
  2. Obtain your API key from the Gemini Generative AI dashboard.
  3. Replace the placeholder API key in lib/pages/chat_screen.dart with your actual API key.
static const apiKey = "YOUR_API_KEY";

About

Flutter application for a chat bot like chat GPT using the Gemini Generative AI model. It allows users to send messages, and the app responds with generated content from the Gemini Generative AI model.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published