ASRSQL

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

Ondersteunde scripttypen

Icon of purple telephone handset

Telefoon

Invoereigenschappen

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.
Spellenregelitems Formats the detected utterance to each individual character of what was spoken instead of the whole word. This would be used when pulling account numbers or part numbers so each character is individual. The formatting adds a space between each of the characters. For example, ABC12345 would be A B C 1 2 3 4 5. The default is Yes/True.

In de Waardemodus: Klik op Nee om uit te schakelen.

In de Expressiemodus: Voer False in om uit te schakelen.

Is Uitvoer geformatteerd Formats the GRXML file so it is easier to read. It is formatted similarly to XML. The default is Yes/True.

In de Waardemodus: Klik op Nee om uit te schakelen.

In de Expressiemodus: Voer False in om uit te schakelen.

SQL-query

De SQL die de gegevens zou ophalen om het GRXML-bestand te bouwen. De eerste return van de SELECT instructie zou de uiting zijn die door de ASR-engine zou worden gedetecteerd om een overeenkomst te vinden. Bijvoorbeeld:

SELECT[Name]
	,[Address]
	,[Phone_Number]
FROM [dbo].[User_Table]
WHERE[ID]>0

In het voorbeeld hierboven is de eerste return in de SELECT  Naam, dus de grammatica zou worden opgebouwd om vermoedelijk de naam van een persoon te detecteren. Als er een match is, worden de Naam en het bijbehorende Adres en Telefoonnummer uit die record geretourneerd.

Time-out sec

Bepaalt hoe lang de IVRClosed Interactive Voice Response. Geautomatiseerd telefoonmenu dat contacten via Spraak of toetsinvoer gebruiken om informatie te verkrijgen, een inkomende spraakoproep te routeren, of beide. wacht op invoer (gesproken of via toetsaanslag) voordat de OnTimeout-branch wordt uitgevoerd. Dit is de drempelwaarde voor volledige stilte op de lijn. De standaardwaarde is 10 (seconden). Voer een geheel getal in als u dit wilt wijzigen.

Belangrijk De timer start alleen wanneer de Prompt volledig is afgespeeld. Het systeem heeft echter een ingebouwde maximumlimiet van twee minuten (120 seconden), inclusief de afspeelduur van de prompt. Als deze limiet tijdens een actie wordt bereikt, worden alle actieve prompts afgebroken en volgt het script de vertakking OnError. Daarom moet u de duur van uw prompts weten en voor dit veld een waarde instellen die ervoor zorgt dat de actie altijd minder dan twee minuten actief is.

Resultaatvertakkingsvoorwaarden

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

\n

Voorwaarde

\n

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.
NoRecords Path taken when the query submitted to the database does not return results.
Fout Path taken when there is an unexpected problem (for example, poor connectivity, syntax errors, and so forth). The _ERR variable should be populated with a condensed explanation of the problem.
Time-out Path taken if there is no response for the number of seconds specified.

Tips en trucs

U kunt de languageLocale-variabele doorgeven vanuit de Voiceparams-actie, die de taal instelt die de actie zal detecteren.