langchain_core 0.3.6 copy "langchain_core: ^0.3.6" to clipboard
langchain_core: ^0.3.6 copied to clipboard

Contains core abstractions of LangChain.dart and the LangChain Expression Language (LCEL).

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add langchain_core

With Flutter:

 $ flutter pub add langchain_core

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  langchain_core: ^0.3.6

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_core/agents.dart';
import 'package:langchain_core/chains.dart';
import 'package:langchain_core/chat_history.dart';
import 'package:langchain_core/chat_models.dart';
import 'package:langchain_core/document_loaders.dart';
import 'package:langchain_core/documents.dart';
import 'package:langchain_core/embeddings.dart';
import 'package:langchain_core/exceptions.dart';
import 'package:langchain_core/langchain.dart';
import 'package:langchain_core/language_models.dart';
import 'package:langchain_core/llms.dart';
import 'package:langchain_core/memory.dart';
import 'package:langchain_core/output_parsers.dart';
import 'package:langchain_core/prompts.dart';
import 'package:langchain_core/retrievers.dart';
import 'package:langchain_core/runnables.dart';
import 'package:langchain_core/stores.dart';
import 'package:langchain_core/tools.dart';
import 'package:langchain_core/utils.dart';
import 'package:langchain_core/vector_stores.dart';
3
likes
160
pub points
75%
popularity

Publisher

verified publisherlangchaindart.dev

Contains core abstractions of LangChain.dart and the LangChain Expression Language (LCEL).

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#ai #nlp #llms #langchain

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

async, collection, cross_file, crypto, meta, rxdart

More

Packages that depend on langchain_core