/chat_with_gpt

a simple flutter app to chat with GPT.

Primary LanguageC++

Chat with GPT

This project is a chat application built with Flutter and integrated with OpenAI's GPT API. It allows users to have conversations with an AI-powered chatbot, providing a unique and engaging experience.

Features

  • Real-time chatting interface.
  • Integration with OpenAI GPT for AI-powered responses.
  • Responsive UI for both Android and iOS devices.

Getting Started

To get started with this project, clone the repository and follow the setup instructions.

Prerequisites

  • Flutter SDK
  • Dart SDK
  • An active OpenAI API key

Installation

  1. Clone the Repository :
bashCopy code
git clone https://github.com/SiaFahim/chat_with_gpt.git
  1. Navigate to the Project Directory :
bashCopy code
cd chat_with_gpt
  1. Install Dependencies :
arduinoCopy code
flutter pub get
  1. Add Your OpenAI API Key :
  • Store your OpenAI API key in a secure place.
  • The project uses flutter_secure_storage to manage API keys.
  1. Run the App :
arduinoCopy code
flutter run

Usage

The app provides a simple chat interface where users can send messages. These messages are processed by OpenAI's GPT, and the AI-generated response is displayed in the chat.

Acknowledgments

  • OpenAI team for the GPT API
  • Flutter community for the amazing resources