NlpEntityMatch
type NlpEntityMatch<T> = { accuracy: number; text: string; value: T;};Defined in: core/src/nlp/nlp.entities.ts:4
One span an engine matched for a slot, with the value it resolved to.
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
T |
unknown |
Properties
Section titled “Properties”accuracy
Section titled “accuracy”accuracy: number;Defined in: core/src/nlp/nlp.entities.ts:8
text: string;Defined in: core/src/nlp/nlp.entities.ts:7
The words in the caller’s phrase that matched.
value: T;Defined in: core/src/nlp/nlp.entities.ts:5