Prebuilt Slots
Understanding Parloa's Duckling-based Pre-Built Slots
Last updated
Understanding Parloa's Duckling-based Pre-Built Slots
Last updated
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.
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.
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.
The following lists all the pre-built Slot types:
Type | Description |
---|---|
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:
The following table lists the pre-built slots, categorized by language and slot type.
To view all table columns, please scroll horizontally.
amountOfMoney
Currency types like 10 EUR, 2€, 1.34 Euro, 100 $.
distance
Distances, such as 10 km or 1 cm.
duration
Time durations like 1 second or 3 hours.
email
Email addresses, such as hello@world.com.
number
123 (No spaces between values)
ordinal
Description of an order 1st-45th.
phoneNumber
Phone numbers, including international formats like +49302873737.
dateTime
Moments in time, whether it's yesterday, today, or a specific time.
volume
Volume measurements, like 3 liters or 20 ml.
url
Web page addresses, such as www.parloa.com.
distanceInterval
An interval between two distances: 2 to 3 km, from three to five kilometers.
dateTimeInterval
The duration of time: last week, from yesterday to today, 1 p.m. to 2 p.m.
volumeInterval
A volume range: 3-5 liters, 20-50 ml.
Language
amountOfMoney
creditCardNumber
distance
duration
email
numeral
ordinal
phoneNumber
quantity
temperature
time
timeGrain
url
volume
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
✅
✅
❌
❌
✅
✅
✅
✅
❌
❌
✅
✅
✅
❌