#language-model #llm #openai #ai #gpt #library #document

llmchain

A Rust framework for large language models, inspired by LangChain

4 releases

0.1.3 Sep 5, 2023
0.1.2 Jul 4, 2023
0.1.1 Jul 4, 2023
0.1.0 Jul 4, 2023

#587 in Machine learning

Apache-2.0

87KB
1.5K SLoC

llmchain: Modern Data Transformations with LLM

🦀 + Large Language Models, inspired by LangChain.

Features

  • Models: LLMs & Chat Models & Embedding Models

  • Prompts: LLMs & Chat Prompt Templates

  • Indexes: Documents Loaders & Text Splitters & Vector Store & Retrievers

    • Documents Loaders: MarkdownLoader/DirectoryLoader/TextLoader/GithubPullRequestLoader
    • Documents Splitters: MarkdownSplitter, TextSplitter
    • Vector Store: DatabendCloud
  • Chains: Seamlessly combines multiple actions to create unified, coherent AI services

Examples

Please see examples.

Who is using llmchain?

  • AskBend: Leveraging Databend Cloud for Advanced AI Services

Dependencies

~74MB
~1.5M SLoC