get_related_sections
Retrieve related documentation sections using structural neighbors (siblings, children, parent, cousins) and semantic cosine similarity (top-N scores). Pick structural, semantic, or both modes.
Instructions
v2.0+ related-section graph. Returns structural neighbors (siblings, children, parent, optional cousins) and semantic neighbors (top-N cosine over stored embeddings, score >= min_score). mode: structural | semantic | both.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | both | |
| repo | Yes | ||
| top_n | No | ||
| min_score | No | ||
| section_id | Yes | ||
| max_per_kind | No |