rtm_find_optimal_depth
Determine the optimal traversal depth for narrative analysis to reach a target recall length, using configurable branching and depth parameters for efficient information retrieval.
Instructions
Find the optimal traversal depth to achieve a target recall length
Input Schema
Name | Required | Description | Default |
---|---|---|---|
maxBranchingFactor | No | Maximum number of child nodes (K parameter) | |
maxRecallDepth | No | Maximum depth for recall (D parameter) | |
targetRecallLength | Yes | Target number of clauses to recall | |
text | Yes | The narrative text to analyze | |
title | Yes | Title of the narrative |
Input Schema (JSON Schema)
{
"additionalProperties": false,
"properties": {
"maxBranchingFactor": {
"default": 4,
"description": "Maximum number of child nodes (K parameter)",
"type": "number"
},
"maxRecallDepth": {
"default": 6,
"description": "Maximum depth for recall (D parameter)",
"type": "number"
},
"targetRecallLength": {
"description": "Target number of clauses to recall",
"minimum": 1,
"type": "number"
},
"text": {
"description": "The narrative text to analyze",
"type": "string"
},
"title": {
"description": "Title of the narrative",
"type": "string"
}
},
"required": [
"text",
"title",
"targetRecallLength"
],
"type": "object"
}