Rate this page:

DialogflowModel

Add the following line to your scenario code to use the enum:

require(Modules.AI);

Constants

DEFAULT

Copy URL

Use this model if your audio does not fit one of the previously described models. For example, you can use this for long-form audio recordings that feature a single speaker only. Ideally, the audio is high-fidelity, recorded at 16,000Hz or greater sampling rate.

PHONE_CALL

Copy URL

Use this model for transcribing audio from a phone call. Typically, phone audio is recorded at 8,000Hz sampling rate. Note: The enhanced phone model is a premium model that costs more than the standard rate.

VIDEO

Copy URL

Use this model for transcribing audio in video clips or ones that includes multiple speakers. For best results, provide audio recorded at 16,000Hz or greater sampling rate. Note: This is a premium model that costs more than the standard rate.