langchain_anthropic 0.2.1 copy "langchain_anthropic: ^0.2.1" to clipboard
langchain_anthropic: ^0.2.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.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';
3
likes
160
points
230
downloads

Publisher

verified publisherlangchaindart.dev

Weekly Downloads

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

Funding

Consider supporting this project:

github.com

License

MIT (license)

Dependencies

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

More

Packages that depend on langchain_anthropic