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