Assign Entities To Topics
assign_entities_to_topicsLinks entities to extracted topics via lightweight lexical matching, optionally limiting entities per topic. Supply topic and entity lists to map names to relevant topics.
Instructions
Attach entities by lightweight lexical matching to topics from extract_topics.
topics entries need id, label, score, size, keyphrases. entities entries need name and optionally id, weight, importance_score.
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": {
"topics": "<topics>",
"entities": "<entities>"
},
"name": "assign_entities_to_topics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topics | Yes | ||
| entities | Yes | ||
| max_entities_per_topic | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |