Lucas ARRIESSE commited on
Commit
c9e8a3f
·
1 Parent(s): da9ecc9

Update prompt

Browse files
prompts/private/assess.txt CHANGED
@@ -3,7 +3,8 @@
3
  Analyze the patentability and added value of the proposed invention. Ensure that it ensures with your business line and patent portfolio.
4
  Patentability criteria are originality, innovative process, detectable,non-obvious by a person of the art, surprising.
5
  Evaluate the patent using the following notation criterias while taking into account the business line and portfolio.
6
- Finally end your analysis by stating whether the idea is a "NO-GO", "CONDITIONAL-GO", "IMMEDIATE-GO" and provide a list of actionnable insights to help refine substantially the idea to better align to the business line if need be.
 
7
  </task>
8
 
9
  <business>
 
3
  Analyze the patentability and added value of the proposed invention. Ensure that it ensures with your business line and patent portfolio.
4
  Patentability criteria are originality, innovative process, detectable,non-obvious by a person of the art, surprising.
5
  Evaluate the patent using the following notation criterias while taking into account the business line and portfolio.
6
+ Finally end your analysis by stating whether the idea is a "NO-GO", "CONDITIONAL-GO", "IMMEDIATE-GO" and provide a list of actionnable insights.
7
+ The actionnable insights should be applicable directions to help refine the idea and align it better to the business portfolio (i.e, focus on a specific part of the idea instead of the whole idea, broaden up)
8
  </task>
9
 
10
  <business>
prompts/private/refine.txt CHANGED
@@ -1,7 +1,8 @@
1
  <role>You are an expert system designer</role>
2
  <task>
3
- Your task is to refine an idea to account for the given insights.
4
- Only refine the idea itself, do not add tracking todo list items. They will be handled on the side.
 
5
  </task>
6
 
7
  <idea>
 
1
  <role>You are an expert system designer</role>
2
  <task>
3
+ Your task is to refine an idea to account for the given insights.
4
+ Use markdown to structure the refined idea.
5
+ Rewrite the whole idea while factoring in the refinements.
6
  </task>
7
 
8
  <idea>
static/js/gen.js CHANGED
@@ -225,7 +225,7 @@ export async function refineSolution(providerUrl, modelName, apiKey, solution, i
225
  const refine_template = formatTemplate(template, {
226
  "problem_description": solution.problem_description,
227
  "solution_description": solution.solution_description,
228
- "insights": insights.map(i => i.text).join("\n -"),
229
  "business_info": portfolio_info,
230
  });
231
 
 
225
  const refine_template = formatTemplate(template, {
226
  "problem_description": solution.problem_description,
227
  "solution_description": solution.solution_description,
228
+ "insights": insights.join("\n -"),
229
  "business_info": portfolio_info,
230
  });
231
 
static/js/ui.js CHANGED
@@ -603,7 +603,7 @@ export function handleDraftRefine() {
603
 
604
  const currentState = draftHistory[draftCurrentIndex];
605
 
606
- // Get selected insights from the current state
607
  const selectedInsights = currentState.insights
608
  .filter(i => i.checked)
609
  .map(i => i.text);
 
603
 
604
  const currentState = draftHistory[draftCurrentIndex];
605
 
606
+ // Get selected insights text from the current state
607
  const selectedInsights = currentState.insights
608
  .filter(i => i.checked)
609
  .map(i => i.text);