Overview
Returns state and asearch function for finding spaces by natural language query. Matches against space name, description, and other text fields using vector similarity.
For integration guidance, see Semantic Search.
Only
public spaces are returned. unlisted and private spaces are never surfaced in search results for non-members. Hidden spaces stay indexed but filtered out, so re-listing a space (setting it back to "public") makes it searchable again immediately. See Space visibility.Usage Example
Parameters
Callsearch with:
The natural language query string.
Maximum number of results to return.
Returns
Ranked space results.
true while a search is in progress.Error message if the last search failed.
Executes the search and updates
results.Clears
results and error.
