Skip to content

Commit f088a17

Browse files
committed
Model update
Signed-off-by: Reshma Abdul Rahim <reshmarahim.abdul@microsoft.com>
1 parent 862181f commit f088a17

File tree

2 files changed

+40
-25
lines changed

2 files changed

+40
-25
lines changed

.github/workflows/auto-blog-post.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ jobs:
111111
-H "Content-Type: application/json" \
112112
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
113113
-d '{
114-
"model": "gpt-4o",
114+
"model": "gpt-4o-mini",
115115
"messages": [
116116
{"role": "system", "content": "You are a technical content writer for cloud-native application platforms."},
117117
{"role": "user", "content": "'"$(echo "$PROMPT" | sed 's/"/\\"/g' | tr '\n' ' ')"'"}

scripts/blog-prompt.md

Lines changed: 39 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,47 @@
1-
Create a technical blog post about Radius {RELEASE_NAME}. Use ONLY information from the release notes below.
1+
Write a technical blog post announcing Radius {RELEASE_NAME} for developers and platform engineers. Follow the Radius blog style guide exactly.
22

3-
RELEASE NOTES - YOUR ONLY INFORMATION SOURCE:
3+
Release notes (YOUR ONLY SOURCE OF TRUTH):
44
{RELEASE_NOTES}
55

6-
PREVIOUS POST EXAMPLES FOR STYLE:
6+
Style reference from previous posts:
77
{BLOG_CONTEXT}
88

9-
ABSOLUTE REQUIREMENTS:
10-
1. Start immediately with content - NO title, NO "announcing" phrases
11-
2. Write: "Radius {RELEASE_NAME} brings [list key features from release notes]"
12-
3. Use ## for feature headings (never #)
13-
4. NEVER create a "Breaking Changes" section - mention breaking changes within the relevant feature section only
14-
5. Only use information explicitly written in the release notes above
15-
6. Only include code examples that appear in the release notes above
16-
7. Only include links that appear in the release notes above
17-
8. Write in second person ("you can") not first person ("we introduce")
18-
19-
TEMPLATE TO FOLLOW:
20-
Radius {RELEASE_NAME} brings [feature 1], [feature 2], and [feature 3]. [Link to release notes].
21-
22-
## [Feature 1 Name]
23-
[Explain feature using only release notes content. Include any breaking changes for this feature here.]
24-
25-
## [Feature 2 Name]
26-
[Explain feature using only release notes content.]
27-
28-
## [Feature 3 Name]
29-
[Explain feature using only release notes content.]
9+
CRITICAL CONSTRAINTS - FOLLOW EXACTLY:
10+
- ONLY use information explicitly stated in the release notes above
11+
- Do NOT add any information not found in the release notes
12+
- Do NOT make up features, examples, code snippets or documentation links
13+
- Do NOT use marketing language like "we're excited", "introducing", "significant update"
14+
- Do NOT add introductory phrases like "Today we're announcing" or "We're pleased to"
15+
- Do NOT add horizontal rules (---) between sections
16+
- Do NOT speculate about future features or capabilities
17+
- DO NOT include breaking changes as a separate section
18+
- ONLY include code examples that are explicitly shown in the release notes
19+
- ONLY include links that are explicitly mentioned in the release notes or that you can verify exist in the Radius documentation
20+
- Verify the content thoroughly and ensure all details are accurate
21+
22+
WRITING STYLE (from Radius style guide):
23+
- Conversational and friendly without being frivolous
24+
- User-focused: Write in second person ("you") not first person ("we")
25+
- Clear and concise: Simple, direct language
26+
- Active voice and present tense
27+
- Professional, matter-of-fact tone
28+
- Technical depth over marketing content
29+
- Evidence-based: All claims supported by release notes only
30+
31+
CONTENT REQUIREMENTS:
32+
- Target audience: Application developers, platform engineers, DevOps practitioners
33+
- 800-1000 words of substantive technical content
34+
- Focus on concrete functionality and implementation details
35+
- Include technical reasoning when provided in release notes
36+
- Proper markdown formatting for code snippets
37+
38+
STRUCTURE REQUIREMENTS:
39+
- Start immediately with content - NO title, NO heading.
40+
- Begin directly with an introduction of what's new in this release and include a link to the release notes page
41+
- Use ## headings for main features (not # headings)
42+
- Include breaking changes in a note or as a highlight within relevant feature sections, not separately
43+
- Use clean markdown formatting without horizontal rules
44+
- End with the exact "Learn more and Get Involved" section below
3045

3146
REQUIRED CLOSING SECTION (copy exactly):
3247

0 commit comments

Comments
 (0)