TQuy
(Yashiro)
October 8, 2019, 2:54am
1
I want the bot to reponse in this format
Đối với các đơn hàng nội tỉnh: Phí trả hàng = 5.000đ/ đơn hàng (đã bao gồm VAT)
Thời gian hoàn trả 3-5 ngày làm việc.
Các đơn hàng liên tỉnh: Phí trả hàng = 50% phí chuyển đi
Thời gian hoàn trả 7-12 ngày làm việc
I tried adding \n
, or - text: " TEXT"
, or just write in new line but nothing work
hi @TQuy ,
Try the br tag instead of \n, if you have a UI
regards
@TQuy Can you please share the NLU pipeline config that you are using?
TQuy
(Yashiro)
October 9, 2019, 2:32am
4
My NLU pipeline is below:
language: en
pipeline:
name: “WhitespaceTokenizer”
name: “RegexFeaturizer”
name: “CountVectorsFeaturizer”
analyzer: ‘char’
min_df: 1
max_df: 1.0
min_ngram: 1
max_ngram: 5
name: “EmbeddingIntentClassifier”
“epochs”: 30
name: “ResponseSelector”
policies:
name: “FallbackPolicy”
nlu_threshold: 0.4
core_threshold: 0.3
fallback_action_name: “action_default_fallback”
name: MemoizationPolicy
max_history: 5
name: FormPolicy
name: MappingPolicy
name: KerasPolicy
“epochs”: 60
max_history: 5
TQuy
(Yashiro)
October 10, 2019, 7:41am
5
I tried on telegram but or \n both doesn’t work. I am talking about the retrieval response
responses.md (3.4 KB)
Hi,
I am kind of the confused with response.md, based on the format it looks more like stories.md, i guess.If it is stories.md then
Instead of directly displaying your message like
chitchat greet
chitchat/greet
Kính chào quý khách! GHTK bot có thể hỗ trợ quý khách việc gì ạ ?
Do something like
chitchat greet
Inside the domain.yml add something like
templates:
utter_greet:
text : 'Kính chào quý khách! GHTK bot <br > có thể hỗ trợ quý khách việc gì ạ ?"
I guess this should work since i have tried it both in slack and web apps and was rendered correctly
I hope this helps
1 Like
TQuy
(Yashiro)
October 11, 2019, 8:56am
7
The guide is in here Retrieval Actions .
I tried what you suggested but it also failed
Hi @TQuy , Thanks for bringing this up. You are right, adding \n
won’t work. Looking into this, will let you know once it’s fixed.
1 Like
TQuy
(Yashiro)
October 24, 2019, 3:09am
10
Is there any progress with this issue, I think the retrieval function is really useful, especially when dealing with factoid question for custom services
Omkar
(Omkar Kamble)
January 23, 2020, 10:09pm
11
Is this problem fixed?
what alternative can you suggest me if I want to have newline in my utterance?
Shahzad
(Shahzad Malik)
March 12, 2020, 1:39pm
12
Hi @dakshvar22 , has this been implemented? Is there a way around?
vsteurer
(vanessa)
April 7, 2020, 1:07pm
13
it is also not possible to use image-responses like in the domain.yml file.
domain.yml:
utter_iamabot:
with retrival actions in responses.md, those message types do not work. is there a workaround to display them anyways? (its only a markdown file. no keys work in there…)
Perhaps
- text: "i am a bot ![Image](https://giphy.com/gifs/iron-man-robert-downey-jr-g4sCZhKykg1z2)"
will work?
Thank you, it worked for me.
pranavinu
(pranavi padegal)
August 21, 2020, 11:03am
16
Hey @dakshvar22 . Is this problem solved? Retrieval actions are just awesome and it reduces a lots of time and pain in writing the stories.
Please let us know if this issue has been resolved or not