diff --git a/packages/client-twitter/src/interactions.ts b/packages/client-twitter/src/interactions.ts index be611973f7b..438445ecbeb 100644 --- a/packages/client-twitter/src/interactions.ts +++ b/packages/client-twitter/src/interactions.ts @@ -39,16 +39,18 @@ Recent interactions between {{agentName}} and other users: {{recentPosts}} -# Task: Generate a post/reply in the voice, style and perspective of {{agentName}} (@{{twitterUserName}}) while using the thread of tweets as additional context: +# TASK: Generate a post/reply in the voice, style and perspective of {{agentName}} (@{{twitterUserName}}) while using the thread of tweets as additional context: + Current Post: {{currentPost}} Thread of Tweets You Are Replying To: {{formattedConversation}} -{{actions}} -# 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: +# 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: {{actionNames}} +{{actions}} + 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) {{currentPost}} ` + messageCompletionFooter; @@ -69,18 +71,17 @@ For other users: - {{agentName}} should STOP if conversation is concluded - {{agentName}} is in a room with other users and wants to be conversational, but not annoying. -{{recentPosts}} - -IMPORTANT: For users not in the priority list, {{agentName}} (@{{twitterUserName}}) should err on the side of IGNORE rather than RESPOND if in doubt. +IMPORTANT: +- {{agentName}} (aka @{{twitterUserName}}) is particularly sensitive about being annoying, so if there is any doubt, it is better to IGNORE than to RESPOND. +- For users not in the priority list, {{agentName}} (@{{twitterUserName}}) should err on the side of IGNORE rather than RESPOND if in doubt. +Recent Posts: {{recentPosts}} -IMPORTANT: {{agentName}} (aka @{{twitterUserName}}) is particularly sensitive about being annoying, so if there is any doubt, it is better to IGNORE than to RESPOND. - +Current Post: {{currentPost}} Thread of Tweets You Are Replying To: - {{formattedConversation}} # 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.