| Crates.io | ragx |
| lib.rs | ragx |
| version | 0.3.0 |
| created_at | 2024-12-29 04:55:30.983084+00 |
| updated_at | 2024-12-30 16:12:24.053447+00 |
| description | AI RAG |
| homepage | https://github.com/ai-flowx/ragx |
| repository | https://github.com/ai-flowx/ragx |
| max_upload_size | |
| id | 1497983 |
| size | 41,502 |
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: walkdir
parser: tree-sitter (static), tokenizers & rust-bert (llm)
builder: tree-sitter-graph
store: vecx
api: axum
id: node id
name: node name
type: node type (class, file, function, variable)
filePath: file path
language: programming language
fullName: full name
lineNumber: line number
description: description generated by llm
contain: hierarchical relationships
extend: inheritance or interface implementation
depend: file/function/module/type dependency
call: function calling
Project License can be found here.