Skip to content

A Flutter package to integrate Chatgpt into your app with just api key needed.

License

Notifications You must be signed in to change notification settings

coderGoyal/gptbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TODO: Put a short description of the package here that helps potential users know whether this package might be useful for them. ## Features The package allows you to integrate Chatgpt with just api key needed. ### 1. Depend on it Add this to your package's `pubspec.yaml` file: ```yaml dependencies: gptbot: ^0.0.1 ``` ### 2. Install it You can install packages from the command line: with `pub`: ```bash pub get ``` with `Flutter`: ```bash flutter pub get ``` ### 3. Import it Now in your `Dart` code, you can use: ```dart import 'package:gptbot/gptbot'; ``` ## Usage `GptBot` is a widget that allows you to integrate Chatgpt with just api key needed to save time to integrate the whole method. When you want to use Chatgpt use it like: ```dart class Bot extends StatelessWidget { const Bot({super.key}); @override Widget build(BuildContext context) { return const Scaffold( body: Gpt_flutter(apiKey: APIKey.apiKey), ); } } ``` It needs three arguments - - `apiKey` – the apikey you need to get the gpt response # gptbot

About

A Flutter package to integrate Chatgpt into your app with just api key needed.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages