Skip to main content
Version: v2.7 print this page

Document Store

The document store is a one of the core component of the IDP where users have the ability to engage with their PDF, PNG, JPG, and TIFF files, allowing for the extraction of diverse forms of text data. This encompasses tables, forms that contain key-value pairs, as well as signatures. The files that have been processed through the document store can be utilized for additional operations using process flows.

How to create a Document Store?

  1. Select Document Store from the Services in the top left corner and Click on + New Document Store
  2. Fill in the required fields (Details listed below) and click on Create Document Store button.

Following fields are needed to create an Document Store:

PropertiesDetails
Document Store NameA name for the Document store. This should be unique across the platform.
EngineThe type of Engine which will be used for processing files in the document store. Can be broadly of 3 types:
  • Textract: Uses Amazon Textract service to process files.
  • Model: Uses one of the enabled Models to process files.
  • None: If you wish to not do any processing on the document store side.
Trigger TypeThis field is applicable only if Engine is not None. There are three trigger types:
  • On-Demand: Run as per the need.
  • Time-Based: Run based on specific schedule as per requirement.
  • File-Based: Run whenever a new file is uploaded.
Schedule ExpressionTime-Based trigger type require a schedule expression. i.e., Every 15 min, daily, etc. Read more
DescriptionDescription of the Document Store being created.
KeywordsKeywords indexed & searchable in app. Choose meaningful keywords to flag related stores & easily find them later.
FeaturesThis field is applicable only if engine is Textract. Types of features that user wants to enable for Document Store: FORMS, TABLES, SIGNATURES.
User PromptThis field is applicable only if engine is selected as one of the enabled Models. This prompt is passed on to the model for extracting required information from the uploaded files.
Auto Create SourceEnabling this option allows user to auto-create the Source Dataset required for the Document Store or user can choose a Source Dataset from the list of their Amorphic datasets by disabling this option.
Use Default DomainAmorphic dataset for Document Store will be created in default domain by enabling this option or user need to choose a different domain in Amorphic.

Below image shows how to create a new Document Store Create Document Store

Note

After its creation, you cannot modify the Name, Source Dataset, or Domain of a Document Store.

Documents that undergo processing in Document Store without any features will be labeled as "completed," even though OCR results are not present.

Note

If a model is selected as the document store's engine, it must support images as an input modality. For non OpenAI models the application will showcase this information.

Also note models are only capable of extracting key-value pairs and tabular data.

How to import files into Document Store?

User can run OCR process on documents after uploading them to Document Store. There are two ways to import files into Document Store.

1. From an existing Amorphic dataset

User can import files from an existing Amorphic dataset to Document Store by specifying the source dataset at the time of Document Store creation. To import files from an Amorphic source dataset, disable Auto Create Source in the Advanced options and select a Source Dataset at the time of Document Store creation. All the files metadata in the Amorphic source dataset will be imported into the Document Store after the completion of store creation and this will be an asynchronous process.

Disable auto create source

2. By manual file upload

User can also upload files to the Document Store whenever it required. To upload files to the Document Store follow below steps:

  1. Select the Document Store that you want to upload files to and click on the Upload in the top right corner.
  2. Add the files that you want to upload and click the Upload(n) Files button. All the files will be uploaded into the Document Store.

Below image shows how to upload files to the Document Store Upload files to Document Store

How to Run a Document Store?

There are 3 ways to run a document store based on the Trigger-Type.

  1. On-Demand
  2. File-Based
  3. Time-Based

1. On-Demand

As the name suggests, users can run On-Demand Document Stores whenever they want.

Following are the step to run a document store on-demand.

  1. Select the document store you want to run and click on the RUNS tab.
  2. Click on the Trigger Job button and select the FileType from the drop-down list.
  3. The FileType can be any of the following:
    1. All Files: OCR operation will run on all files except already processing files.
    2. Select Files: User can select a list of files to be picked up. All the files in that list will be picked for OCR operation except already processing files.
    3. Latest Files: OCR operation will run only on the pending files.
    4. Failed Files: OCR operation will run only on the failed files.
  4. Click on the Trigger Run button and to start the Document Store run.

After the completion of Document Store run, user will get an email with all the details of that run. If the run was made using a Model as the Engine, then model usage related information will be present at both the run level and file level. The model usage is represented by Input and Output AIUs(Amorphic IDP Units).

Below image shows how to run a Document Store Run Document Store

2. Time-Based

Users have the option to schedule the execution of a Document Store. Document Stores with the Trigger-Type set as Time-Based will automatically run according to the specified schedule expression.

3. File-Based

If the Document Trigger type is File-Based, then whenever a file is uploaded to the Document Store, it'll trigger a new run on that document store automatically.

Note

There will be a new run for each file uploaded to the Document Store, i.e., if user upload 50 files to the Document Store, it'll trigger 50 new runs.

How to edit a Document Store?

User can edit details of a Document Store after the creation of that Document Store.

  1. Select the Document Store you want to edit and click on CONFIGURATION tab.
  2. Click on the edit icon in the Metadata and update the required details then click on Update Document Store button.

Below image shows how to edit a Document Store Edit Document Store

How to re-sync source dataset files?

User have the option to sync back the files in the source Dataset to Document Store if there are any files in the source Dataset are missing from Document Store. This will be an asynchronous process and user will get an email with details of files that synced back to the Document Store after the completion of this process.

  1. Select the Document Store and click on FILES tab. Click on the accordion to expand more details.
  2. Click on the '3 dots' next to the files Stats chart and click on the Sync Files button and then Confirm to start the file syncing process.

Below image shows how to sync back the files in the source Dataset to Document Store Resync Source Dataset files

How to share a Document Store?

Owners of the Document Store can share it with other users in the IDP. There are two types of access control for Document Store, Owner Access and Reviewer Access. Owners of the Document Store can do any operation on those Document Stores(run, upload file, edit etc.) whereas the reviewers can only view the Document Store.

To share a Document Store with other users in the IDP, follow these steps:

  1. Select the Document Store that you want to share and click on Share button in the top right corner.
  2. Click on the +(Provide Access) button.
  3. Select the username of the user to whom you want to share the Document Store with and also select the access type(Owner or Reviewer) and click submit button.

Below image shows how to share a Document Store with other users. Share Document Store

How to delete a Document Store?

Users can delete a Document Store when there are no ongoing runs currently associated with that Document Store. Follow these steps to delete a Document Store:

  1. Select the Document Store that you want to delete and go to CONFIGURATION tab.
  2. Click on the delete icon in the Metadata section and click on the Delete Document Store button to confirm the deletion.
Note

User can't delete a Document store that are associated with a Process Flow. To delete these Document Store, user needs to delete the Process Flow first. Read more

Below image shows how to delete a Document Store Delete Document Store

Note

Deleting the Document Store will exclusively remove all the Document Store-related metadata from IDP. The datasets created as part of the Document Store will still remain in Amorphic.