Chat Bot using openAI (with Flutter)

A new Flutter project that utilizes OpenAI API.

Credit to ngjunya for tutorial.

Install "http" Package

You may run this command:

With Dart: $ dart pub add http

With Flutter: $ flutter pub add http

OR

You may manually add a line to your package's pubspec.yaml :

dependencies:
    http: ^0.13.5

Getting Started

You will need to sign up for an account to get an API key to use openAI API.

Go to the chat_bot_screen to add the API.

You may change the prompt through changing the variable "megaPrompt".

For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.