langchain_anthropic 0.3.0+1
langchain_anthropic: ^0.3.0+1 copied to clipboard
Anthropic module for LangChain.dart (Claude 4.5 Sonnet, Opus, Haiku, Instant, etc.).
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add langchain_anthropicWith Flutter:
$ flutter pub add langchain_anthropicThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
langchain_anthropic: ^0.3.0+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:langchain_anthropic/langchain_anthropic.dart';