HI All,
I am using Duckling Http Extractor in the pipeline and i have installed the duckling server locally and running it on port 8000. ( get the message on the shell that its running on 0.0.0.0:8000)
When i make a call to parse api from rasa where i need to extract time dimension, i get the following error on duckling server error logs :
"POST /parse HTTP/1.1\ncontent-length: 86\ncontent-type: application/x-www-form-urlencoded; charset=UTF-8\nconnection: keep-alive\naccept: */*\naccept-encoding: gzip, deflate\nuser-agent: python-requests/2.22.0\nhost: localhost:8000\n\nsn=\"localhost:8000\" c=127.0.0.1:59719 s=127.0.0.1:8000 ctx=/ clen=86\nparams: locale: [\"en_EN\"], reftime: [\"1569441253000\"], text: [\"show failed jobs from 1 day\"], tz: [\"Europe/Berlin\"]"
A web handler threw an exception. Details:
TerminateSessionException user error (Text.Regex.PCRE.String died: (21,"invalid UTF-8 string"))
How do i proceed ahead? Following is the config.yml file contents:
language: en
pipeline:
- name: "SpacyNLP"
- name: "SpacyTokenizer"
- name: "SpacyFeaturizer"
- name: "RegexFeaturizer"
- name: "CountVectorsFeaturizer"
- name: "CRFEntityExtractor"
features: [["low", "title", "upper","pos","pos2"],["bias","low","upper","title","digit","pos","pos2","pattern"],["low", "title", "upper"]]
- name: "EmbeddingIntentClassifier"
- name: "EntitySynonymMapper"
- name: "SklearnIntentClassifier"
- name: "DucklingHTTPExtractor"
url: "http://localhost:8000"
dimensions:
- time
timezone: "Europe/Berlin"
policies:
- name: MemoizationPolicy
- name: KerasPolicy
- name: MappingPolicy