ClauseBuddy
Quality LibTruffle HuntSmart TemplatesDoc AnalysisCompareAdmin
  • Welcome!
  • Getting Started
    • Quick Start Videos
    • System Requirements
    • Installation
    • Accessing the app
    • Enterprise deployment
    • Logins
    • Frequently Asked Questions
    • Encountering problems?
    • Help & Support Center
  • Quality Library
    • Searching Clauses
      • Overview
      • Searching by keywords
      • Browsing Folders
      • Filtering clauses
      • Inspecting clauses
    • Using Clauses
      • Inserting clauses
      • Configuration
    • Drafting Clauses
      • Creating clauses
      • Drafting the body of a clause
      • Smart placeholders
    • Custom styling
      • ClauseBuddy layout structure
      • Heading pane
      • Body text pane
      • Document title pane
      • Template detection pane
    • FAQ
      • How to create a new folder when you add a new clause?
      • How do I fill out a placeholder when adding a clause to a document?
      • How do I change a folder name?
      • How can I change the location of a clause in the library?
      • How do I delete a folder?
      • What’s the difference between green and purple clauses?
      • Why are not all attributes visible as filters?
      • When do I apply a status to my clause instead of an attribute?
      • How can I create my own attributes?
      • What is the difference between the Quality Library and the Truffle Hunt?
      • How can I avoid duplicating clauses when adding to the library?
  • Inspiration
    • Introduction
    • Truffle Hunt: clauses
    • Truffle Hunt: documents
    • Managing Truffle Hunt baskets
    • Process results with AI
    • Compliance
    • Samples Hunt
    • AutoSuggest
    • FAQ
      • Samples Hunt
        • From which database does Samples Hunt get its info?
      • Truffle Hunt
        • Can ClauseBuddy read and retrieve clauses from scanned documents?
        • How do I go to the document containing the found clause?
        • What is the difference between the strict and non-strict option when searching for clauses?
        • What's the best way to search for clauses in Truffle Hunt?
        • Is a clause modification in Truffle Hunt permanent?
        • Can you search multiple baskets at once?
        • Can you edit properties of documents in bulk such as doc title or year?
        • Can I store multiple clauses from Truffle Hunt in the Quality Library at once?
        • Is there a quick way to upload an open document to Truffle Hunt?
        • How can I update party names in a clause without manually overwriting?
        • What happens when I upload a duplicate clause or duplicate document to Truffle Hunt?
      • AutoSuggest
  • Generative AI
    • Introduction to GenAI
    • Write & Rewrite
    • Smart Merge
    • Doc Chat
    • Multi-document Table
    • Semantic Search
    • Compose Document
    • Custom LLMs
    • FAQ
      • Doc Chat
      • Compose Document
      • Write & Rewrite
        • Where does the AI get its inspiration?
        • Can I train the AI to match our company's spelling and style?
        • Can I save frequently used prompts to apply them faster?
        • How do I write good AI prompts?
      • Summarise
  • Document Analysis
    • Definitions
    • Proofreading
    • Reviewing: introduction
    • Reviewing: building rules
    • Running reviews
    • Checklists
    • Bracketeer
    • FAQ
      • Proofreading
        • Can I add my own custom checks to Proofreading?
      • Definitions
      • Document Reviewing
        • How come the Review document feature is not visible in my overview?
        • What do I name my review category?
        • What exactly do the questions do and what are they for?
        • Do requirements within a review category affect each other?
  • Operations
    • Text Compare
    • Bulk Compare
    • Bulk Operations
    • Deep Compare
  • FAQ
    • Text Compare
    • Bulk Compare
    • Bulk Operations
  • Smart Templates
    • Quick Tutorial: Smart Templates
    • Smart Templates in depth
      • Highlighting Word documents
      • Creating cards and questions
      • Conditions for cards & questions
      • Conditional text
      • Conditional rows, columns, sections & blocks
      • Template settings
      • Sharing templates
      • Tips when using Word
      • Comparison with Clause9
      • Integrations
      • Bulk create
      • Advanced drafting techniques
    • FAQ
      • Why is it that some users cannot see the ‘Templates’ feature?
      • Are Templates cross-platform?
      • Can I insert conditional images?
      • How do I update a template?
      • Why does the interactive preview sometimes fail to show numbering correctly?
      • How can I make a clause with multiple paragraphs conditional more efficiently?
      • How can I change the type of a question when creating a Smart Template?
  • Administration
    • Preferences
    • Managing folders
    • Managing attributes
    • Managing users
    • Linked Accounts
    • Managing access-bundles
    • Write & Rewrite
    • Export templates
    • External subscriptions
    • Access Matrix
    • Consult ClauseBuddy Usage Statistics
    • FAQ
      • I lost my login code!
      • Can I set-up a personal library for an individual user?
      • How do I delete a user?
      • Can I give someone else access to the admin account?
      • If I add a subscription, can this person see it and is my subscription also added to him?
      • I have access to ClauseBuddy, do I also have access to Clause9?
      • Is there 2 factor authentication for ClauseBuddy?
      • Can we choose which LLM is applied in ClauseBuddy?
