lc-core 0.13.0

Core abstractions for langchainrust — Runnable, BaseTool, BaseChatModel, etc.
Documentation

Core abstractions for LangChainRust.

This crate provides the foundational traits and types:

  • Runnable: Base execution interface
  • BaseLanguageModel: LLM abstraction
  • BaseChatModel: Chat model interface
  • BaseTool, Tool: Tool abstraction
  • RunnableConfig: Execution configuration with callbacks
  • Output parsers, structured output, caching, token counting, batch API