Skip to content

This is a module that implements the NLU component for the Sani Chatbot

Notifications You must be signed in to change notification settings

phamnam-mta/sani_nlu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sani NLU

This is a module that implements the NLU component for the Sani Chatbot

How to integrate with Sani

  1. Install dependencies:
pip install sani_nlu
  1. Configuration
  • Flair Extractor
pipeline:
  - name: sani_nlu.VietnameseTokenizer
  - name: RegexFeaturizer
  - name: LexicalSyntacticFeaturizer
  - name: CountVectorsFeaturizer
  - name: CountVectorsFeaturizer
    analyzer: char_wb
    min_ngram: 1
    max_ngram: 4
  - name: DIETClassifier
    epochs: 50
    constrain_similarities: true
  - name: sani_nlu.FlairExtractor
  - name: EntitySynonymMapper
  - name: FallbackClassifier
    threshold: 0.8
    ambiguity_threshold: 0.1

About

This is a module that implements the NLU component for the Sani Chatbot

Resources

Stars

Watchers

Forks

Packages

No packages published