diff options
| author | sigoden <sigoden@gmail.com> | 2025-01-04 18:13:57 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-04 18:13:57 +0800 |
| commit | bb648d68845e0755edb03570237039433a752463 (patch) | |
| tree | d6797c0b511a2b19f9b37d646c503e2001061264 /src/cli.rs | |
| parent | 1a07be70b91a06e1e966221816a640e8284fef23 (diff) | |
| download | aichat-bb648d68845e0755edb03570237039433a752463.tar.gz | |
feat: add cli option `--rebuild-rag` (#1074)
Diffstat (limited to 'src/cli.rs')
| -rw-r--r-- | src/cli.rs | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -30,6 +30,9 @@ pub struct Cli { /// Start a RAG #[clap(long)] pub rag: Option<String>, + /// 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<Option<String>>, |
