Home Explore Blog Models CI



ragit

docs/commands/push.txt
2db8fe3820754a928c367252f445a1aa3f10b050b086f7a300000003000003d3
rag-push(1)
==========

NAME
----
rag-push - Push a knowledge-base to remote

SYNOPSIS
--------
[verse]
'rag push' [--remote=<remote url>] [--[no-]configs] [--[no-]prompts]
            [--[no-]queries] [--quiet | -q]

DESCRIPTION
-----------
If the knowledge-base was created by `rag clone`, you don't have to specify
`--remote`. Otherwise, you have to use `--remote` option to tell ragit where
to push.

If you have created a new knowledge-base and want to push it, you first have
to create a knowledge-base in the server, then push the local knowledge-base
to the server. It's like creating a repository in github and push your local
repository to github. How to create a knowledge-base depends on what frontend
of ragithub you're using.

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

It uses archive format to send data to server. Run `rag help archive` to see
more information about the archives.

Chunks
e632a7c9 (1st chunk of `docs/commands/push.txt`)
Title: Rag-Push Command
Summary
The rag-push command is used to push a local knowledge-base to a remote server, with options to customize the push process, including specifying a remote URL and configuring what data to include, such as configs, prompts, and queries, with support for private knowledge-bases using an API key.