@voiceflow/base-types
Version:
Voiceflow base project types
26 lines • 814 B
TypeScript
import type { AnyRecord } from '@voiceflow/common';
import type { ProjectNLP, PrototypeModel } from '../base/index.js';
export interface PrototypeNLPBase {
type: string;
}
/**
* @deprecated
* LUIS NLU is being sunset by Microsoft and we are replacing it with VFNLU. Use `PrototypeNLPVFNLU`
* instead.
*/
export interface PrototypeNLPLuis extends PrototypeNLPBase {
type: ProjectNLP.LUIS;
appID: string;
resourceID?: string;
}
export interface PrototypeNLPVFNLU extends PrototypeNLPBase {
type: ProjectNLP.VFNLU;
}
export type PrototypeNLP = PrototypeNLPLuis | PrototypeNLPVFNLU;
export interface Prototype<Data extends AnyRecord = AnyRecord> {
nlp?: PrototypeNLP;
data: Data;
trainedModel?: PrototypeModel;
lastTrainedTime?: number;
}
//# sourceMappingURL=prototype.d.ts.map