Files
stack/docs/docs/cli/llm-stamp-themes.md
kert a790b74179
Some checks failed
CI / lint (push) Successful in 54s
CI / notebooks-smoke (push) Successful in 2m21s
Deploy / changes (push) Successful in 19s
CI / test (push) Failing after 4m46s
Infra CI / notebooks (push) Successful in 1m7s
Infra CI / zotero (push) Successful in 29s
Infra CI / api (push) Successful in 22s
Infra CI / bcda (push) Successful in 21s
Infra CI / llm (push) Successful in 17s
Infra CI / docs (push) Successful in 1m32s
Deploy / notebooks (push) Has been skipped
Deploy / zotero (push) Has been skipped
Infra CI / mc (push) Successful in 19s
Deploy / docs (push) Successful in 50s
Deploy / api (push) Successful in 1m40s
Deploy / bcda (push) Successful in 1m59s
Deploy / mc (push) Has been skipped
Deploy / llm (push) Successful in 1m11s
Deploy / report (push) Successful in 16s
test(pfs,llm): home-visit dossier golden (fixture + live) and chat golden entry; CLI docs
2026-11-13 01:44:12 -05:00

2.0 KiB

title, sidebar_position
title sidebar_position
stack llm stamp-themes 86

stack llm stamp-themes

Usage: stack llm stamp-themes [OPTIONS]                                        
                                                                                
 Categorise indexed chunks by the P35 theme vocabulary — by default the CMS     
 manual sections — with one cosine pass against the theme cards (no model       
 calls). Writes `themes` / `theme_scores` / `themes_vocab` into the chunk       
 metadata; `/search?theme=<slug>` and the chat's manual-section filters read    
 them.                                                                          
                                                                                
╭─ Options ────────────────────────────────────────────────────────────────────╮
│ --collection        <str>    comments | rules | corpus. [default: corpus]    │
│ --doctype           <str>    Only chunks of this doctype ('' = every chunk). │
│                              [default: manual]                               │
│ --key               <str>    Only this item key.                             │
│ --top               <int>    Themes kept per chunk. [default: 2]             │
│ --min-score         <float>  Cosine similarity a theme must reach.           │
│                              [default: 0.6]                                  │
│ --force                      Re-stamp chunks already on the current          │
│                              vocabulary version.                             │
│ --help                       Show this message and exit.                     │
╰──────────────────────────────────────────────────────────────────────────────╯