langchainrust 0.7.2

A LangChain-inspired framework for building LLM applications in Rust. Supports OpenAI, Agents, Tools, Memory, Chains, RAG, BM25, Hybrid Retrieval, LangGraph, HyDE, Reranking, MultiQuery, and native Function Calling.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

# Check commit message for Chinese characters

# If Chinese detected, show warning but allow the commit


msg=$(cat "$1")

if echo "$msg" | grep -qP '[\x{4e00}-\x{9fff}]'; then
    echo ""

    echo "⚠️  WARNING: Your commit message contains Chinese characters!"

    echo "   For an international open-source project, please use English."

    echo ""

    echo "   Your message: $msg"

    echo ""

    echo "   To fix: git commit --amend"

    echo ""

fi