Skip to content

Commit bec6c3d

Browse files
committed
Upd prompt
Signed-off-by: Reshma Abdul Rahim <reshmarahim.abdul@microsoft.com>
1 parent 122c623 commit bec6c3d

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ jobs:
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' ' ')"'"}
118118
],
119-
"max_tokens": 2000,
120-
"temperature": 0.7
119+
"max_tokens": 3500,
120+
"temperature": 0.3
121121
}')
122122
123123
# Check if API call was successful

scripts/blog-prompt.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Requirements:
1717
- Avoid marketing language like "we're excited", "with open arms", "happy building"
1818
- CRITICAL: Only include information that is explicitly stated in the release notes - do not expand, infer, or add details
1919
- Only include code examples, configuration snippets, or commands that are explicitly mentioned in the release notes
20-
- Only include information and code samples that you can verify from the Radius code or documentation
20+
- Only include information and code samples that you can verify from the Radius code or documentation
2121
- Do NOT make up code examples following common industry patterns from similar projects if they are not specifically mentioned in the release notes or docs
2222
- Do NOT make up documentation links - only use links that are specifically mentioned in the release notes or that you can verify from the Radius documentation
2323
- When including code snippets, ensure they are spaced and formatted correctly for markdown
@@ -32,7 +32,8 @@ Structure:
3232
- Direct introduction stating what's new in this release and a link to the release
3333
- Key Features as the main sections, with subheadings for each feature if applicable
3434
- Technical summary of key features with implementation details and code examples demonstrating usage within the key features.
35-
- Mention breaking changes within the feature summary if applicable and DO NOT create a separate section for breaking changes.
35+
- Add breaking changes within the feature summary if applicable
36+
- DO NOT create a separate section for breaking changes.
3637
- Conclude with this standard "Learn more and Get Involved" section:
3738

3839
## Learn more and Get Involved

0 commit comments

Comments
 (0)