initialize
Prepares the semantic code search system by loading the embedding model and building or updating the code index. Use force_reindex to rebuild the entire index.
Instructions
Initialize or re-initialize the semantic code search system.
Loads the embedding model and builds or updates the code index. Use force_reindex=True to rebuild the entire index.
Progress will be reported during indexing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force_reindex | No | Force full reindex even if files haven't changed |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | ||
| status | Yes | ||
| total_chunks | Yes | ||
| files_indexed | Yes |