ragx is the ai rag of flowx written in Rust.
- Rust >= 1.83.0
./ragx --config-file="config.yml" --listen-port=":8080" --repo-path="git:path/to/repo"Usage: ragx --config-file <FILE> --listen-port <PORT> --repo-path <PATH>
Options:
-c, --config-file <FILE> Config file [default: config.yml]
-l, --listen-port <PORT> Listen port [default: :8080]
-r, --repo-path <PATH> Repo path (upstream:path/to/repo, upstream:gerrit|git|github|gitlab) [default: git:.]
-h, --help Print help
-V, --version Print version
ragx parameters can be set in the directory config.
An example of configuration in config.yml:
collector: walkdirparser: tree-sitter (static), tokenizers & rust-bert (llm)optimizer: moka (cache), tokio (parallel)builder: tree-sitter-graphstore: vecxapi: axum
id: node idname: node nametype: node type (class, file, function, variable)filePath: file pathlanguage: programming languagefullName: full namelineNumber: line numberdescription: description generated by llm
contain: hierarchical relationshipsextend: inheritance or interface implementationdepend: file/function/module/type dependencycall: function calling
Project License can be found here.
