Options
All
  • Public
  • Public/Protected
  • All
Menu

Module core/base/IntentRecognizer

Index

Other

DetectIntentResult<Recognition, Payload>: Recognition extends RecognitionData<infer Language, infer Intent> ? { confidence: number; language: Language; payload: Payload; type: undefined | Intent } : never

Type parameters

DetectTextOptions: { language?: string }

Type declaration

  • Optional language?: string
RecognitionData<Language, Intent>: { defaultLanguage: Language; intents: { [ Name in Intent]: { trainingPhrases: { [ Code in Language]: string[] } } }; languages: Language[] }

Type parameters

  • Language: string = string

  • Intent: string = string

Type declaration

  • defaultLanguage: Language
  • intents: { [ Name in Intent]: { trainingPhrases: { [ Code in Language]: string[] } } }
  • languages: Language[]
default<Recognition, Payload>: IntentRecognizer<Recognition, Payload>

Type parameters

default: SingularServiceInterface<IntentRecognizer<RecognitionData<string, string>, unknown>> = ...

Generated using TypeDoc