Prebuilt Slots
Understanding Parloa's Duckling-based Pre-Built Slots
Pre-built slots enable you to process common user inputs consistently and efficiently. These slots, based on Duckling, simplify the extraction of key information from sentences. Let's explore how these pre-built slots work and how you can leverage them effectively.
Standardizing User Inputs
Imagine a user wants to repay a certain amount of money they owe. For instance:
Hi , I owe $60, can I pay this amount back please?
In this case, the extracted entity is the amount $60
. This is where the amountOfMoney
pre-built slot comes into play. It specializes in handling various currency types.
Using Pre-Built Slots Across Platforms
If you're utilizing platforms other than Phone 2 (such as Phone V2 or Textchat), it's important to define the pre-built slot types within each slot's respective Platforms tab. This ensures consistent behavior and understanding across different interfaces.
Prebuilt Slot Types
The following lists all the pre-built Slot types:
Type | Description |
---|---|
| Currency types like 10 EUR, 2âŦ, 1.34 Euro, 100 $. |
| Distances, such as 10 km or 1 cm. |
| Time durations like 1 second or 3 hours. |
| Email addresses, such as hello@world.com. |
| 123 (No spaces between values) |
| Description of an order 1st-45th. |
| Phone numbers, including international formats like +49302873737. |
| Moments in time, whether it's yesterday, today, or a specific time. |
| Volume measurements, like 3 liters or 20 ml. |
| Web page addresses, such as www.parloa.com. |
| An interval between two distances: 2 to 3 km, from three to five kilometers. |
| The duration of time: last week, from yesterday to today, 1 p.m. to 2 p.m. |
| A volume range: 3-5 liters, 20-50 ml. |
Using Pre-Built Slots In a Response
When you select a prebuilt slot, the first tab Info displays all relevant information, including the Available Data in Javascript. The following example shows the Slot amountOfMoney
's available date:
Pre-Built Slots
The following table lists the pre-built slots, categorized by language and slot type.
To view all table columns, please scroll horizontally.
Language |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Afrikaans | â | â | â | â | â | â | â | â | â | â | â | â | â | â |
Arabic | â | â | â | â | â | â | â | â | â | â | â | â | â | â |
Bengali | â | â | â | â | â | â | â | â | â | â | â | â | â | â |
Bulgarian | â | â | â | â | â | â | â | â | â | â | â | â | â | â |
Burmese | â | â | â | â | â | â | â | â | â | â | â | â | â | â |
Catalan | â | â | â | â | â | â | â | â | â | â | â | â | â | â |
Chinese | â | â | â | â | â | â | â | â | â | â | â | â | â | â |
Croatian | â | â | â | â | â | â | â | â | â | â | â | â | â | â |
Czech | â | â | â | â | â | â | â | â | â | â | â | â | â | â |
Danish | â | â | â | â | â | â | â | â | â | â | â | â | â | â |
Dutch | â | â | â | â | â | â | â | â | â | â | â | â | â | â |
English | â | â | â | â | â | â | â | â | â | â | â | â | â | â |
Estonian | â | â | â | â | â | â | â | â | â | â | â | â | â | â |
Finnish | â | â | â | â | â | â | â | â | â | â | â | â | â | â |
French | â | â | â | â | â | â | â | â | â | â | â | â | â | â |
Georgian | â | â | â | â | â | â | â | â | â | â | â | â | â | â |
German | â | â | â | â | â | â | â | â | â | â | â | â | â | â |
Greek | â | â | â | â | â | â | â | â | â | â | â | â | â | â |
Hebrew | â | â | â | â | â | â | â | â | â | â | â | â | â | â |
Hindi | â | â | â | â | â | â | â | â | â | â | â | â | â | â |
Hungarian | â | â | â | â | â | â | â | â | â | â | â | â | â | â |
Icelandic | â | â | â | â | â | â | â | â | â | â | â | â | â | â |
Indonesian | â | â | â | â | â | â | â | â | â | â | â | â | â | â |
Irish | â | â | â | â | â | â | â | â | â | â | â | â | â | â |
Italian | â | â | â | â | â | â | â | â | â | â | â | â | â | â |
Japanese | â | â | â | â | â | â | â | â | â | â | â | â | â | â |
Kannada | â | â | â | â | â | â | â | â | â | â | â | â | â | â |
Khmer | â | â | â | â | â | â | â | â | â | â | â | â | â | â |
Korean | â | â | â | â | â | â | â | â | â | â | â | â | â | â |
Lao | â | â | â | â | â | â | â | â | â | â | â | â | â | â |
Malayalam | â | â | â | â | â | â | â | â | â | â | â | â | â | â |
Mongolian | â | â | â | â | â | â | â | â | â | â | â | â | â | â |
Nepali | â | â | â | â | â | â | â | â | â | â | â | â | â | â |
Norwegian-BokmÃĨl | â | â | â | â | â | â | â | â | â | â | â | â | â | â |
Persian | â | â | â | â | â | â | â | â | â | â | â | â | â | â |
Polish | â | â | â | â | â | â | â | â | â | â | â | â | â | â |
Portuguese | â | â | â | â | â | â | â | â | â | â | â | â | â | â |
Romanian | â | â | â | â | â | â | â | â | â | â | â | â | â | â |
Russian | â | â | â | â | â | â | â | â | â | â | â | â | â | â |
Slovak | â | â | â | â | â | â | â | â | â | â | â | â | â | â |
Spanish | â | â | â | â | â | â | â | â | â | â | â | â | â | â |
Swahili | â | â | â | â | â | â | â | â | â | â | â | â | â | â |
Swedish | â | â | â | â | â | â | â | â | â | â | â | â | â | â |
Tamil | â | â | â | â | â | â | â | â | â | â | â | â | â | â |
Telugu | â | â | â | â | â | â | â | â | â | â | â | â | â | â |
Thai | â | â | â | â | â | â | â | â | â | â | â | â | â | â |
Turkish | â | â | â | â | â | â | â | â | â | â | â | â | â | â |
Ukrainian | â | â | â | â | â | â | â | â | â | â | â | â | â | â |
Vietnamese | â | â | â | â | â | â | â | â | â | â | â | â | â | â |
â
Last updated