index_file
Parse, chunk, embed, and store a code file in vectors and entities to enable GraphRAG search. Returns a job_id for tracking; set force=true to re-index unchanged files.
Instructions
Index a single code file. Parses with tree-sitter, chunks with chonkie, embeds via TEI, and stores vectors in Milvus + entities in Neo4j. Returns immediately with a job_id; poll get_index_job to track progress. Set force=true to re-index even if this file is already indexed and unchanged (otherwise the call no-ops to the prior job).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| file_path | Yes |