klea-rag

Interactive RAG query client.

                                                                      
 Usage: klea-rag [OPTIONS] COMMAND [ARGS]...                          
                                                                      
 Simple KLEA RAG user client                                          
                                                                      
╭─ Options ──────────────────────────────────────────────────────────╮
│ --install-completion          Install completion for the current   │
│                               shell.                               │
│ --show-completion             Show completion for the current      │
│                               shell, to copy it or customize the   │
│                               installation.                        │
│ --help                        Show this message and exit.          │
╰────────────────────────────────────────────────────────────────────╯
╭─ Commands ─────────────────────────────────────────────────────────╮
│ cli  Klea RAG cli client                                           │
│ web  Klea RAG web client (NiceGUI)                                 │
╰────────────────────────────────────────────────────────────────────╯
                                                                      
 Usage: klea-rag cli [OPTIONS]                                        
                                                                      
 Klea RAG cli client                                                  
                                                                      
╭─ Options ──────────────────────────────────────────────────────────╮
│ --server        -s      TEXT  KLEA RAG server (URL:port)           │
│                               [default: http://127.0.0.1:8005]     │
│ --title         -t      TEXT  Title for application                │
│                               [default: KLEA RAG]                  │
│ --single-query  -q      TEXT  Single query mode: answer a query    │
│                               and exit                             │
│ --help                        Show this message and exit.          │
╰────────────────────────────────────────────────────────────────────╯
                                                                      
 Usage: klea-rag web [OPTIONS]                                        
                                                                      
 Klea RAG web client (NiceGUI)                                        
                                                                      
╭─ Options ──────────────────────────────────────────────────────────╮
│ --server          -s      TEXT  KLEA RAG server (URL:port)         │
│                                 [default: http://127.0.0.1:8005]   │
│ --title           -t      TEXT  Title for application              │
│                                 [default: KLEA RAG]                │
│ --subtitle        -b      TEXT  Subtitle shown next to title in    │
│                                 header                             │
│ --disclaimer      -c      TEXT  Disclaimer text shown below the    │
│                                 chat area                          │
│                                 [default: Answers use LLM          │
│                                 technology and may be incorrect.   │
│                                 Please re-confirm.]                │
│ --footer                  TEXT  Footer HTML content                │
│                                 [default: Powered by <a            │
│                                 href="https://github.com/neuroml/… │
│ --nicegui-url             TEXT  Host:port to bind the NiceGUI web  │
│                                 server to                          │
│                                 [default: 0.0.0.0:7860]            │
│ --storage-secret          TEXT  NiceGUI storage secret for session │
│                                 persistence                        │
│                                 [default:                          │
│                                 klea-nicegui-secret-change-me]     │
│ --debug           -d            Enable auto-reload on file changes │
│ --help                          Show this message and exit.        │
╰────────────────────────────────────────────────────────────────────╯

Environment variables

KLEA_RAG_ENV_FILE

Path to environment file (default: rag.env).