Powered by GitBook
On this page
  • How to invoke
  • Selecting the texts to merge
  • Choosing relevant legal features
  • Inspecting the merge result
Export as PDF
  1. Generative AI

Smart Merge

PreviousWrite & RewriteNextDoc Chat

Last updated 8 months ago

The Smart Merge option allows you to intelligently merge two clauses (or selections of text) in an intelligent way, with the help of Artificial Intelligence.

How to invoke

Smart Merge is not a separate module that you can activate through the home page of ClauseBuddy; instead, it can be invoked before you insert a clause into your MS Word document. For example, within the Quality Library, it would be shown as follows:

Similar popup-menus can be found within Samples Hunt, Truffle Hunt and AutoSuggest.

Selecting the texts to merge

When you invoke Smart Merge, it will show show a dialog box with two different texts:

  • The text on the left side will consist of your currently selected text in MS Word, or — when no text is selected at all — the paragraph your cursor is currently positioned in.

  • The text on the right side will consist of the clause you were dealing with in ClauseBuddy (e.g., the AutoSuggest clause you selected and for which you invoked the popup-menu through the big "+" button).

However, you can change the text at either side by clicking on either the Use selection button (which will pick up the text from your current selection in MS Word) or through the Paste text button (which will paste text from your clipboard). So even if the dialog box was initially filled with some text, you can completely change these texts however you want.

Once your left side (Target clause) and right side (Merge with) are selected, you can click on the purple Analyse button to start the AI-analysis of the two texts.

Choosing relevant legal features

The AI will analyse your clauses to extract "legal features", i.e. relevant legal elements for the context, e.g. the way the duration of a contract is expressed, or the fact that some arbitration panel is chosen, or a certain termination right. The AI will thereby focus on relevant content-related legal differences, and skip over mere grammatical differences.

For example, the two simple clauses shown in the previous screenshot, were broken down into the following legal features:

Initially, all the legal features of the Target clause will be selected, while none of the Merge with features will be selected. It is then up to you do decide which features you want to add or remove, simply by clicking on either the green/red button or the associated text.

You can click on the eye icon at the right to see the actual text associated with this legal feature:

As you can see in the screenshot, it may also happen that legal features are "conflicting" with each other. For example, the clause on the left required complaints to be submitted within one month, while the clause on the right requires three months. You can hover over the orange or red Conflicting button to see the label(s) of the conflicting legal feature (conflicts may also exist with multiple legal features at once) :

The orange Conflicting warning merely expresses that there are potential conflicts; if you simultaneously enable two conflicting legal features, the orange will turn into red:

You will then, likely, want to disable one of the two conflicting legal features. For example, in the example below, the conflicting requirement from Merge with was deselected again

Once you have selected all the legal features you like, you can click on the purple Merge button to ask ClauseBuddy to merge the two clauses in the way you expressed. The AI will start from the target clause (i.e., the one that was initially at the left) and then:

  • remove undesired legal features, i.e. legal featurs that you disabled from the Target clause

  • add new legal features, i.e. legal features that you enabled in the Merge with clause

The AI will thereby start from the Target clause's terminology, and adapt the wording of the legal featuress taken from the Merge with clause, so that they are more consistent with the Target clause. You should however be aware that this merging operation will not be perfect, although the AI will often do a pretty good job.

In case you did not resolve conflicts and nevertheless merged, the AI will usually give precedence to the legal feature in the Merge with clause, to the detriment of the corresponding legal feature in the Target clause.

Inspecting the merge result

The AI will show you the final result:

You may want to check the difference between this text and the initial Target clause by clicking on the grey Compare button:

Finally, you can insert the new text into your MS Word file by clicking on the purple + Insert button. As is the case with this popup-menu elsewhere in ClauseBuddy, you can choose to either insert the new text

  • as-is, effectively removing the currently selected text (if any) in MS Word

  • with "track changes":

    • if no text is currently selected in MS Word, then the entire clause will be shown as an insertion

    • if some text is effectively selected in MS Word, then ClauseBuddy will compare the currently selected text of each paragraph with the new text that you're about to insert, so that partial insertions and deletions will typically be generated.

For example, when choosing Insert with changes while the initial clause was selected, the following result is generated in MS Word:

In addition, you can also invoke Smart Merge through an explicit button within , when comparing two entire documents.

Deep Compare