Cycloud DMS Documentation

Overview

The Cycloud Document Management (DMS) software is a lightweight, easy to use software application that enables the user to check documents created using Microsoft Word for spelling and grammar using Artificial Intelligence (AI) technology.

Cycloud DMS is simple to install and use and has been designed to run on supported operating systems and requires minimal hardware resource.

Cycloud DMS requires all specified prerequisites to have been completed prior to installation. This document explains in detail the required prerequisites as well as how the Cycloud DMS installation should be completed as well as operational use of the software.

Installation

Installation Process and Flow

The following diagram shows the Cycloud DMS installation process including any prerequisites required and the order of each one.

Prerequisites

Internet access is required for various aspects of the installation and implementation.

Services Infrastructure (Step 1)

Cycloud DMS leverages the power of AI. The AI technology used for Cycloud DMS is OpenAI hosted within Microsoft’s Azure Cloud platform.  It is therefore necessary to create the required Azure service objects that allow Cycloud DMS to function.

Azure Tenant (Step 1a)

In order to create the required Azure service objects an Azure account is required.  Further information is available here that explains how to create an Azure account if one is not already available.

OpenAI signup (Step 1b)

At the time of writing the Azure OpenAI services were not on general release so a formalised request to join them was necessary.  If this is still the case then this step would need to be completed prior to the creation of the OpenAI service so please take advice from Microsoft however it is assumed that this step will not be required when the OpenAI services are released for general usage.

Create OpenAI service (Step 1c)

To create the OpenAI service it is necessary to firstly login to the Azure Administration portal.  This can be found at the following URL.  Once logged in go to the search at the top of the page and type “OpenAI” as the diagram below shows.  

Select Azure OpenAI and then select “Create” from the top menu.  This will provide the form to create the Azure OpenAI service.  Fill in the form with the relevant information such as your Subscription, Resource Group and Region where you want the OpenAI service to be created.  It is advised that the service is created in the region where the users that are going to be accessing it are based.  This ensures that the latency is kept to a minimum.  At the time of writing there was only one pricing tier available and that was “Standard S0”.

The name chosen for the OpenAI service will be required later when the configuration of the Cycloud DMS software is performed so please keep this to hand.

When all the information is entered click next.  This will allow the network aces to be configured.  Please select “All networks, including the internet can access this resource” which allows access to the service by anyone using the Cycloud DMS software.

Click next and proceed to the next screen where tags can be added if required.

Click next and again and proceed to the “review and create” form.  Review the configuration added and click create. 

It will take a few minutes to create the service.  After it is created it will be visible in the Azure portal.

Create OpenAI model deployment (Step 1d)

The OpenAI service created in the previous step is required to be deployed.  This is achieved by creating a “Model Deployment”.

In order to do this simply select the previously created OpenAI service from the Azure portal. #

On the right-hand side, you will see an option for “manage keys”.  Clicking on this option will reveal the following form.

Copy either key 1 or key 2 to the clipboard by using the icon next to each in the form.  Only one of these is required.  Take a note of what the key is by recording it as this will be required later when the configuration of the Cycloud DMS software is performed so please keep this to hand.

Next thing to do is select “Model Deployments” from the left-hand menu and then select “Manage Deployments” from the main form.  You will then need to provide your subscription information and OpenAI service as the resource.   

Once the subscription and OpenAI service has been selected and submitted using the form you will be placed into the OpenAI studio environment, and the following form will be displayed providing a means of creating a deployment.

Selecting “Create new deployment” from the form will display the following form.

Select the “Create new deployment” option from the menu will open up the following form.

Select “gpt-35-turbo” from the “Select a model” dropdown box.  When this is done another dropdown will appear that allows the select of the model.

The model version should be 0613.  This is the model that has been tested and is therefore recommended to use.  Other model versions will be tested as and when they are released.

Input a name for the deployment in the “Deployment name” dropdown box and make a note of this for later as it will be needed in the configuration of the Cycloud DMS configuration. 

Next click on the “Advanced option” which will show the flowing form.

