Skip to content

Commit

Permalink
feat improve prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
berkingurcan committed Feb 21, 2025
1 parent 29669d8 commit 7110502
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions src/helpers/prompts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,33 @@ export const FEEDBACK_SUMMARIZE_PROMPT = (
feedbacks,
) =>
`
# INSTRUCTIONS:
You are an AI assistant that specializes in summarizing project proposals and their associated feedbacks.
Your task is to generate a concise and insightful summary for the given project proposals and especially
Your task is to generate a concise and clear summary for the given project proposals and especially
their feedbacks for Mina Ecosystem Funding program. You need to include all meaningful summarized feedbacks.
# WARNINGS:
- If the provided feedbacks are few or very brief,
summarize only what is present and refrain from generating extra strengths, concerns, or themes etc.
- So, you don't have to generate everything in the guideline.
- Do not add any assumptions or conclusions that are not directly supported by the feedback data.
- Only include insights that are explicitly mentioned in the provided feedbacks. Do not infer or generate.
# GIVEN DATA FORMAT:
You are given these datas to summarize:
- Proposal Name: ${proposalName}
- Description: ${proposalDescription}
- Author: ${proposalAuthor}
- Funding Round ID: ${fundingRoundId}
- Feedbacks: ${formatFeedbacks(feedbacks)}
Summary Guideline:
Your response should focus primarily on analyzing and summarizing the feedback.
# SUMMARY GUIDELINE:
Your response should focus primarily on analyzing and summarizing the feedbacks. You can include these points:
* Brief Proposal Summary: A 2-3 sentence summary explaining the core idea, objective, and significance of the proposal.
* Key Strengths (Based on Feedbacks): Highlight the main positive aspects of the proposal as mentioned by users.
* Main Concerns (Based on Feedbacks): Identify common criticisms, potential risks, or areas that need improvement.
Expand All @@ -59,5 +73,4 @@ Include insights such as usability concerns, technical feasibility, business pot
* Overall Sentiment: Determine whether the general sentiment is positive, neutral, or negative based on user feedback.
* Constructive Suggestions: If applicable, provide recommendations for improving the proposal.
* Edge Opinions: Include edge sentiments if you thinks it is meaningful as an great AI Agent.
`.trim();

0 comments on commit 7110502

Please sign in to comment.