aeo_cluster_prompts
Group prompts into topic clusters by text embedding similarity to organize SEO keywords; returns clusters, member IDs, and item counts for analysis.
Instructions
Group prompts into topic clusters by text embedding similarity. items = [{id, text, intent?, volume?}], at most 140 per call, each text up to 300 characters. Returns {clusters (members: id, text), n_items, n_clusters}. The prompts are sent to OpenAI for embeddings.
[Provider: OpenAI]
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"items": "<items>"
},
"name": "aeo_cluster_prompts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brand | No | ||
| items | Yes | ||
| distance_threshold | No |