Documents

You can upload, modify and inquire the target data for searching in the 'Documents' menu. To use MRC, you must upload your documents.

'Document' page
  • ID: A unique code assigned to each document. If you do not specify a code, the system will automatically assign a code.

  • Title (Required): A title of a document.

  • Content (Required): Core target data for searching. Searching with MRC is more suitable for longer paragraphs than shorter ones.

  • Created at: Shows the time the documents uploaded on the server.

Insert documents by 'File upload' button

Click the [File upload] button, and a new drag and drop window for upload will pop up. The same can be done by clicking the 'File upload' button in the '…' icon button at the top right of the page.

'Document default(File upload)' page

Supported file formats: json, xlsx

'Upload document' page

Drop a file or click the box to upload. For xlsx files, it is recommended that the files contain fields for ID, Title and Content. Click the 'Preview' button to preview the data.

'Document upload file preview' page
'Document upload file preview_configure the ID, title, content' page

To configure ID, Title and Contents fields of documents, click the drop-down box at the top of the first row of the table. Then, click the 'Save' button at the bottom of the page to upload the file to the server.

Insert a single document by 'Add document' button

'Add a document' button

Insert documents by API

POST http://alpha.42maru.com/api/application/documents

Insert a document

Headers

Name
Type
Description

X-PLATFORM42-APP-ID

string

Application id

X-PLATFORM42-API-KEY

string

Key with access to application

Body parameters

content is an essential information.

Insert multiple documents

POST http://alpha.42maru.com/api/application/documents/bulk

Insert multiple documents

Headers

Name
Type
Description

X-PLATFORM42-APP-ID

string

Application id

X-PLATFORM42-API-KEY

string

Key with access to application

Body Parameters

content is an essential information.

Documents management

Document management
  • Edit a document: You can modify a document by clicking a edit icon at the bottom right hand corner of the document item.

  • Delete a document: You can delete a document by clicking a trash can icon at the bottom right hand corner of the document item.

  • Delete all documents: You can delete all the documents from the server by clicking the 'Delete all' button in the '…' icon button at the top right of the page.

Last updated

Was this helpful?