Home Explore Blog CI



ragit

docs/commands/extract-keywords.txt
68e73e999c43a263d089f83527a10a778c1aadbd1fb5efb100000003000001e4
rag-extract-keywords(1)
==========

NAME
----
rag-extract-keywords - Show content of a file or a chunk

SYNOPSIS
--------
[verse]
'rag extract-keywords' [--full-schema] [--json | -j] <query>

DESCRIPTION
-----------
Run `rag help pipeline` to see documents on the pipeline.

It allows you to run step 2 of the pipeline.

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

- no flag: `[keyword: string]`
- `full-schema`: `{ "keywords": [string], "extra": [string] }`

Chunks
b201b637 (1st chunk of `docs/commands/extract-keywords.txt`)
Title: Rag Extract Keywords Command
Summary
The rag-extract-keywords command is used to show the content of a file or chunk, allowing users to run step 2 of the pipeline and output results in JSON format if desired. It provides options such as --full-schema and --json to customize the output, with the JSON output schema varying depending on the flags used, including a basic keyword list or a more detailed schema with keywords and extra information.