onto_search
Perform semantic search over an ontology using natural language queries to find classes by text meaning, structural position, or both.
Instructions
Semantic search over the loaded ontology using natural language. Returns the most similar classes by text meaning, structural position, or both. Requires onto_embed to have been run first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alpha | No | Weight for text vs structure in product mode (0.0-1.0). Default: 0.5 | |
| mode | No | Search mode: "text", "structure", or "product". Default: "product" | |
| query | Yes | Natural language query | |
| top_k | No | Number of results. Default: 10 |