The “Model name” will reflect your previous selection.  The “Content Filter” dropdown should be set to “Default”.   Ensure that the “Tokens per Minute Rate Limit” is set to a minimum of 120k (or whatever chosen capacity is available within your subscription).  This setting is also dependant on how many users are using the OpenAI service simultaneously so it may need some thought as well as some testing to get the optimum setting.  If a requirement for a higher quota in terms of the “Tokens per Minute Rate Limit” this is possible by contacting Microsoft directly in order to get the quota increased.  Set the “Enable Dynamic Quota” to enabled.  This setting will ensure that the Cycloud DMS software is able to best take advantage of the dynamic nature of the Azure cloud’s capabilities at any given time.  Lastly select “Save and Close”

The deployment should be displayed within the Azure console at this point as the following form will acknowledge.

Each property of the deployment will be displayed in column format.  Check these properties are correct before moving on.  If they are not correct, they can be altered using the “Edit deployment” option from the menu.

It is important to note that even though deployments may be visible in the Azure console it may take some time for the deployment object to actually be created.  In our testing we have observed times of up to 5 minutes before operational tasks can be performed.

Supported Operating Systems (Step 2)

Cyloud DMS software has been tested on all version of Windows 10 and 11.  These operating systems are supported. 

Server class as well multi-user operating system such as Windows multi-session or session host versions are not supported. 

Supported operating systems running on physical hardware is supported.  Solutions such as Citrix, VMWare or any other virtualisation technologies are not supported even when running a supported operating system.

Administrative user accoun

The user account used for the installation and implementation of the Cycloud DMS software is required to have administrative permissions. 

Supported Microsoft Word Versions

All versions of Microsoft Word are supported from the version provided with Microsoft Office 2018 up to the latest version provided with Microsoft Office 365.

Install Cycloud DMS (Step 3)

The Cycloud DMS software can be downloaded from the Cycloud website at the following URL.

After downloading the software, simply unzip it to a directory of choice (A directory such as C:\Program Files\Cycloud-DMS would be logical) which will be known as the installation directory and run the “Cycloud-DMS.exe” executable.   

The Cycloud DMS software requires a license in order to function.  A license can be requested using the following form.

When a valid license has been obtained it will be in the form of a file.  The file name will be “License.lic”.  This file cannot be altered with any editors as that will invalidate the license and will not be able to be used.  To install the license file all that is required is to copy it to the installation directory.  The license will be used when the Cycloud-DMS.exe is run.

It is highly recommended that the license file is installed prior to running the Cycloud-DMS.exe for the first time to reduce errors however should this not be the case there are suitable warnings within the software to guide the installer to install the license which are self-explanatory.

The first time the “Cycloud-DMS.exe” is run a number of tasks are executed as follows. 

  1. Create a config.ini file in the installation directory.
  2. Create a Documentation.txt file in the installation directory.
  3. Execute the EULA agreement form.
  4. Install the Cycloud DMS systray application.

The config.ini file is an ini file that holds all configuration information that the Cycloud-DMS software requires to function.

The Documentation.txt file is a file that explains what every setting does within the config.ini file and also explains the default settings.

The Cycloud EULA is required to be agreed using the provided form.

When the EULA has been agreed the software will execute however it is likely that the installer will be prompted with the following message informing them that configuration data is missing from the config.ini file.  This is because there are three vital pieces of information that is needed in order for the Cycloud-DMS software to be able to work.  Further information can be obtained by clicking the information icon within the prompt and also in detail in the next section.

Config.ini file vital configuration. (Step 4)

The next thing is to configure the config.ini file with three vital pieces of information.  This is required before the Cycloud DMS software will run.

The config.ini file is located in the installation directory.

In the [AI Settings] section of the config.ini file the following options require values.

OpenAI_Key=

OpenAIServiceName=

OpenAIDeploymentName=

The “OpenAI_Key” option should be populated with the key that was noted from step 1d.  This is the API key that the Cycloud DMS software uses to authenticate to the OpenAI service.

The “OpenAIServiceName” option should be populated with the name that was used in the creation of the OpenAI service in step 1c.

The “OpenAIDeploymentName” option should be populated with the name that was used in step 1d to name the deployment. After the three vital pieces of information are filled in within the config.ini file the Cycloud-DMS.exe can be run again.

Cycloud DMS first time execution. (Step 5)

Running the Cycloud DMS software is a simple matter of executing the Cycloud-DMS.exe file from the installation directory.

