Semantic Graph Search
graph_searchMatches natural-language queries to semantically similar entities, even when wording differs, then optionally retrieves their graph neighbors.
Instructions
Find entities semantically similar to a natural-language query, then optionally expand via graph traversal. Uses local sentence embeddings (bge-small-en, 384-dim) — no external API. Best when the user's wording doesn't match canonical entity names (e.g. "containers" → Docker, "AI tools" → Claude Code/Anthropic SDK). Falls back to graph_query if no embeddings available.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Natural-language query (any phrasing — synonyms and paraphrases work). | |
| top_k | No | How many semantically similar entities to retrieve as seeds (default 10). | |
| min_similarity | No | Minimum cosine similarity threshold (default 0.5). | |
| entity_types | No | Restrict results to these entity types. | |
| expand | No | If true (default), also return the immediate graph neighbours of each seed. | |
| expand_min_weight | No | Min edge weight when expanding (default 0.3). |