whodb_platform_ontology_similar
Find rows similar to a reference row using an ontology's embeddings. Requires embeddingEnabled and a completed embedding job; backfill with whodb_platform_action reembed.
Instructions
Find rows similar to one row using the ontology's embeddings. Requires embeddingEnabled on the ontology and a completed embedding job; otherwise the platform returns an error explaining what is missing. Start a backfill with whodb_platform_action reembed. Accepts workspace {host, org, project} for per-call targeting without changing defaults.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_k | No | Number of neighbours (default 5) | |
| where | No | Optional filter in the shared grammar to pre-filter candidates | |
| fields | No | Optional top-level output fields to include | |
| row_id | Yes | Primary key of the reference row | |
| entity_id | Yes | Ontology id with embeddingEnabled | |
| workspace | No | Optional target for this call only. Omit to use the session default set by whodb_platform_session_use, then process/saved defaults. Discover targets with whodb_platform_hosts, whodb_platform_orgs and whodb_platform_projects. | |
| properties | No | Properties to include in results |