How to add a greeting message to `gradio.Chatbot`

I’d like to add a greeting message after the gradio Chatbot UI shows up, such as β€œHi! This is Alice. I’m here to help you with any questions regarding our products.”

Any help?

Thanks!

I think you can seed it with a starting value by setting the default value on the chatbot.

gr.Chatbot(value=[[None, β€œHi my name is Alice…”]])

1 Like