onto_search
Retrieve ontology classes semantically similar to a natural language query, using text meaning, structural position, or both. Requires precomputed embeddings for accurate results.
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 |
|---|---|---|---|
| mode | No | Search mode: "text", "structure", or "product". Default: "product" | |
| alpha | No | Weight for text vs structure in product mode (0.0-1.0). Default: 0.5 | |
| query | Yes | Natural language query | |
| top_k | No | Number of results. Default: 10 |