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
  • Step 1: Uploading documents
  • Simple DOCX uploads
  • PDF uploads
  • Grouped uploads
  • Step 2: Submitting questions
  • Loading existing question sets
  • Configuring questions
  • Constraining answers
  • Saving a question set
  • Step 3: Results
Export as PDF
  1. Generative AI

Multi-document Table

PreviousDoc ChatNextSemantic Search

Last updated 1 month ago

The Multi-document Table lives inside of the Doc Chat module. It allows you to ask multiple questions about multiple documents at once. You then get back a table with the answer to each question for each of your documents, which you can then optionally export to an Excel-file or table in MS Word.


Step 1: Uploading documents

As a first step, you need to upload the documents that you want to ask questions about.

Simple DOCX uploads

When you initially go to Multi-document Table, your currently opened document in MS Word is selected. However, you probably want to add several other documents as well, either by dragging them on the Upload area, or by clicking on the Upload area and selecting the files from the file selection dialog box of Windows/Mac.

PDF uploads

PDF-files will be immediately converted into .DOCX files, so that they become readable for ClauseBuddy. Take into account that converting PDF-files may several seconds or even up to a minute, depending on the length and complexity of the document.

Grouped uploads

Instead of uploading individual (PDF or DOCX) documents, you can also upload groups of documents. ClauseBuddy will keep all the documents in a group together when submitting them to the AI-engine to get answers.

The typical use case is when a contract/deal does not consist of an individual physical document, but instead consists of several documents — e.g., a main agreement and one or more schedules/annexes, or an initial document with several amendments signed during the years. When all those documents are uploaded as a group, the AI-engine will receive them together, and find answers within this group of documents.

To create a group of documents, click on the "..." button to the left of the regular upload area:

Next, you can upload one or more documents by dragging/selecting documents into the popup upload area, similar to how the regular upload area works:

The documents you upload as a group will then be shown separately.

It's probably a good idea to change the default name of the group (Group 1), because this name will be shown within the questions grid that is shown in Step 3 below.

Alternatively, instead of uploading documents into the upload-area within the popup, you can also create a group by choosing Create new group in the popup. This will create an empty new group.

Afterwards you can then move existing documents into the new group by clicking on the "..." to the right of the new group and choosing Move into this group.


Step 2: Submitting questions

In the second step, you submit all the questions that you want to ask for each of the documents.

Loading existing question sets

You can either load a predefined set (e.g., because you previously saved a set of questions yourself, or perhaps because a colleague defined questions for the entire team), or you can configure your own questions by clicking on the green Create your own set... option. In the screenshot below, you can see that there is a predefined set Various contractual questions that was prepared by the team administrator.

By checking Append to questions, you can add the questions to the end of any existing questions. This allows you to, for example, add some standard questions predefined by your administrator, in addition to some specific questions that you entered yourself.

Configuring questions

When you click on the green Create your own set you can configure your own questions (or change previously saved questions that you loaded or appended).

You can add any number of questions by clicking on the green + Question button at the bottom. For each question, you must indicate the type of information that is being asked.

While using "Text" (the first option) usually works, it is advisable to choose the most appropriate type. The reason is that the export to MS Excel will then be much more usable, because numbers, currencies, dates and yes/no answers will have the right formatting in Excel (so that you can then, for example, do date calculations or number operations in Excel).

If you don't plan on exporting to Excel, then choosing text is a good default setting.

Constraining answers

You can optionally constrain the answers that can be given by the LLM, by clicking on the Constrain button. This way, you effectively force the LLM to only choose one of the predefined answers; if necessary it will choose the closest one. In other words, this is a kind of multiple-choice.

Take into account that there's a bit of a grey zone for the LLMs, so whether they will strictly obey your constraints will depend on the LLM considered, the complexity of the question and the document considered. It may sometimes be the case the LLM does deviate from the predefined answers.

Saving a question set

If you plan on frequently using the same questions, you can save the questions for later reuse.

  • Click on the Save button at the top.

  • Give your question-set a good name and an optional description.

  • By default, the question-set is only available to you. If you want to make it available to colleagues, then select relevant access-rights in the dropdown list.

If you don't see the dropdown list shown in the screenshot above (Only accessible by you) then the right Publish Multi-document Chat Questions) is not enabled for your account by your ClauseBuddy administrator.

  • If you previously loaded a set of questions and now want to save it under a new name, then click on the grey Save as new button instead. If you would click on the blue Save button, the current question-set would be overridden.

Step 3: Results

In the final step, you have to click on the blue Process documents button. (If multiple LLMs are installed in your account, then you may want to choose a specific LLM from the dropdown list.)

ClauseBuddy will then get to work, and have the LLM go through each of your documents, answering each of your questions. You will see the results flow into ClauseBuddy while you are waiting.

A few notes:

  • Depending on your screen size and number of selected documents, at some point horizontal scrolling with the scrollbars at the bottom may become necessary.

  • You can hover over the answer itself (other than the number) to get a short explanation on the reasoning behind the answer.

  • You can hover over a number to get a popup-window with the relevant paragraph that was used by the AI-engine to formulate its answer.

  • You can click on a number to navigate to the relevant part of the document.

  • You can click on MS Word (DOCX) or MS Excel (XLSX) to export the results to Word or Excel.

    • Because MS Word is limited by paper size, each document's questions are answered in a separate table.

    • The Excel-file will follow the currently selected "rotation" of the table.

If you like, you can go back to Step 2 and add additional answers, or even go back to Step 1 and add additional documents.

Bear in mind that the Multi-document Chat eats up a lot of "tokens" from the LLM, particularly when the document is long and/or you are asking many questions. Depending on your contract, you may need to order additional tokens from ClauseBase or your LLM-provider.

You can click on the button in the upper left corner to "rotate" the table, i.e. to switch the position of the questions (left-side by default) and filenames (top-row by default).