Skip to content

ai-flowx/ragx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ragx

Actions Status License Tag

Introduction

ragx is the ai rag of flowx written in Rust.

Prerequisites

  • Rust >= 1.83.0

Run

./ragx --config-file="config.yml" --listen-port=":8080" --repo-path="git:path/to/repo"

Usage

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

Settings

ragx parameters can be set in the directory config.

An example of configuration in config.yml:

Architecture

arch

Indexing

Node

  • 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

Edge

  • contain: hierarchical relationships
  • extend: inheritance or interface implementation
  • depend: file/function/module/type dependency
  • call: function calling

License

Project License can be found here.

Reference

Cache

Framework

LangChain

Memory

RAG

Toolchains

Vector

About

ai rag

Resources

License

Stars

Watchers

Forks

Packages

No packages published