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โ€ฆโ€]])

3 Likes