Multi line and bullets - Rasa Open Source - Rasa Community Forum

Multi line and bullets

post by KarthikSunil on Nov 17, 2018

Can anyone help how to get bot responses in multiple lines (Enter would not work) and also bullets in the Bot responses. I tried with >, *, enter key and also \ . Nothing seems to work

post by JiteshGaikwad on Nov 17, 2018

hey @KarthikSunil you can add line break(\n) in your message to send the multilines response from the bot or if you want to customize the message send it using custom actions i.e actions.py

post by NikhilBansal21 on Nov 19, 2018

it depends on which ui want to display like skype can render html tags for bullets or numbers

post by talhashaikh5 on Oct 16, 2019

@JiteshGaikwad " \n " does not work in domain.yml. Please provide an alternative.

post by JiteshGaikwad on Oct 16, 2019

@talhashaikh5, if you read the message properly, I had written you can send it from custom actions.py not from domain.yml

post by talhashaikh5 on Oct 16, 2019

@JiteshGaikwad actions.py is also displaying same result to me

post by JiteshGaikwad on Oct 16, 2019

what channel are you using?

post by talhashaikh5 on Oct 16, 2019

@JiteshGaikwad just want to display line brake in rasa x

post by talhashaikh5 on Oct 16, 2019

@JiteshGaikwad solved the next line issue by just using \n\n.

post by sten on Nov 5, 2019

So inside domain.yml I should use two slashes to be able to write multiline inside the yaml file ex:

utter_abc:
  - text: blah...blah............   \
   \
 blah ...blah

post by maadhav_sharma on Dec 15, 2019

I dont think it is working know. Can u pls help me out

post by talhashaikh5 on Jan 3, 2020

\n is working new version

post by anuragchaudhary on Jan 15, 2020

Any idea about using ā€œ\nā€ in facebook and telegram. does this work on both the channels

post by IDKYamHere on Jun 28, 2020

Using \ \n (\double space\n) worked for me.

Example: utter_message: "Hi! \\ This is Sid"

Gives the output [in the same message] : - Hi! This is Sid

post by albertalegria on Sep 29, 2020

Working! thanks

post by AhChing11 on Sep 10, 2021

Using | at the beginning works for me. Probably you guys can try this alternative.

post by Sajjadmanal on Jan 21, 2022

@AhChing11 Thanks, this works.

post by bharath-madduri on May 20, 2022

this is not working in rasa webchat.