Home Explore Blog CI



ragit

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

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

SYNOPSIS
--------
[verse]
'rag push' [--remote=<remote url>] [--[no-]configs] [--[no-]prompts] [--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 ragit-server 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.

Chunks
b0e69fe7 (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 specify the remote URL, include or exclude configurations and prompts, and set API key for private knowledge-bases.