Menu
Amazon Lex
Developer Guide

AMAZON.WeightUnit

This slot type is in preview release for Amazon Lex and is subject to change.

Converts words that represent a weight unit into the corresponding abbreviation. For example, "kilogram" is converted to "kg."

The following examples show how the AMAZON.WeightUnit slot type captures weight units:

Weight unit Abbreviation
kilograms, kilos, kgs, KGS kg
grams, gms, gm, GMS, g g
milligrams, mg, mgs mg
pounds, lbs, LBS lbs
ounces, oz, OZ oz
tonne, ton, t t
kiloton, kt kt