In intends.md file i gave ##intent:sfe
- I am looking for EAN’s
- Can i get the EAN’s
- can i get the bar codes for given EAN’s
- please provide eans
- please provide barcodes for the eans
- need eans
- need barcodes
- Can i get the EAN’s for the given barcodes of fds 986514
- please provide the barcodes for the database 327894
- please provide barcodes for fds 25876
- need eans for 63990
- upload: EANList.txt
- 753957 is the fds
- upload: stored stores.txt
- upload: from code.txt
- upload: 1016 ko.txt
- upload: 1016 ko.txt
and trained the model
when i ran the model with the code as:
interpreter=RasaNLUInterpreter(“models/current/nlu”)
agent = Agent.load(“models/dialogue”, interpreter=interpreter)
result = interpreter.parse(text)
print(json.dumps(result, indent=2))
the result is like :
{
“intent”: {
“name”: “sfe”,
“confidence”: 0.8030125982410683
},
“entities”: ,
“intent_ranking”: [
{
“name”: “sfe”,
“confidence”: 0.8030125982410683
},
{
“name”: “greet”,
“confidence”: 0.09735421490260283
},
{
“name”: “goodbye”,
“confidence”: 0.033424067990922776
},
{
“name”: “affirm”,
“confidence”: 0.028088808743589967
},
{
“name”: “thankyou”,
“confidence”: 0.021476745404844896
},
{
“name”: “deny”,
“confidence”: 0.016643564716971093
}
],
“text”: “upload: EANList.txt”
I can see the entity in training data having the text “upload: EANList.txt” as
{
“intent”: “sfe”,
“entities”: [
{
“start”: 8,
“end”: 19,
“value”: “EANList.txt”,
“entity”: “fdfile”
}
],
“text”: “upload: EANList.txt”
},
can anyone help me understand what is wrong ?
rasa_core:0.9
rasa_nlu:0.12
pipeline : spacy_sklearn\