Home Explore Blog CI



ragit

docs/commands/clone.txt
a9bac19d19dc4e719210167244bf114bfadbdc0d1e4124450000000300000350
rag-clone(1)
==========

NAME
----
rag-clone - Clone a knowledge-base into a new directory

SYNOPSIS
--------
[verse]
'rag clone' <remote url> [<directory>] [--quiet | -q]

DESCRIPTION
-----------
Like `git clone`, it clones a knowledge-base and copies it to a newly created
directory.

You can think of 2 use cases of `rag clone`

1. Clone a complete knowledge-base and query it.
2. Clone a half-built knowledge-base and continue building it. Or, you can
   clone multiple half-built ones and merge them.

Ragit will support both use cases, but the second one is not stable yet.
Cloning a half-built base is not tested yet, and `rag merge` is still heavily
under construction.

If you're cloning a private knowledge-base, you need an api key. Ragit looks
for api key in environment variables. You have to set `RAGIT_API_KEY`
environment variable.

Chunks
bceccc85 (1st chunk of `docs/commands/clone.txt`)
Title: Rag Clone Command
Summary
The rag-clone command clones a knowledge-base into a new directory, supporting two use cases: cloning a complete knowledge-base for querying and cloning a half-built one for continuation or merger, although the latter is still under development and unstable.