Home Explore Blog CI



ragit

docs/commands/status.txt
5e2a6fdd60c40158704742f8578cd8f4beba950e23d3ef9300000003000001dd
rag-status(1)
==========

NAME
----
rag-status - Show the knowledge-base status

SYNOPSIS
--------
[verse]
'rag status' [--json | -j]

DESCRIPTION
-----------
Displays the overall status of the knowledge-base.

If `--json` is set, it dumps a valid json to stdout. Its schema is,

```
{
    "staged files": [string],
    "processed files": [string],
    "chunks": integer,
    "inverted index": string,  # none | clean | dirty
    "build status": string,  # clean | dirty
}
```

Chunks
c1e38900 (1st chunk of `docs/commands/status.txt`)
Title: Rag-Status Command
Summary
The rag-status command displays the overall status of the knowledge-base, with optional output in JSON format, providing details on staged files, processed files, chunks, inverted index, and build status, allowing users to assess the current state of their knowledge-base.