tom_llm 0.1.1
tom_llm: ^0.1.1 copied to clipboard
The one LLM provider contract for Tom applications — a request, a provider that runs it as a typed event stream, capabilities and availability — with the run trail it streams: the event model, session [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add tom_llmWith Flutter:
$ flutter pub add tom_llmThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
tom_llm: ^0.1.1Alternatively, 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:tom_llm/tom_llm.dart';