Download NewPlanGenFlow.py from Tachi67/ReplanningFlowModule: direct link, hf CLI and curl.
- Browser
- Download file 527 Bytes
-
https://huggingface.co/Tachi67/ReplanningFlowModule/resolve/main/NewPlanGenFlow.py
- Command line
-
hf download hf://Tachi67/ReplanningFlowModule/NewPlanGenFlow.py
-
curl -L -o NewPlanGenFlow.py https://huggingface.co/Tachi67/ReplanningFlowModule/resolve/main/NewPlanGenFlow.py
527 Bytes
| import json | |
| from copy import deepcopy | |
| from typing import Any, Dict | |
| from flow_modules.Tachi67.PlanGeneratorFlowModule import PlanGeneratorAtomicFlow | |
| class NewPlanGenFlow(PlanGeneratorAtomicFlow): | |
| def __init__(self, **kwargs): | |
| super().__init__(**kwargs) | |
| self.hint_for_model = """ | |
| Make sure your response is in the following format: | |
| Response Format: | |
| { | |
| "new_plan": "A new plan, refined from previous plan, with given requirements", | |
| } | |
| """ |