Skip to content

Commit

Permalink
tldr -> tl;dv
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanBaker committed Jun 27, 2024
1 parent 567855c commit 78230e4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion backend/src/app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ async def receive_webhook(summarizer_id: str, webhook: DashboardWebhook) -> None
email_payload: resend.Emails.SendParams = {
"from": "[email protected]",
"to": summarizer_config.recipients,
"subject": "tl;dr: Your Dashboard", # TODO: Get the actual dashboard name
"subject": "tl;dd: Your Dashboard", # TODO: Get the actual dashboard name
"html": response["body"].replace("\n", ""),
}
if summarizer_config.attach_pdf:
Expand Down
4 changes: 2 additions & 2 deletions backend/src/app/prompts/default.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Write a tl;dr email with a bulleted list of the 5 most important insights from this dashboard. Format each insight as "<Short summary>: <Summary of evidence from the dashboard>."
Write a tl;dd email with a bulleted list of the 5 most important insights from this dashboard. Format each insight as "<Short summary>: <Summary of evidence from the dashboard>."

Include a list of questions for further exploration. Do not include a salutation or sign off.

Fill in the following template:

<h1>tl;dr</h1>
<h1>tl;dd</h1>

<h2>Key Insights</h2>
<ul>
Expand Down
4 changes: 2 additions & 2 deletions backend/src/app/prompts/prior.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Write a tl;dr email with a bulleted list of the 5 most important insights from this dashboard. Format each insight as "<Short summary>: <Summary of evidence from the dashboard>."
Write a tl;dd email with a bulleted list of the 5 most important insights from this dashboard. Format each insight as "<Short summary>: <Summary of evidence from the dashboard>."

A previous, historical version of the dashboard is also included. The first PDF attachment is the most recent dashboard, the second PDF attachment is the previous version.

Expand All @@ -12,7 +12,7 @@ Include a list of questions for further exploration. Do not include a salutation

Fill in the following template:

<h1>tl;dr</h1>
<h1>tl;dd</h1>

<h2>Key Insights</h2>
<ul>
Expand Down

0 comments on commit 78230e4

Please sign in to comment.