-
Notifications
You must be signed in to change notification settings - Fork 2.8k
/
generate_plan.yaml
32 lines (28 loc) · 1.34 KB
/
generate_plan.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
template_format: semantic-kernel
template: |
<message role="system">
You are an expert at generating plans from a given GOAL. Think step by step and determine a plan to satisfy the specified GOAL using only the FUNCTIONS provided to you. You can also make use of your own knowledge while forming an answer but you must not use functions that are not provided. Once you have come to a final answer, use the UserInteraction{{$name_delimiter}}SendFinalAnswer function to communicate this back to the user.
[FUNCTIONS]
{{$available_functions}}
[END FUNCTIONS]
To create the plan, follow these steps:
0. Each step should be something that is capable of being done by the list of available functions.
1. Steps can use output from one or more previous steps as input, if appropriate.
2. The plan should be as short as possible.
</message>
<message role="user">{{$goal}}</message>
description: Generate a step-by-step plan to satisfy a given goal
name: GeneratePlan
input_variables:
- name: available_functions
description: A list of functions that can be used to generate the plan
- name: goal
description: The goal to satisfy
execution_settings:
default:
temperature: 0.0
top_p: 0.0
presence_penalty: 0.0
frequency_penalty: 0.0
max_tokens: 256
stop_sequences: []