I am giving this query to bot:
give me race from dm table where usubjid is 01_002199.
to form SQL query as:
Select race from dm where usubjid = ‘01_002199’
but its forming as: Select race from dm where usubjid = ‘2199’
My config file is like this:
pipeline:
- name: WhitespaceTokenizer
- name: RegexFeaturizer
- name: RegexEntityExtractor
- name: LexicalSyntacticFeaturizer
- name: CountVectorsFeaturizer
- name: CountVectorsFeaturizer analyzer: char_wb min_ngram: 1 max_ngram: 4
- name: DIETClassifier epochs: 100 constrain_similarities: true
- name: EntitySynonymMapper
- name: ResponseSelector epochs: 100 constrain_similarities: true
- name: FallbackClassifier threshold: 0.3 ambiguity_threshold: 0.1
policies:
- name: MemoizationPolicy
- name: RulePolicy
- name: UnexpecTEDIntentPolicy max_history: 5 epochs: 100
- name: TEDPolicy max_history: 5 epochs: 100 constrain_similarities: true
can someone help me why ‘01_00’ is ignored even though i have regex in place( \d{2}[-_*]\d{6}) which allows this value.