Home Explore Blog CI



ragit

1st chunk of `docs/commands/status.txt`
c1e3890080c60a9fc99b4627d41e9a33a60667e49a0fb19200000001000001dd
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
}
```

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.