ASRCOMPILE

Deze helppagina is voor Studio. Deze informatie is ook beschikbaar voor Desktop Studio.

Ondersteunde scripttypen

Icon of purple telephone handset

Telefoon

Invoer Eigenschappen

Deze eigenschappen definiëren gegevens die de actie gebruikt bij het uitvoeren.

Variabele

Beschrijving

Bijschrift toevoegen

Voer een korte woordgroep in die deze actie in het script uniek identificeert. Het bijschrift verschijnt op het scriptcanvas onder het actiepictogram.

Grammatica Bestandsnaam The name of the grammar (GRXML) file you want to compile. You must upload this file in Studio prior to processing it with Asrcompile. The newly-compiled file will have the same name, but with a GRAM extension. After processing, the new file is stored with your other Studio files.
Resultaatvariabele The variable name that is created and holds returned information. For example, if the contact enters their account number as 123456, then the variable holds 123456.

Resultaatvertakkingsvoorwaarden

Met Resultaatvertakkingsvoorwaarden kunt u vertakkingen maken in uw script om verschillende uitkomsten te verwerken wanneer een actie wordt uitgevoerd.

Voorwaarde

Beschrijving

Standaard

Path taken unless the script meets a condition that requires it to take one of the other branches. It is also taken if the action's other branches are not defined.

Error

Path taken when the action fails to execute properly. For example, when there is an unexpected problem such as poor connectivity, syntax errors, and so on. The _ERR variable, with a single underscore character, should be populated with a condensed explanation of the problem.

Voorbeeld van een script

Dit is een voorbeeld dat toont hoe deze actie kan worden gebruikt in scripts. Het is niet bedoeld als een compleet script. Extra scripting kan vereist zijn.

In dit voorbeeldscript wordt Asrcompile gebruikt om het grammaticabestand te compileren. Geslaagd resulteert in een gegenereerd grammaticabestand, dat kan worden gebruikt door uw ASRClosed Automatische Spraakherkenning. Hiermee kunnen contacten reageren op Prompts door te spreken, telefoontoetsen in te drukken, of beide.-ondersteunde IVRClosed Interactive Voice Response. Geautomatiseerd telefoonmenu dat contacten via Spraak of toetsinvoer gebruiken om informatie te verkrijgen, een inkomende spraakoproep te routeren, of beide.. Als er een probleem is met het bronbestand, of als er een verwerkingsfout optreedt, volgt het script de OnError-tak. In beide gevallen, geslaagd of fout, wordt het script beëindigd met de END-actie.

Voorbeeldscript dat de ASR Compile-actie gebruikt

Downloaden dit script.