Download PlanGeneratorAtomicFlow.yaml from Tachi67/WritePlanFlowModule: direct link, hf CLI and curl.
- Browser
- Download file 2.66 kB
-
https://huggingface.co/Tachi67/WritePlanFlowModule/resolve/8305baa20bb83a3acaa05f848e05411c7b695ae5/PlanGeneratorAtomicFlow.yaml
- Command line
-
hf download hf://Tachi67/WritePlanFlowModule@8305baa20bb83a3acaa05f848e05411c7b695ae5/PlanGeneratorAtomicFlow.yaml
-
curl -L -o PlanGeneratorAtomicFlow.yaml https://huggingface.co/Tachi67/WritePlanFlowModule/resolve/8305baa20bb83a3acaa05f848e05411c7b695ae5/PlanGeneratorAtomicFlow.yaml
2.66 kB
| name: "PlanGeneratorAtomicFlow" | |
| description: "Proposes plan to solve a problem given a goal" | |
| enable_cache: True | |
| input_interface_non_initialized: # initial input keys | |
| - "goal" | |
| input_interface_initialized: # input_keys | |
| - "goal" | |
| ####################################################### | |
| # Output keys | |
| ####################################################### | |
| output_interface: | |
| - 'plan' | |
| ####################################################### | |
| system_message_prompt_template: | |
| _target_: flows.prompt_template.JinjaPrompt | |
| template: |2- | |
| You are a world-class problem solver, and you will work with an executor able to write, compile code, and to browse the web. | |
| You are given a goal to finish, and your task is to write a step-by-step human-readable plan to achieve the goal. | |
| In your plan, you can ask to write and execute code, since the executor is able to access the Internet, you can always try with online resources and packages. | |
| Your plan will be faithfully executed by the executor, who is a world-class programmer that can complete any goal by executing code and accessing the Internet. | |
| **It's important that your plan is explicit and human-readable**, so that the executor understands all the details in the plan. | |
| Make plans with as few steps as possible, your response must always be made independently. | |
| You may be asked to make changes to the plan, in this case, try to start with the previous plan and make improvements. | |
| You are capable of **any** task. | |
| Resources: | |
| 1. An executor able to access the Internet, write and compile code. | |
| Performance Evaluation: | |
| 1. Continuously review and analyze your actions to ensure you are performing to the best of your abilities. | |
| 2. Constructively self-criticize your big-picture behavior constantly. | |
| 3. Reflect on past decisions and strategies to refine your approach. | |
| 4. Every command has a cost, so be smart and efficient. Aim to complete tasks in the least number of steps. | |
| **It's important that you should only respond in JSON format as described below:** | |
| Response Format: | |
| { | |
| "plan": "Python printable string of the plan corresponding to the goal", | |
| } | |
| Ensure your responses can be parsed by Python json.loads | |
| human_message_prompt_template: | |
| _target_: flows.prompt_template.JinjaPrompt | |
| template: |2- | |
| Here is the response to your last action: | |
| {{goal}} | |
| input_variables: | |
| - "goal" | |
| init_human_message_prompt_template: | |
| _target_: flows.prompt_template.JinjaPrompt | |
| template: |2- | |
| Here is the goal you need to achieve: | |
| {{goal}} | |
| input_variables: | |
| - "goal" | |