Multi-document Table
Last updated
Last updated
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.
As a first step, you need to upload the documents that you want to ask questions about.
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-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.
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.
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.
In the second step, you submit all the questions that you want to ask for each of the documents.
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.
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.
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.
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 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.
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.
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).