ComfyUI Node
Keyword Index Builder (no embedding model)
Builds a hashed bag-of-words keyword index from the asset descriptors you supply. It uses no embedding model and does not scan any folder.
Keyword Index Builder (no embedding model)
- keyword_index
- index_stats
◄folder_path►
◄index_namemy_index►
◄assets_json[]►
CategoryParametric/Prompts
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| folder_path | STRING | Folder path. | |
| index_name | STRING | my_index | Index name. Default my_index. |
| assets_json | STRING | [] | JSON list of asset descriptors: [{"name":"a.png","path":"/a.png","kind":"image","text":"red car"}] |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| keyword_index | KEYWORD_INDEX | — |
| index_stats | STRING | — |