Skip to main content

langchain4d_local 0.1.0 copy "langchain4d_local: ^0.1.0" to clipboard
langchain4d_local: ^0.1.0 copied to clipboard

Local vector store implementations for LangChain4d - in-memory and file-based storage

langchain4d_local #

Local vector store implementations for LangChain4d - in-memory and file-based storage.

Features #

  • In-memory vector store for fast access
  • File-based vector store for persistence
  • JSON serialization/deserialization
  • Similarity search with scores

Usage #

import 'package:langchain4d_local/langchain4d_local.dart';

// In-memory store
final vectorStore = InMemoryVectorStore(
  embeddingModel: embeddingModel,
);

// File-based store
final fileStore = FileVectorStore(
  embeddingModel: embeddingModel,
  filePath: '/path/to/vectors.json',
);

Documentation #

See the main documentation for more information.

0
likes
130
points
22
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Local vector store implementations for LangChain4d - in-memory and file-based storage

License

MIT (license)

Dependencies

langchain4d_core

More

Packages that depend on langchain4d_local