lc-shared 0.19.0

Shared types for langchainrust workspace — breaks circular dependencies
Documentation

Shared types for the langchainrust workspace.

This crate contains types that are needed by multiple sub-crates, breaking circular dependencies:

  • Tool types (ToolCall, FunctionCall, ToolCallResult): needed by both lc-schema (Message uses ToolCall) and lc-core (tool definitions).

  • Document types (Document, VectorDocument, SearchResult, ChunkDocument): needed by both lc-vector-stores and lc-rag.

  • Splitter types (TextSplitter, RecursiveCharacterSplitter): needed by both lc-vector-stores and lc-rag.