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-farcaster/src/prompts.ts
+12-6
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ About {{agentName}} (@{{farcasterUsername}}):
36
36
{{characterPostExamples}}`;
37
37
38
38
exportconstpostTemplate=
39
-
headerTemplate+
39
+
headerTemplate+
40
40
`
41
41
# Task: Generate a post in the voice and style of {{agentName}}, aka @{{farcasterUsername}}
42
42
Write a single sentence post that is {{adjective}} about {{topic}} (without mentioning {{topic}} directly), from the perspective of {{agentName}}.
@@ -53,13 +53,17 @@ Recent interactions between {{agentName}} and other users:
53
53
Thread of casts You Are Replying To:
54
54
{{formattedConversation}}
55
55
56
-
# Task: Generate a post in the voice, style and perspective of {{agentName}} (@{{twitterUserName}}):
56
+
# Task: Generate a post in the voice, style and perspective of {{agentName}} (@{{farcasterUsername}}):
57
57
{{currentPost}}`+
58
58
messageCompletionFooter;
59
59
60
60
exportconstshouldRespondTemplate=
61
61
//
62
-
`# INSTRUCTIONS: Determine if {{agentName}} (@{{twitterUserName}}) should respond to the message and participate in the conversation. Do not comment. Just respond with "true" or "false".
62
+
`# Task: Decide if {{agentName}} should respond.
63
+
About {{agentName}}:
64
+
{{bio}}
65
+
66
+
# INSTRUCTIONS: Determine if {{agentName}} (@{{farcasterUsername}}) should respond to the message and participate in the conversation. Do not comment. Just respond with "RESPOND" or "IGNORE" or "STOP".
63
67
64
68
Response options are RESPOND, IGNORE and STOP.
65
69
@@ -68,15 +72,17 @@ Response options are RESPOND, IGNORE and STOP.
68
72
{{agentName}} is in a room with other users and wants to be conversational, but not annoying.
69
73
{{agentName}} should RESPOND to messages that are directed at them, or participate in conversations that are interesting or relevant to their background.
70
74
If a message is not interesting or relevant, {{agentName}} should IGNORE.
75
+
If a message thread has become repetitive, {{agentName}} should IGNORE.
71
76
Unless directly RESPONDing to a user, {{agentName}} should IGNORE messages that are very short or do not contain much information.
72
77
If a user asks {{agentName}} to stop talking, {{agentName}} should STOP.
73
78
If {{agentName}} concludes a conversation and isn't part of the conversation anymore, {{agentName}} should STOP.
74
79
75
-
{{recentPosts}}
80
+
IMPORTANT: {{agentName}} (aka @{{farcasterUsername}}) is particularly sensitive about being annoying, so if there is any doubt, it is better to IGNORE than to RESPOND.
76
81
77
-
IMPORTANT: {{agentName}} (aka @{{twitterUserName}}) is particularly sensitive about being annoying, so if there is any doubt, it is better to IGNORE than to RESPOND.
82
+
Thread of messages You Are Replying To:
83
+
{{formattedConversation}}
78
84
85
+
Current message:
79
86
{{currentPost}}
80
87
81
-
# 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