From bb648d68845e0755edb03570237039433a752463 Mon Sep 17 00:00:00 2001 From: sigoden Date: Sat, 4 Jan 2025 18:13:57 +0800 Subject: feat: add cli option `--rebuild-rag` (#1074) --- src/cli.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/cli.rs') diff --git a/src/cli.rs b/src/cli.rs index 2de6113..18bc442 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -30,6 +30,9 @@ pub struct Cli { /// Start a RAG #[clap(long)] pub rag: Option, + /// Rebuild the RAG to sync document changes + #[clap(long)] + pub rebuild_rag: bool, /// Serve the LLM API and WebAPP #[clap(long, value_name = "ADDRESS")] pub serve: Option>, -- cgit v1.2.3