gaelhuser commited on
Commit
319084c
·
verified ·
1 Parent(s): db38cbc

Create prompts.py

Browse files
Files changed (1) hide show
  1. prompts.py +115 -0
prompts.py ADDED
@@ -0,0 +1,115 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Intro
2
+ prompt1a = """ You're a patent attorney. I want you to write a European Patent application with me.
3
+ First, let's write the section about the Technical field. The title of the invention is"""
4
+
5
+ example_title = """ "Strap for a plastic bottle" """
6
+
7
+ prompt1b = """. Complete this sentence by filling the placeholders represented by {...}:
8
+ The present invention generally relates to the field of {...}, and more particularly to techniques for {...}.
9
+ Use at least 100 words in your answer. Answer directly without making any greetings or comments."""
10
+
11
+ # Background
12
+ prompt2a = """Now let's write the section "Background".
13
+ Here is the context to consider:
14
+ The current state of the art is the following: """
15
+
16
+ example_SOTA = """Beverage holder straps lack the convenience of being easily detachable. Morevover, these often tens to accumulate dirt over the passage of time. """
17
+
18
+ prompt2b = """
19
+ The disadvantage of the current state of the art is the following: """
20
+
21
+ example_disadvantage = """ Current bottle straps present the challenge of removability, often encouraging the users to throw out the bottle with the strap whenever the apparatus gets too old or its appearance degrades. A removable strap ensures a more sustainable use of the plastic bottle."""
22
+
23
+ prompt2c = """ The Objective is the following: """
24
+ example_objective = """ Enable the user to easily detach the bottle strap in order to clean it or change it with a replacement."""
25
+
26
+ prompt2_end = """ Generate text by taking into account the context that I gave you just before and by following these instructions:
27
+ Start by describing the current state of the art, then its disadvantages, and then the objective of the present invention.
28
+ Be sure to write at least four detailed paragraphs.
29
+ In the last paragraph, formulate the objective by filling the placeholders represented by {...} in the following sentence:
30
+ "It is therefore an objective of the present invention to {...}, thereby overcoming the above-mentioned disadvantages of
31
+ the prior art at least in part". Don't mention anything about how the solution will be achieved.
32
+ Answer directly without making greetings or comments."""
33
+
34
+ # Claim 1
35
+ prompt3a = """Let's write the section "Summary of the invention" for the independent claim 1.
36
+ Claim 1:"""
37
+
38
+ example_claim1 = "A drinking bottle strap (100), comprising:\
39
+ \na. one or more dedicated attachment modules (102), each configured to assist a user (112) attaching or removing a comaptible beverage recipient;\
40
+ \nb. wherein at least one of the function modules (102) is configured to access a compatible complimentary hook located on the bottle outer ring; \
41
+ \nc. wherein an elastomer strap (104) ensures secure holding of the beverage recipient (108) as well as complying with aesthetic constraints (109)."
42
+
43
+ prompt3b = "Technical advantages: "
44
+
45
+ example_tech_adv = "The bottle strap enables secure use of beverage holder for fighting dehydration without jeopardizing \
46
+ the appearance of fashion-conscious subject."
47
+
48
+ prompt3c = """Here are the style instructions:
49
+ Write only continuous text, no lists. No filler expressions like "in this context", "additionally", "furthermore", "moreover".
50
+ Don't use expressions like "key idea", "critical aspect", "crucial", but each claim element appear equally important.
51
+ Omit any reference that might occur in the claim.
52
+
53
+ Here are the format instructions:
54
+ Write "One aspect of the present invention relates to a/an {generic term of claim 1}".
55
+ The generic term is typically the part of the claim before the first occurrence of "comprising" or the first ":".
56
+ Then, give a definition of all key terms that occur in the generic term like "A {...} may be understood as {...}
57
+ You may look up Wikipedia.
58
+
59
+ The claim elements are the enumerated items following the generic term of the claim. If the claim elements are found, write a paragraph for each
60
+ claim element.
61
+
62
+ For each paragraph referring to claim elements, write "It may be provided that {...}" followed by the first claim element.
63
+ Again, give a definition of all key terms that occur for the first time in the claim element.
64
+
65
+ Then, explain one or more technical advantages of the claim element. Consider the context information and add technical
66
+ advantages as you see fit. Don't say "the advantage" but "one advantage". Don't say “claim element” but “this arrangement".
67
+ Make this very compelling and persuasive. Explain how the claim element actually provides the stated technical advantages,
68
+ and only argue with words which are part of the claim element. The technical advantages must be apparent to a person skilled
69
+ in the art from the claim element.
70
+
71
+ Make sure that each and every claim element of claim 1 is repeated in your output.
72
+ Work only with the claim 1 I gave you, don't make anything up.
73
+ """
74
+
75
+ # dependent claims
76
+ prompt4a = """ Now, let’s write the section "Summary of the invention" for the dependent claims.
77
+
78
+ The dependent claims are designated by "Claim 2", "Claim 3", and so on. They are listed below: """
79
+
80
+ example_dep_claim = """
81
+ Claim 2: drinking bottle strap (100) of claim 1, wherein 
82
+ a. the secured attachment module (108) is a secured cloud hook (204), in particular molded from plastic material; or 
83
+ b. the secured attachment module (108) is a retractable hook mechanism (202) which the user can actionate.
84
+
85
+ Claim 3: The drinking bottle strap (100) of any one of the preceding claims, wherein the drinking bottle strap (100),
86
+ in particular any function module (102) of the drinking bottle strap (100), is configured to attach an elastomer strap (104)
87
+ to a beverage recipient.
88
+
89
+ Claim 4: The drinking bottle strap (100) of any one of the preceding claims, wherein the elastomer strap (104) enforces one or
90
+ more measures to prevent dehydration.
91
+
92
+ Claim 5: The drinking bottle strap (100) of any one of the preceding claims, wherein the one or more function modules (102)
93
+ comprise an integrated bottle strap system (314) configured to:
94
+ a. mechanically attach a beverage holder to a person;
95
+ b. mechanically adjust the length of the strap according to the holder body type;
96
+ c. aesthetically ensure positive appearance thereby warranting popularity and seduction potential of the bottle strap user;
97
+ """
98
+
99
+ prompt4b = """ Here are the style instructions:
100
+ Write only continuous text, no subheadings, no lists. No filler expressions like "In this context"; "additionally"; "furthermore"; "moreover".
101
+ Don't use expressions like "key idea", "critical aspect", "crucial", but let each claim element appear equally important.
102
+ Omit any reference signs that might occur in the claim.
103
+
104
+ Here are the format instructions:
105
+ Write "it may be provided that {...}" followed by the claim element of the dependent claim, usually after a "wherein" clause,
106
+ or followed by the first claim element if there are multiple claim elements.
107
+ Give a definition of all key terms that occur for the first time in the claim element, like "{...} may be understood as {...}".
108
+ You may look up Wikipedia. Then, explain one or more technical advantages of the claim element. Consider the context information
109
+ and add technical advantages as you see fit. Don't say "the advantage" but "one advantage" Don't say "claim element" but "this arrangement".
110
+ Make this very compelling and persuasive. Explain how the claim element actually provides the stated technical advantages,
111
+ and only argue with words which are part of the claim element. The technical advantages must be apparent to a person
112
+ skilled in the art from the claim element. If possible, try to include technical effects accepted by the EPO, especially relating to """
113
+
114
+ example_technical_effects = """better use of processing power using recyclable materials, preventing dehydration. """
115
+