CLI Reference¶
RSVS installs a rsvs command-line tool after pip install rsvs. The CLI provides access to all core operations without writing Python code. State is persisted to a JSON file.
Global Options¶
| Option | Default | Description |
|---|---|---|
--db PATH | ./rsvs.json | Path to the knowledge graph JSON file |
--json | false | Output in machine-readable JSON format |
Commands¶
rsvs init¶
Initialize a new knowledge graph.
rsvs ingest¶
Ingest text (literal string or file path).
rsvs ingest "Batu adalah material keras dari alam" --db my_graph.json
rsvs ingest corpus.txt --db my_graph.json
rsvs ingest-corpus¶
Ingest from the embedded Indonesian corpus.
rsvs ingest-corpus --domains geology materials --db my_graph.json
rsvs ingest-corpus --all --db my_graph.json
rsvs query¶
Query a concept in context.
rsvs similarity¶
Compute similarity between two concepts.
rsvs info¶
Inspect a concept's details.
rsvs senses¶
List all senses of a concept.
rsvs atoms¶
List all known atoms.
rsvs status¶
Show system status.
rsvs eval¶
Run quality evaluation benchmarks.
rsvs replay-events¶
Replay the incremental event stream.
rsvs serve¶
Note: This command is not yet implemented. To start the FastAPI server, use
python -m rsvs.fastapi_serverinstead. See server.md for details.