Skip to content

Commit 034e78a

Browse files
committed
clean up transforms
1 parent 999fac4 commit 034e78a

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

curate.config.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@
150150
"transform": {
151151
"plugin": "@curatedotfun/gpt-transform",
152152
"config": {
153-
"prompt": "You're an AI assistant that generates engaging news-style updates for Telegram based on Twitter submissions. Format the response using **Telegram MarkdownV2** while keeping it **conversational, stylish, and easy to read**. \n\n### **Formatting Rules:** \n- **Bold** key points using `*text*` \n- _Italicize_ curator notes using `_text_` \n- Use `[text](URL)` for links \n- Escape Telegram special characters: `-`, `.`, `(`, `)`, `!` \n\n### **Structure:** \n```\n📢 *Breaking News Submission* \n🚀 *Spotted by* [@{username}](https://x.com/{username}) | *Curated by* @{curatorUsername} \n\n{summary_of_content} 🌍🔭 \n\n{optional_curator_notes} \n\n🔗 *Want to read more?* [Check it out here](https://x.com/{username}/status/{tweetId}) \n```\n\n### **Guidelines:** \n- **Summarize the content naturally** in a conversational, engaging tone. \n- **If curator notes exist, include them** (_e.g., \"Curator Notes: 'Interesting insight!'_). If none, skip. \n- Keep it **short, clear, and visually appealing** for Telegram. \n\n**Example Input (JSON):** \n```json\n{\n \"tweetId\": \"172839201\",\n \"username\": \"newswatcher42\",\n \"curatorUsername\": \"spacecurator\",\n \"content\": \"Scientists discovered a new exoplanet, Kepler-1649c, that may support life.\",\n \"curatorNotes\": \"Exciting find! Worth following up.\"\n}\n``` \n\n**Expected Output:** \n```\n📢 *Breaking News Submission* \n🚀 *Spotted by* [@newswatcher42](https://x.com/newswatcher42) | *Curated by* @spacecurator \n\nScientists just found a potential Earth-like exoplanet, *Kepler-1649c* 🌍✨ Could this be our next home? \n\n🗒️ _Curator Notes:_ \"Exciting find! Worth following up.\" \n\n🔗 *Want to read more?* [Check it out here](https://x.com/newswatcher42/status/172839201) \n``` \n\nMake sure the response is **well-formatted, engaging, and shareable**! 🚀🔥",
153+
"prompt": "You're an AI assistant that generates engaging news-style updates for Telegram based on Twitter submissions. Format the response using **Telegram MarkdownV2** while keeping it **conversational, stylish, and easy to read**. \n\n### **Formatting Rules:** \n- **Bold** key points using `*text*` \n- _Italicize_ curator notes using `_text_` \n- Use `[text](URL)` for links \n- Escape Telegram special characters: `\\-`, `\\.`, `\\(`, `\\)`, `\\!` \n\n### **Structure:** \n```\n📢 *Breaking News Submission* \n🚀 *Spotted by* [@{username}](https://x\\.com/{username}) | *Curated by* @{curatorUsername} \n\n{summary_of_content} 🌍🔭 \n\n{optional_curator_notes} \n\n🔗 *Want to read more?* [Check it out here](https://x\\.com/{username}/status/{tweetId}) \n```\n\n### **Guidelines:** \n- **Summarize the content naturally** in a conversational, engaging tone. \n- **If curator notes exist, include them** (_e.g., \"Curator Notes: 'Interesting insight!'_). If none, skip. \n- Keep it **short, clear, and visually appealing** for Telegram. \n\n**Example Input (JSON):** \n```json\n{\n \"tweetId\": \"172839201\",\n \"username\": \"newswatcher42\",\n \"curatorUsername\": \"spacecurator\",\n \"content\": \"Scientists discovered a new exoplanet, Kepler-1649c, that may support life.\",\n \"curatorNotes\": \"Exciting find! Worth following up.\"\n}\n``` \n\n**Expected Output:** \n```\n📢 *Breaking News Submission* \n🚀 *Spotted by* [@newswatcher42](https://x\\.com/newswatcher42) | *Curated by* @spacecurator \n\nScientists just found a potential Earth-like exoplanet, *Kepler-1649c* 🌍✨ Could this be our next home? \n\n🗒️ _Curator Notes:_ \"Exciting find! Worth following up.\" \n\n🔗 *Want to read more?* [Check it out here](https://x\\.com/newswatcher42/status/172839201) \n```\n\nMake sure the response is **well-formatted, engaging, and shareable**! 🚀🔥",
154154
"apiKey": "{OPENROUTER_API_KEY}"
155155
}
156156
},
@@ -590,7 +590,7 @@
590590
"transform": {
591591
"plugin": "@curatedotfun/simple-transform",
592592
"config": {
593-
"format": "📝 new fundraising announcement, curated by *{CURATOR}*\n{CONTENT}\n📌 source: [View Post](https://x.com/x/status/{SUBMISSION_ID})"
593+
"format": "📝 new fundraising announcement, curated by {CURATOR}\n\n{CONTENT}\n\n📌 source: https://x.com/x/status/{SUBMISSION_ID}"
594594
}
595595
},
596596
"distribute": [
@@ -618,6 +618,12 @@
618618
"outputs": {
619619
"stream": {
620620
"enabled": true,
621+
"transform": {
622+
"plugin": "@curatedotfun/simple-transform",
623+
"config": {
624+
"format": "🇺🇸💰 Latest American Crypto Update, curated by {CURATOR}\n\n{CONTENT}\n\n📌 Source: https://x.com/x/status/{SUBMISSION_ID}"
625+
}
626+
},
621627
"distribute": [
622628
{
623629
"plugin": "@curatedotfun/telegram",

0 commit comments

Comments
 (0)