reasoning_agent
autogen.agentchat.contrib.reasoning_agent.extract_sft_dataset
extract_sft_dataset
Extract the best trajectory or multiple equally good trajectories for SFT training.
Parameters:Name | Description |
---|---|
root | The root node of the tree. Type: autogen.agentchat.contrib.reasoning_agent.ThinkNode |
Type | Description |
---|---|
list[dict] | List[Dict]: List of best trajectories, each one is a pair of instruction and response. |