After all vital previous steps have been completed successfully the last few tasks are completed prior to the Cycloud DMS opening.

The first is the creation of the directory structure within the installation directory.  This directory structure consists of the following directories.

  1. Test-Documents
  2. Logs
  3. Checked-Documents

The “Test-Documents” directory contains documents that are for testing of the Cycloud DMS software.

The “Logs” directory is where log files that appertain to each document checked by the Cycloud DMS software.

The “Checked-Documents” directory is where documents that have been check by the Cycloud DMS software are deposited.

The last task is to install the systray helper application that appears in the systray and provides a number of options to aid the user when they are using the software.

After all tasks have been executed the Cycloud DMS software will open and an explorer window will be displayed as the following diagram shows.

It is important to note that the default directory that is used (unless explicitly configured in the config.ini) is the “Test-Documents” within the installation directory.

Configuration

Configuration of the Cycloud DMS software is straightforward.  All configurable features are represented in the “Config.ini” file located in the installation directory.  The critical configuration items would have been completed in the previous section however there are many other configurable items available.

In order to open the config.ini file it is advised that the Cycloud DMS systray application is used.  This systray application is installed the first time the Cycloud DMS software is run and persists within the Windows session (Unless it is unloaded) until a reboot.

Right clicking on the Cycloud DMS systray application displays the various options that are available one of which is “Edit Configuration”.  Selecting this option executes notepad and loads the “config.ini” within the installation directory.

Each of the “config.ini” file options are explained in the “Documentation.txt” file located in the installation directory.  Each option can be altered to reflect the users desired requirements.  It is important to note that the “config.ini” file is read by the “Cycloud-DMS.exe” file each time it is executed so changes to the “config.ini” file are not dynamic so will only be effective after the “config.ini” file is saved with the new configuration and the “Cycloud-DMS.exe” file is run.

