Home Explore Blog CI



ragit

1st chunk of `docs/commands/extract-keywords.txt`
b201b6374b148f8f846e254c4c33b77e183d9ea51989249f00000001000001e4
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] }`

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.