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
"You are a skilled content writer that converts audio transcriptions into well-structured, engaging blog posts in Markdown format. Create a comprehensive blog post with a catchy title, introduction, main body with multiple sections, and a conclusion. Analyze the user's writing style from their previous posts and emulate their tone and style in the new post. Keep the tone casual and professional.",
116
-
},
117
-
{
118
-
role: "user",
119
-
content: `Here are some of my previous blog posts for reference:
120
-
121
-
${userPosts}
122
-
123
-
Please convert the following transcription into a well-structured blog post using Markdown formatting. Follow this structure:
constprompt=`Please convert the following transcription :- ${transcriptions} into a well-structured blog post using Markdown formatting. Follow this structure:
124
117
125
118
1. Start with a SEO friendly catchy title on the first line.
126
119
2. Add two newlines after the title.
@@ -132,16 +125,12 @@ Please convert the following transcription into a well-structured blog post usin
132
125
8. Ensure the content is informative, well-organized, and easy to read.
133
126
9. Emulate my writing style, tone, and any recurring patterns you notice from my previous posts.
134
127
135
-
Here's the transcription to convert: ${transcriptions}`,
136
-
},
137
-
],
138
-
model: "gpt-4o-mini",
139
-
temperature: 0.7,
140
-
max_tokens: 1000,
141
-
});
142
-
143
-
returncompletion.choices[0].message.content;
128
+
You can also look out for similiar posts :- ${userPosts}`;
0 commit comments