noc_llm_dart 1.0.0
noc_llm_dart: ^1.0.0 copied to clipboard
Lightweight, asynchronous Dart & Flutter library to interact with LLMs from Cloud (OpenAI, Gemini, Groq, Sumopod) and Local APIs (LM Studio, Ollama). Features SSE streaming, auto-provider detection, a [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add noc_llm_dartWith Flutter:
$ flutter pub add noc_llm_dartThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
noc_llm_dart: ^1.0.0Alternatively, 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:noc_llm_dart/noc_llm_dart.dart';