Skip to content

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 Parameter Default type
T unknown
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