ID: 13469

Print Friendly, PDF & Email

Configure Veritone AI on Hub

Once you have configured Hub in Zoom and installed your Hub Server, you can add Veritone settings to it.

On the Hub Server where you want to run AI jobs, open the conf folder inside the Hub installation directory. Inside the conf folder, locate ai-spec.xml.

<AiSpec xmlSpecVersion=”4″>


You need to set a few tags here:

  • scratchDir – set this for a temporary directory which is used to hold data in an intermediate state. For example, file proxies are kept in this directory until they are sent for AI analysis. Another use of it is to store AI data in the intermediate state. It is recommended to point this directory to a large storage volume where hundreds of proxy files can be stored easily. These files will be removed after completion of a job, but enough space should be provisioned for the intermediate time.
  • maxThreadCount – set this for the maximum number of AI jobs that can be executed in parallel.
  • maxRetryCount- set this for the maximum number of times a job should be retried on failure before marking it as failed.
  • previewServerUrl – this tag should point to your Preview Server’s URL. Without populating this tag, the Hub will not be able to download the proxies for AI analysis.
  • bucketName inside veritoneSpec – you need to specify the name of the S3 bucket for storing proxies for AI analysis. The hub needs a temporary staging S3 bucket to upload and store proxies. This is only required when Veritone is used as an AI connector.
  • awsAccessKeyId inside veritoneSpec – specify the Access Key ID for the S3 bucket specified above.
  • secretAccessKey inside veritoneSpec – specify the Secret Access Key for accessing the S3 bucket.
  • region – set the AWS region where the S3 bucket is hosted.
  • defaultPublicLinkExpiryInDays – set this as the number of days after which data won’t be available in the bucket. This is the same as the number of days configured for the expiration rule on this bucket inside lifecycle rules.
  • veritoneAiProviderLimit – set this property to limit the total number of jobs that the Hub will send to Veritone for processing. The Hub will stop processing more files after reaching this limit. This is used to prevent going over the allotted number of jobs for billing purposes.
  • maximumVeritoneJobs – controls the maximum number of Veritone AI jobs to run at one time. If these many jobs are running on Veritone, no further jobs will be scheduled.


Save and close the file.

Restart your Hub by running Hub restart from the bin folder inside Hub’s installation directory.