Skip to content

sundaramkumar/aichatbot

Repository files navigation

aichatbot

An AI Chatbot using gemini API.

Overview

aichatbot is a conversational AI chatbot that utilizes the Gemini API to provide users with a unique and interactive experience. This chatbot is designed to engage users in a natural-sounding conversation, using context and understanding to respond to user input.

Features

  • Conversational Interface: Engage in a conversation with the chatbot, using natural language to ask questions, share thoughts, and receive responses.
  • Gemini API Integration: Leverage the power of the Gemini API to provide accurate and informative responses to user queries.
  • Contextual Understanding: The chatbot uses context to understand the conversation flow and provide relevant responses.

Getting Started

Follow these steps to build and run the aichatbot app on your local machine:

Prerequisites

  1. Flutter SDK: Ensure you have Flutter installed. You can download it from the official Flutter website.
  2. Dart SDK: Dart is included with Flutter, so no separate installation is needed.
  3. Android Studio: For Android development, install Android Studio.
  4. Xcode: For iOS development, install Xcode from the Mac App Store.
  5. VS Code: (Optional) Install Visual Studio Code for a lightweight code editor.

Installation

  1. Clone the repository:

    git clone https://github.com/sundaramkumar/aichatbot.git
    cd aichatbot
  2. Install dependencies:

    flutter pub get

Running the App

Register for Gemini API and get your API and replace it in the main.dart file

On Android

  1. Start an Android emulator or connect an Android device.
  2. Run the app:
    flutter run

On iOS

  1. Open the iOS project in Xcode:
    open ios/Runner.xcworkspace
  2. Select a simulator or connect an iOS device.
  3. Run the app:
    • In Xcode, click the play button or run:
    flutter run

Building for Production

Android

  1. Build the APK:

    flutter build apk --release
  2. The APK will be located in build/app/outputs/flutter-apk/app-release.apk.

iOS

  1. Build the iOS app:

    flutter build ios --release
  2. The build will be located in build/ios/iphoneos/.

Additional Resources

TODO

  • Login
  • scroll messages to the bottom of the page
  • provision to copy messages
  • enter to send message
  • option to save the chat as a text file / download

About

An AI Chatbot using gemini API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published