langchain_anthropic 0.2.0+1 copy "langchain_anthropic: ^0.2.0+1" to clipboard
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
copied to clipboard

With Flutter:

 $ flutter pub add langchain_anthropic
copied to clipboard

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
copied to clipboard

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';
copied to clipboard
1
likes
160
points
28
downloads

Publisher

verified publisherlangchaindart.dev

Weekly Downloads

2024.09.13 - 2025.03.28

Anthropic module for LangChain.dart (Claude 3.5 Sonnet, Opus, Haiku, Instant, etc.).

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#ai #nlp #llms #langchain

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

anthropic_sdk_dart, collection, http, langchain_core, langchain_tiktoken, meta, rxdart

More

Packages that depend on langchain_anthropic