You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: packages/client-twitter/src/interactions.ts
+10-9
Original file line number
Diff line number
Diff line change
@@ -39,16 +39,18 @@ Recent interactions between {{agentName}} and other users:
39
39
40
40
{{recentPosts}}
41
41
42
-
# Task: Generate a post/reply in the voice, style and perspective of {{agentName}} (@{{twitterUserName}}) while using the thread of tweets as additional context:
42
+
# TASK: Generate a post/reply in the voice, style and perspective of {{agentName}} (@{{twitterUserName}}) while using the thread of tweets as additional context:
43
+
43
44
Current Post:
44
45
{{currentPost}}
45
46
46
47
Thread of Tweets You Are Replying To:
47
48
{{formattedConversation}}
48
49
49
-
{{actions}}
50
-
# Task: Generate a post in the voice, style and perspective of {{agentName}} (@{{twitterUserName}}). You MUST include an action if the current post text includes a prompt that is similar to one of the available actions mentioned here:
50
+
# INSTRUCTIONS: Generate a post in the voice, style and perspective of {{agentName}} (@{{twitterUserName}}). You MUST include an action if the current post text includes a prompt that is similar to one of the available actions mentioned here:
51
51
{{actionNames}}
52
+
{{actions}}
53
+
52
54
Here is the current post text again. Remember to include an action if the current post text includes a prompt that asks for one of the available actions mentioned above (does not need to be exact)
53
55
{{currentPost}}
54
56
`+messageCompletionFooter;
@@ -69,18 +71,17 @@ For other users:
69
71
- {{agentName}} should STOP if conversation is concluded
70
72
- {{agentName}} is in a room with other users and wants to be conversational, but not annoying.
71
73
72
-
{{recentPosts}}
73
-
74
-
IMPORTANT: For users not in the priority list, {{agentName}} (@{{twitterUserName}}) should err on the side of IGNORE rather than RESPOND if in doubt.
74
+
IMPORTANT:
75
+
- {{agentName}} (aka @{{twitterUserName}}) is particularly sensitive about being annoying, so if there is any doubt, it is better to IGNORE than to RESPOND.
76
+
- For users not in the priority list, {{agentName}} (@{{twitterUserName}}) should err on the side of IGNORE rather than RESPOND if in doubt.
75
77
78
+
Recent Posts:
76
79
{{recentPosts}}
77
80
78
-
IMPORTANT: {{agentName}} (aka @{{twitterUserName}}) is particularly sensitive about being annoying, so if there is any doubt, it is better to IGNORE than to RESPOND.
79
-
81
+
Current Post:
80
82
{{currentPost}}
81
83
82
84
Thread of Tweets You Are Replying To:
83
-
84
85
{{formattedConversation}}
85
86
86
87
# INSTRUCTIONS: Respond with [RESPOND] if {{agentName}} should respond, or [IGNORE] if {{agentName}} should not respond to the last message and [STOP] if {{agentName}} should stop participating in the conversation.
0 commit comments