Skip to content

adebayoAdesina/Flutter_chatGPT

Repository files navigation

ChatGPT

A new Flutter project.

Getting Started

In the lib folder create a folder and name it api, in the api folder create a dart file and name it api.dart

i.e

  lib/api/api.dart

In the api.dart
set


String BASE_URL = 'https://api.openai.com/v1';

String BASE_API = 'YOUR API KEY';


Visit OpenAI to generate API KEY

Screen Shots