build_semantic_index
Builds or updates a vector index of SIP news for semantic search. Embeds recent articles to enable relevance-based retrieval.
Instructions
Build or update the local vector index that powers semantic_search.
Pages through the most recent SIP news, embeds each item (title + summary)
via OpenRouter, and stores the vectors in a local ChromaDB collection. Safe
to run repeatedly: by default it only embeds items not already indexed. Run
it once before using semantic_search, and again periodically to pick up new
news. This call fetches from SIP and the embedding API, so it can take a
little while for large `max_items`.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | Interface language to pull news from: de, fr or en. | de |
| max_items | No | How many recent items to (re)index (1-2000). | |
| refresh | No | Re-embed items already in the index instead of skipping them. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||