voice_gpt 1.0.0+3 voice_gpt: ^1.0.0+3 copied to clipboard
This package provides a chatbot implementation that utilizes the power of the GPT (Generative Pre-trained Transformer) model to generate responses to user input. The chatbot supports both text and voi [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add voice_gpt
With Flutter:
$ flutter pub add voice_gpt
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
voice_gpt: ^1.0.0+3
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:voice_gpt/common/language.dart';
import 'package:voice_gpt/components/chat_page.dart';
import 'package:voice_gpt/components/custom_chat_bubble.dart';
import 'package:voice_gpt/components/dialog.dart';
import 'package:voice_gpt/components/settings_drawer.dart';
import 'package:voice_gpt/configs/chat_gpt/chat_interfaces.dart';
import 'package:voice_gpt/configs/chat_gpt/client.dart';
import 'package:voice_gpt/main.dart';