enum Enums::SnipsSlotValueType

Overview

The type of slot values that are supported by Snips, either custom or built in.

Defined in:

bindings/enums.cr

Enum Members

Custom = 1

Custom slot type.

Number = 2

A double precision float.

Ordinal = 3

A (long long) integer.

Instanttime = 4

An instant time.

Timeinterval = 5

An time interval.

Amountofmoney = 6

Some amount of money.

Temperature = 7

A temperature value.

Duration = 8

A duration.

Percentage = 9

A double precision float.

Musicalbum = 10

Music albums.

Musicartist = 11

Music artists.

Musictrack = 12

Music tracks.

City = 13

Cities.

Country = 14

Countries.

Region = 15

Regions.

Instance Method Summary

Instance Method Detail

def amountofmoney? #

[View source]
def city? #

[View source]
def country? #

[View source]
def custom? #

[View source]
def duration? #

[View source]
def instanttime? #

[View source]
def musicalbum? #

[View source]
def musicartist? #

[View source]
def musictrack? #

[View source]
def number? #

[View source]
def ordinal? #

[View source]
def percentage? #

[View source]
def region? #

[View source]
def temperature? #

[View source]
def timeinterval? #

[View source]