Home Explore Blog CI



ragit

docs/commands/build.txt
3f44760874a5055ed07c7feabe3bc9ece608182cc2696ecf000000030000024c
rag-build(1)
==========

NAME
----
rag-build - Build knowledge-base from staged files

SYNOPSIS
--------
[verse]
'rag build' [--jobs <n=8>] [--quiet | -q]

DESCRIPTION
-----------
Run `rag help chunks` to read documents on chunks and files.

This command reads files in the staging area and process them. Once it's
processed, you can ask queries on them.

It might take long time to build because LLMs have to read each file and create
index. This command regularly flushes the result (you can see that in the
dashboard), and when you terminate the process, the flushed results are safe.

Chunks
d9ce4fd3 (1st chunk of `docs/commands/build.txt`)
Title: rag-build Command
Summary
The rag-build command builds a knowledge-base from staged files, processing them to enable querying, and regularly flushes results to ensure data safety. It may take a long time to complete due to the need for Large Language Models (LLMs) to read and index each file, but the command provides regular progress updates and preserves flushed results in case of termination.