🦀Rust + Large Language Models - Make AI Services Freely and Easily. Inspired by LangChain

Overview

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

You might also like...
Experimental language build in Rust to make it fast and robust

Reg-lang Experimental language build with Rust. Its aim is : To be simple to help learning programmation with, and in a second hand, to be robust enou

This repo contains crates that are used to create the micro services and keep shared code in a common place.

MyEmma Helper Crates This repo contains crates that can are reused over different services. These crate are used in projects at MyEmma. But these crat

A fast, simple TUI for interacting with systemd services and their logs
A fast, simple TUI for interacting with systemd services and their logs

systemctl-tui A fast, simple TUI for interacting with systemd services and their logs. systemctl-tui can quickly browse service status and logs, and s

An ultra-fast CLI app that fixes JSON files in large codebase or folders

minosse An ultra fast CLI app that fixes json files in large codebase or folders USAGE: minosse [OPTIONS] input-dir FLAGS: -h, --help Prints

Framework for large distributed pipelines
Framework for large distributed pipelines

Rain Rain is an open-source distributed computational framework for processing of large-scale task-based pipelines. Rain aims to lower the entry barri

Tool to allow parsing large JSON files without laoding into memory
Tool to allow parsing large JSON files without laoding into memory

Tool to allow parsing large JSON files without laoding into memory. Developed in Rust with adapters in other programming langauges for easy adoption

a Rust library implementing safe, lightweight context switches, without relying on kernel services

libfringe libfringe is a library implementing safe, lightweight context switches, without relying on kernel services. It can be used in hosted environ

A small CLI tool to query ArcGIS REST API services, implemented in Rust. The server response is returned as pretty JSON.

A small CLI tool to query ArcGIS REST API services, implemented in Rust. The server response is returned as pretty JSON.

FastSSH is a TUI that allows you to quickly connect to your services by navigating through your SSH config.
FastSSH is a TUI that allows you to quickly connect to your services by navigating through your SSH config.

Connect quickly to your services 🚀 FastSSH is a TUI that allows you to quickly connect to your services by navigating through your SSH config. Instal

Comments
  • feat: make github pr better

    feat: make github pr better

    Summary

    • Improved Summary Format Added a new line to the final summary format to include a summary generated by llmchain.rs and changed the format to include the number of tokens in the summary.
    • Imported Function Imported the chat_tokens function from llmchain_common.
    • Changed Prompt Template Changed the prompt template to ask for a summarized text bullet list of all code changes in the diff grouped by file, removed unnecessary text, and changed the format of the final summary to remove the "====" separator. Added the number of tokens in the prompt and final summary to the log output.
    • Updated Prompt Guidelines Changed the prompt template to ask for a clear and concise summary of the main changes made in a pull request and added guidelines for summarizing the changes. Changed the format of the output example to include titles and descriptions for each point.
    opened by BohuTANG 1
  • chore: improve the github pr summary

    chore: improve the github pr summary

    Summary

    • Added "github_pr_summary_prompt" library
    • Includes "GithubPRSummaryPrompt" struct with methods for creating and formatting prompts
    • "create" method returns formatted prompt string
    • "variables" method returns list of variables used in prompt
    • "format" method takes in hashmap of variables and returns formatted prompt string
    • Updated Cargo.toml to include "colored" library
    • Updated "repl.rs" to print colored output
    • Improved readability with comments throughout the codebase

    Closes #issue

    opened by BohuTANG 1
  • feat: github pr loader

    feat: github pr loader

    Summary

    EXPORT GITHUB_TOKEN=<your-personal-github-token>
    EXPORT DATABEND_DSN=<your-databend-dsn>
    cargo run --bin example_github_inspect
    

    Closes #34

    opened by BohuTANG 0
Owner
Shafish Labs
LLM-Powered Big Data Analysis: Streamlined Data Embedding, Automated Exploration & Visualization for Effective Insights
Shafish Labs
auto-rust is an experimental project that aims to automatically generate Rust code with LLM (Large Language Models) during compilation, utilizing procedural macros.

Auto Rust auto-rust is an experimental project that aims to automatically generate Rust code with LLM (Large Language Models) during compilation, util

Minsky 6 May 14, 2023
A simple CLI I made while practicing rust to easily make QR codes with just one command, all in your terminal.

Welcome to rust-qrcode-cli ?? A CLI I made while practicing rust to easily make QR codes with just one command, all in your terminal. Install git clon

Dhravya Shah 2 Mar 2, 2022
A command line utility to easily make dank memes

meme-cli A command line utility to easily make dank memes. Yes, really. Installation cargo install meme-cli Alternatively, install from source using g

null 196 Dec 26, 2022
Sero is a web server that allows you to easily host your static sites without pain. The idea was inspired by surge.sh but gives you full control.

sero Lightning-fast, static web publishing with zero configuration and full control ?? Table Of Contents ?? Table Of Contents ?? Tools ❓ About The Pro

Dmitry Miasnenko 6 Nov 13, 2023
Attempt to summarize text from `stdin`, using a large language model (locally and offline), to `stdout`

summarize-cli Attempt to summarize text from stdin, using a large language model (locally and offline), to stdout. cargo build --release target/releas

null 4 Aug 23, 2023
Cloud Native Buildpack that builds an OCI image with Ollama and a large language model.

Ollama Cloud Native Buildpack This buildpack builds an OCI image with Ollama and a large language model. Configure your model by an Ollama Modelfile o

Manuel Fuchs 3 Mar 19, 2024
Slack chat bot written in Rust that allows the user to interact with a large language model.

A Slack chat bot written in Rust that allows the user to interact with a large language model. Creating an App on Slack, first steps Go to https://api

Marco Inacio 13 Nov 2, 2023
Putting a brain behind `cat`🐈‍⬛ Integrating language models in the Unix commands ecosystem through text streams.

smartcat (sc) Puts a brain behind cat! CLI interface to bring language models in the Unix ecosystem and allow power users to make the most out of llms

Emilien Fugier 28 Dec 2, 2023
A rust crate for rendering large text to the terminal using font8x8 and ratatui.

tui-big-text tui-big-text is a rust crate that renders large pixel text as a ratatui widget using the glyphs from the font8x8 crate. Installation carg

Josh McKinney 7 Sep 7, 2023
Codemod - Codemod is a tool/library to assist you with large-scale codebase refactors that can be partially automated but still require human oversight and occasional intervention

Codemod - Codemod is a tool/library to assist you with large-scale codebase refactors that can be partially automated but still require human oversight and occasional intervention. Codemod was developed at Facebook and released as open source.

Meta Archive 4k Dec 29, 2022