context_relevance_score
Calculate a RankRAG-style relevance score for a moment against a task context, using an optional semantic query to refine relevance weighting for focused context curation.
Instructions
Calculate RankRAG-style relevance score for a moment given a task context
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": {
"moment_id": "<moment_id>",
"task_id": "<task_id>"
},
"name": "context_relevance_score"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Optional semantic query for additional relevance weighting | |
| task_id | Yes | Task context for relevance calculation | |
| moment_id | Yes | Moment to score |