Lucas ARRIESSE
commited on
Commit
·
be704f8
1
Parent(s):
730ea19
Misc + modify prompt
Browse files- prompts/private/assess.txt +1 -1
- static/index.html +2 -0
- static/js/app.js +4 -5
- static/js/gen.js +1 -2
prompts/private/assess.txt
CHANGED
@@ -3,7 +3,7 @@
|
|
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
|
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, split the idea into sub ideas)
|
8 |
</task>
|
9 |
|
|
|
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 providing the final score, 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, split the idea into sub ideas)
|
8 |
</task>
|
9 |
|
static/index.html
CHANGED
@@ -514,6 +514,8 @@
|
|
514 |
<div>
|
515 |
<label for="assessment-rules" class="block mb-2 text-sm font-medium">Assessment
|
516 |
rules</label>
|
|
|
|
|
517 |
<textarea id="settings-assessment-rules" name="assessment-rules"
|
518 |
class="textarea textarea-bordered w-full h-48"
|
519 |
placeholder="Enter your rules here..."></textarea>
|
|
|
514 |
<div>
|
515 |
<label for="assessment-rules" class="block mb-2 text-sm font-medium">Assessment
|
516 |
rules</label>
|
517 |
+
<p class="text-gray-700">Indicate here a set of rules to use for assessing the ideas.
|
518 |
+
The rules should use a point-based notation.</p>
|
519 |
<textarea id="settings-assessment-rules" name="assessment-rules"
|
520 |
class="textarea textarea-bordered w-full h-48"
|
521 |
placeholder="Enter your rules here..."></textarea>
|
static/js/app.js
CHANGED
@@ -327,13 +327,12 @@ async function extractRequirements() {
|
|
327 |
console.log("Selected docs data");
|
328 |
console.log(selectedData);
|
329 |
|
330 |
-
if (selectedData.length === 0) {
|
331 |
-
alert('Please select at least one document');
|
332 |
-
return;
|
333 |
-
}
|
334 |
-
|
335 |
// ne prendre que les documents avec un type qui contient xxxxCR en minuscules
|
336 |
const documents = selectedData.filter(d => d.type.toLowerCase().includes("cr"));
|
|
|
|
|
|
|
|
|
337 |
|
338 |
showLoadingOverlay('Extracting requirements...');
|
339 |
toggleElementsEnabled(['extract-requirements-btn'], false);
|
|
|
327 |
console.log("Selected docs data");
|
328 |
console.log(selectedData);
|
329 |
|
|
|
|
|
|
|
|
|
|
|
330 |
// ne prendre que les documents avec un type qui contient xxxxCR en minuscules
|
331 |
const documents = selectedData.filter(d => d.type.toLowerCase().includes("cr"));
|
332 |
+
if (documents.length === 0) {
|
333 |
+
alert('Please select at least one xxxxCR document');
|
334 |
+
return;
|
335 |
+
}
|
336 |
|
337 |
showLoadingOverlay('Extracting requirements...');
|
338 |
toggleElementsEnabled(['extract-requirements-btn'], false);
|
static/js/gen.js
CHANGED
@@ -285,8 +285,7 @@ async function assessFTOReport(providerUrl, reasoningModel, fastModel, apiKey, s
|
|
285 |
problem_description: solution.problem_description,
|
286 |
solution_description: solution.solution_description,
|
287 |
});
|
288 |
-
|
289 |
-
console.log("FTO Length: " + assessment_template.length);
|
290 |
|
291 |
const assessment_full = await generateCompletion(providerUrl, reasoningModel, apiKey, [
|
292 |
{ role: "user", content: assessment_template }
|
|
|
285 |
problem_description: solution.problem_description,
|
286 |
solution_description: solution.solution_description,
|
287 |
});
|
288 |
+
console.log("FTO assessment Length: " + assessment_template.length);
|
|
|
289 |
|
290 |
const assessment_full = await generateCompletion(providerUrl, reasoningModel, apiKey, [
|
291 |
{ role: "user", content: assessment_template }
|