slang_gpt 0.10.1 copy "slang_gpt: ^0.10.1" to clipboard
slang_gpt: ^0.10.1 copied to clipboard

Use GPT to automatically translate at compile time. A tool for slang.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add slang_gpt

With Flutter:

 $ flutter pub add slang_gpt

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  slang_gpt: ^0.10.1

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:slang_gpt/model/gpt_config.dart';
import 'package:slang_gpt/model/gpt_model.dart';
import 'package:slang_gpt/model/gpt_prompt.dart';
import 'package:slang_gpt/model/gpt_response.dart';
import 'package:slang_gpt/prompt/prompt.dart';
import 'package:slang_gpt/runner.dart';
import 'package:slang_gpt/util/locales.dart';
import 'package:slang_gpt/util/logger.dart';
import 'package:slang_gpt/util/maps.dart';
10
likes
140
pub points
80%
popularity

Publisher

verified publishertienisto.com

Use GPT to automatically translate at compile time. A tool for slang.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MIT (LICENSE)

Dependencies

collection, http, slang

More

Packages that depend on slang_gpt