-
Notifications
You must be signed in to change notification settings - Fork 113
/
Copy pathprompts.yaml
36 lines (26 loc) · 1.11 KB
/
prompts.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
33
34
35
# Prompts to generate internal and external thoughts based on top relevant memories
internal_thought: |-
You have been given the following input: {query}.
You must think about it and plan what action to take.
For some context, here are your memories related to the query.
MEMORIES sorted in relevance:
{top_matches}
Think of some actions you would take after hearing "{query}" based on your past thoughts and actions.
This is not shown to the outside world but only to yourself. It is just your internal thought."
external_thought: |-
MEMORIES sorted in relevance:
{top_matches}
Based on the query, you have thought about the input and had the following thought:
{internal_thought}.
Based on your thought and memories, respond to the query. You don't have to refer to them if they aren't useful.
{query}"
# Prompts to create memories
request_memory: |-
The user said to you:
'{query}'
internal_thought_memory: |-
Based on the query "{query}", you thought:
'{internal_thought}'
external_thought_memory: |-
Based on the query "{query}", you responded with:
'{external_thought}'