Home Explore Blog Models CI



ragit

docs/commands/pull.txt
f13f469c3d2fcb8102f2dc0b1376088d4c198c83c86cda7500000003000003be
rag-pull(1)
==========

NAME
----
rag-pull - Pull updates from remote

SYNOPSIS
--------
[verse]
'rag pull' [--[no-]configs] [--[no-]prompts] [--quiet | -q] [--[no-]ii]

DESCRIPTION
-----------
By default, it does not pull configs and prompts. You have to use
`--configs` and `--prompts` flags to pull them. If there's no configs
or prompts in the remote, `--configs` and `--prompts` flags do nothing.

Ragit is not a version control system, it's a knowledge-base management system.
Unlike `git pull`, you cannot undo `rag pull`. Once it's pulled, the original
knowledge-base is overwritten with the new one and you cannot revert that.

It only writes to `.ragit/`. It does not touch the raw data files.

If the knowledge-base is private, you need an api key to pull. You have to set
`RAGIT_API_KEY` environment variable.

By default, it creates an inverted index after pulling the knowledge-base. If
you want to disable that, you can give `--no-ii` option.

Chunks
736d25f0 (1st chunk of `docs/commands/pull.txt`)
Title: Rag-Pull Command
Summary
The rag-pull command updates the local knowledge-base from a remote source, with options to include configurations, prompts, and inverted index creation, while requiring an API key for private knowledge-bases.