Configuration OptionDefault ValueExplanation
OpenAI_KeyBlankThis is the API key obtained in step 1c.  An API or Application Programming Interface key, is a unique identifier used to authenticate and control access to an API (Application Programming Interface).
AITemp0.0Temperature serves to regulate the level of randomness and creativity in the generated text by adjusting the probabilities of token selection during the generation process.  The default setting is the optimum and should not be changed.
AILanguageEnglish United KingdomThis is the language that the AI will use to return data.  Supported settings are as follows. English United Kingdom English US
OpenAIServiceNameBlankThis is the name of the OpenAI service created in step 1c.  The OpenAIServiceName denominates the service that the Cycloud DMS software will use. 
OpenAIDeploymentNameBlankThis is the name of the OpenAI deployment created in step 1d.  The OpenAIDeploymentName denominates the deployment that the Cycloud DMS software will use. 
OpenAIAPIVersion2023-09-15-previewThis is the Large Language Model (LLM) that is being used by the Cycloud DMS software.  This may change as later models are released.
OpenAIPromptTokensCostBlankThis is the cost of “prompt” tokens.  This cost is included in the return form presented to the user each time the Cycloud DMS software checks a document.
OpenAICompetionTokensCostBlankThis is the cost of “completion” tokens.  This cost is included in the return form presented to the user each time the Cycloud DMS software checks a document.
OpenAIReturnCostTrueThis is the setting that enables the display of cost information in the return form.  A setting of “False” would disable the feature.  This setting is also dependant on the “OpenAIPromptTokensCost”, “OpenAIPromptTokensCost” and “OpenAIReturnCostCurrency” settings having a value.
OpenAIReturnCostCurrency£This is the currency identifier displayed in the cost information form. Supported settings are as follows. £ or $
OpenAIStyleGuideBlankThis sets a style guide.  A style guide is a set of standards and guidelines that governs the use of language, grammar, punctuation, formatting, and stylistic elements in written communication. Style guides are commonly used by writers, editors, publishers, and organizations to ensure consistency, clarity, and professionalism in their written content. This is currently not supported at the moment but is expected in future releases.
DocOpeningDirBlankThis is the initial opening directory for the selection of files; however, the default opening directory will be the “Test-Documents” directory in the installation directory until the setting is configured with a valid directory name.   Supported settings are as follows. “True” or “False” or setting left blank.
DocSaveDirBlankThis is the setting used for the document save directory however the default save directory will be the “Checked-Documents” directory in the installation directory until the setting is configured with a valid directory name.   If a valid directory is specified then checked documents will be saved in that specified directory however if the configured directory is not valid or the setting is set to False or left blank then the documents will be saved in the Checked-Documents directory in the installation directory.   Supported settings are as follows. “True” or “False” or setting left blank.
DocCheckEnabledTrueThis is the setting for enabling the checking of documents by the Cycloud DMS software.    Supported settings are as follows. “True” or “False”.
DocVisibilityTrueThis setting either makes the document visible while it is being checked or invisible.  If document visibility is set to invisible then a wait screen will be displayed.    Supported settings are as follows. “True” or “False”.
DocSaveAsDocxTrueThis setting saves a copy of the original document with the changes that the AI had made in the directory specified in the DocSaveDir option.    Supported settings are as follows. “True” or “False”.
DocSaveAsPDFTrueThis setting saves a copy of the original document as a PDF file in the directory specified in the DocSaveDir option.  Valid settings are “True” or “False”.    Supported settings are as follows. “True” or “False”.
DocCloseTrueThis setting enables the closure of the original document.   Supported settings are as follows. “True” or “False”.
DocFontNameCalibriThis setting sets the font that the document is edited with.  If no font is configured and the setting left blank then the document will be edited in its original font. Supported settings are as follows. Name of the font or “Blank”.
DocFontColourBlankThis setting sets the font colour that the document is edited with.  An example setting would be “000000” which is the HEX code that represents the colour black.  If left blank the document would be edited using its original font colour.   Supported settings are as follows. Colour of the font using its associate HEX code or “Blank”.
DocCheckSpeed0000This setting sets the speed that the document is checked.  This setting is in units of milliseconds and is used as a pause between each sentence that is sent to the AI service.   Supported settings are as follows. Number of milliseconds from “0000” – “9999”.
LicNotifyTrueThis setting enables or disables license notifications.  Notifications are sent to the user when the Cycloud DMS software is executed if the license has less than 7 days left before coming invalid.   Supported settings are as follows. “True” or “False”.
SysTraySupportTrueThis setting enables or disables the systray application. The systray application is installed when the Cycloud DMS software is executed.   Valid settings are “True” or “False”. 
SendToSupportTrueThis setting is not used at this time.
EULAAgreedBlankThis setting is a system setting that represents the acceptance of the Cycloud EULA.  It is set to “True” when the user accepts the Cycloud EULA when the Cycloud DMS software is executed for the first time in step 3.

Operational Use

Cycloud DMS has been designed to be easy to use.  All that is required to load the software is to execute the “Cycloud-DMS.exe “executable file located in the installation directory (There are a number of ways to do this, either by double clicking the file in an explorer window or by selecting the “Check Document” option presented from the systray application in the systray).  This will result in an explorer window being presented to the user which in turn displays word documents in the directory specified within the “config.ini” file.

Selecting a word document will run the Cycloud DMS software and spelling and grammar checking with be performed using AI.  By default, the document will be visible whist the software performs the spelling and grammar checking but this is configurable by the “DocVisibility” option within the “config.ini” file.  Should this not be required then the setting would simply be set to “False”.  It is important to note that Cycloud DMS does not edit the original document so this document will remain in its original location.  It is important to note that if the document is not displayed while checking is being executed a form similar to the following will be displayed to the user indicating that the Cycloud DMS software is working and checking the selected document.  The form will be closed when the Cycloud DMS software has completed the checking of the document.

Edited documents will be saved to the directory specified in the “config.ini” file as either. Docx, .PDF or both formats depending on the configuration of the “config.ini” file.  The setting options that are responsible for what format the file is saved in are the “DocSaveAsDocx” and “DocSaveAsPDF” options.

The speed that the Cycloud DMS software checks the selected document is controlled by the “DocCheckSpeed” option in the config.sys file.  This setting denotes the pause between each sentence checked.

There is no user interface as such to the Cycloud DMS software other than the systray application.  This application provides everything that maybe required from a user perspective so users are encouraged to look at the options available from this application and use them accordingly.  Options available at time of writing are as follows.