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

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 [email protected].

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.

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:

"slots": [
	{
		"extractor": "DucklingEntityExtractor",
		"value": {
			"value": 60,
			"unit": "EUR"
		},
		"confidence": 1,
		"entity": "amountOfMoney",
		"additionalInfo": {
			"value": 60,
			"type": "value",
			"unit": "EUR"
		},
		"start": 0,
		"end": 3,
		"processors": [],
		"text": "60€"
	}
]

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

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

βœ…

βœ…

❌

❌

βœ…

βœ…

βœ…

βœ…

❌

❌

βœ…

βœ…

βœ…

❌

​

Last updated

Was this helpful?