generate_and_evaluate_children
Generate branching thoughts and evaluate them with an LLM judge in a single call to advance tree-based reasoning and decision exploration.
Instructions
Generate child thoughts and evaluate them in one call using LLM judge
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| treeId | Yes | The ID of the tree | |
| metadata | No | Optional metadata for the thoughts | |
| parentId | Yes | The ID of the parent thought | |
| numChildren | Yes | Number of children to generate (default: 3) | |
| useLLMJudge | No | Use LLM as judge for evaluation (requires LLM provider) | |
| defaultScore | No | Default score if LLM judge is not used (default: 50) | |
| diversityPrompt | No | Optional prompt to encourage diverse thought generation |