Resource fetching properties

This section describes the resource fetching properties that Voice Platform supports.

audiofetchhint

Optimizes dialog interpretation by prefetching audio. Possible values include:

  • safe—Indicates that audio is only fetched when it is needed.
  • prefetch (default)—Permits, but does not require the platform to prefetch audio.

audiomaxage

Specifies the maximum acceptable age, in seconds, of cached audio resources.

audiomaxstale

Specifies the maximum acceptable staleness, in seconds, of expired cached audio resources.

contextfetchhint

Specifies whether or not the context files may be prefetched. Possible values are safe or prefetch (default).

contextmaxage

Specifies the maximum acceptable age, in seconds, of cached context files.

contextmaxstale

Specifies the maximum acceptable staleness, in seconds, of expired cached context files.

datafetchhint

Specifies whether or not data documents may be prefetched. Possible values are safe or prefetch (default).

datamaxage

Specifies the maximum acceptable age, in seconds, of cached documents.

datamaxstale

Specifies the maximum acceptable staleness, in seconds, of expired cached data documents.

documentfetchhint

Specifies whether or not documents can be prefetched. Possible values are safe (default) or prefetch.

documentmaxage

Specifies the maximum acceptable age, in seconds, of cached documents.

documentmaxstale

Specifies the maximum acceptable staleness, in seconds, of expired cached documents.

fetchaudio

Specifies the URI of the audio to play while waiting for a document to be fetched. The default is not to play any audio during fetch delays. There are no fetchaudio properties for audio, grammars, objects, and scripts. The fetching of the audio clip is governed by the audiofetchhint, audiomaxage, audiomaxstale, and fetchtimeout properties in effect at the time of the fetch. The playing of the audio clip is governed by the fetchaudiodelay, and fetchaudiominimum properties in effect at the time of the fetch.

fetchaudiodelay

Specifies the time interval to wait at the start of a fetch delay before playing the fetchaudio source.

fetchaudiominimum

Specifies the minimum time interval to play a fetchaudio source, once started, even if the fetch result arrives in the meantime. The default value is 3 (seconds).

fetchtimeout

Specifies the timeout for fetching new documents or resources. If the fetchtimeout property is not explicitly set, or is set to empty string (" "), any value set for the browser.loading.fetchtimeout property in the Management Station is used as the default. If no other value applies, the platform default value of 10000ms is used. If specified, the fetchtimeout property must be set to a positive value.

grammarfetchhint

Not supported.

grammarmaxage

Specifies the maximum acceptable age, in seconds, of cached grammar documents.

grammarmaxstale

Specifies the maximum acceptable staleness, in seconds, of expired cached grammar documents.

nuance.fetchaudiointerval

Controls the time interval between fetchaudio loops. The default value is 0s.

scriptfetchhint

Specifies whether or not scripts may be prefetched. Possible values are safe or prefetch (default).

scriptmaxage

Specifies the maximum acceptable age, in seconds, of cached scripts.

scriptmaxstale

Specifies the maximum acceptable staleness, in seconds, of expired cached scripts.