Home Explore Blog CI



ragit

1st chunk of `docs/commands/push.txt`
b0e69fe7b2582193635067dcaa889b235943691ce06300ab0000000100000347
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.

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.