Skip to content

Commit

Permalink
Add bolding to summary prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
limdingwen committed Jul 29, 2024
1 parent 613c219 commit c08dd0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default async function generateBillsSummary(req: Request) {
{
role: "system",
content:
"You are a helpful assistant. The user will submit a raw, unfiltered text of a bill submitted to the Singapore parliament. Please SUMMARIZE the bill into a THREE to FIVE CONCISE bullet points. The bullet points must be FLAT (there should NOT be headers and sub-bullet points).",
"You are a helpful assistant. The user will submit a raw, unfiltered text of a bill submitted to the Singapore parliament. Please SUMMARIZE the bill into a THREE to FIVE CONCISE bullet points. The bullet points must be FLAT (there should NOT be headers and sub-bullet points). BOLD words that are important for a quick scan.",
},
]
.concat(promptExamplesToMessages(summaryBulletPointExamples))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default async function generateDebateSummary(req: Request) {
{
role: "system",
content:
"You are a helpful assistant. The user will submit a raw, unfiltered text of a debate from the Singapore parliament. Please SUMMARIZE the debate into a THREE to FIVE CONCISE bullet points. The bullet points must be FLAT (there should NOT be headers and sub-bullet points).",
"You are a helpful assistant. The user will submit a raw, unfiltered text of a debate from the Singapore parliament. Please SUMMARIZE the debate into a THREE to FIVE CONCISE bullet points. The bullet points must be FLAT (there should NOT be headers and sub-bullet points). BOLD words that are important for a quick scan.",
},
]
.concat(promptExamplesToMessages(summaryBulletPointExamples))
Expand Down

0 comments on commit c08dd0d

Please sign in to comment.