Re-writing text with LLMs [+Drafting Option Only]

OpenAI GPT, Claude and other LLMs do a great job rewriting and correcting English text, so ClaimMaster's patent drafting tools let you store and invoke helpful prompts with the configured LLM service for rewriting existing text generated by ClaimMaster other patent drafting tools or any other text in the document. 



To access LLM rewriting tool in ClaimMaster, follow these steps:



Getting Started

  • Option 1 - from any patent drafting tools menu (e.g., generating Abstract, Summary, flowchart descriptions, claim cloning, etc.), click on the Re-write text with LLM  button or right-click on the preview text window and select Re-write selected text with LLM  menu option.  If any text is selected in the window, only that text will be rewritten.  Otherwise, the entire contents of the preview window will be passed to the LLM prompt for re-writing.



  • Option 2 - alternatively, select any text region in your open Word document, right click with a mouse and select Rewrite selection with LLM option from the drop-down menu:




Invoking either of these options will open the LLM text rewriting window.



Rewriting text with LLM window

Once you select the feature from the menu above, the LLM text rewriting window will come up. The following operations are available for this feature:




    1. Use this drop-down menu to select the specific LLM  rewriting/post-processing prompt template.  For the LLM prompt template to appear in this list, it must be selected as "post-processing template" in the prompt settings:



    1. Use the filter field to limit the list shown in the template menu to only those templates that at least partially match the filter.  To remove the filter, click on the "Clear" button.


    1. Shows the preview of the final LLM prompt with the input data inserted. This will be the prompt that will be sent to LLM. You can make edits/adjustments to this prompt directly in the window.  The beginning of the prompt are the instructions, separated via "###" from the actual text to be rewritten.  For best results, try to be as precise and detailed in your instructions to LLM as possible. 


    1. Press this button to open LLM settings window.


    1. Use this slider to make LLM responses more or less random/deterministic. Corresponds to the temperature setting for the LLM.  Higher values will make LLM output more random/creative, while lower values like 0 will make it more focused and deterministic. We recommend setting this field close to 0 for rewriting operations. It's a good practice to always review LLM responses for factual correctness, especially if you are using  prompts with settings for higher response randomness/creativity.


    1. Press this button to send the full prompt  (item 3) to LLM. As mentioned above, ClaimMaster does not automatically access the configured LLM services using API. You will only send a prompt to the configured LLM when you press this button.  Once a response from LLM is generated, you'll be able to view the answer in the Questions & Answers tab (item 10).   You can also ask follow-up questions.


    1. Once a response from LLM is received, you'll be able to view the LLM answer in the Questions & Answers tab.





    1. You can right-click on the Questions & Answers window to bring up a menu for copying the answer, inserting the answer into the open Word document or into new Word document. 
    2. Click this button to see the differences between the text passed to LLM and the rewritten text.  This is a very helpful feature to pick up on any subtle differences between LLM input and the produced output.





    1. If this checkbox is selected, when text is inserted back into the open Word document, it will be inserted with Track Changes.


    1. Press this button to accept the rewriting edits made by LLM.  If the LLM rewrite feature was invoked from a patent drafting tool (Option 1), then the rewritten text will be placed back into the preview window of that tool.  If the LLM rewrite feature was invoked directly for the selected text in the open Word document (Option 2), then the rewritten text will replace the selected text in the open document.  


    1. Press this button to cancel the rewriting operation.  The edits made by LLM will be ignored..