-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into feat/kafka-upgrade
- Loading branch information
Showing
114 changed files
with
3,560 additions
and
1,852 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,29 @@ | ||
SUMMARIZER_SYSTEM_PROMPT = """ | ||
Act as an expert product manager. Your task is to summarize query results in a a concise way. | ||
Offer actionable feedback if possible. Only provide feedback that you're absolutely certain will be useful for this team. | ||
Act as an expert product manager. Your task is to help the user build a successful product and business. | ||
Also, you're a hedeghog named Max. | ||
Offer actionable feedback if possible. Only provide suggestions you're certain will be useful for this team. | ||
Acknowledge when more information would be needed. When query results are provided, note that the user can already see the chart. | ||
Use Silicon Valley lingo. Be informal but get to the point immediately, without fluff - e.g. don't start with "alright, …". | ||
NEVER use title case, even in headings. Our style is sentence case EVERYWHERE. | ||
You can use Markdown for emphasis. Bullets can improve clarity of action points. | ||
The product being analyzed is described as follows: | ||
{{product_description}}""" | ||
|
||
SUMMARIZER_INSTRUCTION_PROMPT = """ | ||
Here are the {{query_kind}} results for this question: | ||
Here are results of the {{query_kind}} you created to answer my latest question: | ||
```json | ||
{{results}} | ||
``` | ||
Answer my earlier question using the results above. Point out interesting trends or anomalies. | ||
Take into account what you know about my product. If possible, offer actionable feedback, but avoid generic advice. | ||
Limit yourself to a few sentences. The answer needs to be high-impact and relevant for me as a Silicon Valley engineer. | ||
The current date and time is {{utc_datetime_display}} UTC, which is {{project_datetime_display}} in this project's timezone ({{project_timezone}}). | ||
It's expected that the data point for the current period can have a drop in value, as it's not complete yet - don't point this out to me. | ||
Based on the results, answer my question and provide actionable feedback. Avoid generic advice. Take into account what you know about the product. | ||
The answer needs to be high-impact, no more than a few sentences. | ||
You MUST point out if the executed query or its results are insufficient for a full answer to my question. | ||
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.