Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
bonsai-autocomplete - Skill - OpenSmartRoute
Skillv1.0.0
bonsai-autocomplete
Implement a complete autocomplete solution in Elasticsearch or OpenSearch, including schema design, edge-ngram completions, word and phrase suggestions using significant_terms aggregations, post-proce
Imported from omc/search-skills (plugins/search/skills/bonsai-autocomplete/SKILL.md). Install upstream with npx skills add omc/search-skills --skill bonsai-autocomplete. Copyright stays with the author.
bonsai-autocomplete
Open @references/guide.md and follow it. Do not proceed without it.
Implement a production-ready autocomplete solution in Elasticsearch or OpenSearch. Walks the user through schema design (edge-ngram completions, suggest_word, suggest_phrase fields), query construction using significant_terms aggregations, post-processing middleware, and scaling strategies proven to handle 6M+ documents at 500 QPS with sub-50ms latency.
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
yaml
targets:
- https://api.opensmartroute.ai/api/v1/registry/omc-search-skills-bonsai-autocomplete/manifest # or paste the manifest below
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.
{
"ocm": "1",
"id": "omc-search-skills-bonsai-autocomplete",
"kind": "skill",
"name": "bonsai-autocomplete",
"description": "Implement a complete autocomplete solution in Elasticsearch or OpenSearch, including schema design, edge-ngram completions, word and phrase suggestions using significant_terms aggregations, post-processing middleware, and scaling strategies for millions of documents.",
"publisher": "omc",
"version": "1.0.0",
"capabilities": {
"domains": [
"general"
],
"tags": [
"skill-md",
"github"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Implement a complete autocomplete solution in Elasticsearch or OpenSearch, including schema design, edge-ngram completions, word and phrase suggestions using significant_terms aggregations, post-processing middleware, and scaling strategies for millions of documents."
],
"primary": false,
"metadata": {
"source": {
"provider": "github",
"repository": "https://github.com/omc/search-skills",
"path": "plugins/search/skills/bonsai-autocomplete/SKILL.md",
"ref": "4d6dc857599d68de19af384e3ba189c3a71563a8",
"url": "https://github.com/omc/search-skills/blob/4d6dc857599d68de19af384e3ba189c3a71563a8/plugins/search/skills/bonsai-autocomplete/SKILL.md",
"key": "omc/search-skills/plugins/search/skills/bonsai-autocomplete/SKILL.md"
}
},
"instructions": "# bonsai-autocomplete\n\nOpen `@references/guide.md` and follow it. Do not proceed without it.\n\nImplement a production-ready autocomplete solution in Elasticsearch or OpenSearch. Walks the user through schema design (edge-ngram completions, suggest_word, suggest_phrase fields), query construction using significant_terms aggregations, post-processing middleware, and scaling strategies proven to handle 6M+ documents at 500 QPS with sub-50ms latency.",
"cost": {
"context_tokens": 112
}
}
Fetch it by URL: GET /api/v1/registry/omc-search-skills-bonsai-autocomplete/manifest?version=1.0.0
Reviews
Star ratings from people who tried it. One review per account; edit yours any time.
No reviews yet. Install it, try it, and be the first to rate it.