Ability to send both text and file attachement intput together, in ChatInterface?

I have two widgets in my ChatInterface, [pn.widgets.TextInput(...), pn.widgets.FileInput(...)] However I have noticed that I cannot send both a text message and file attachment together.
When I type text and switch to the file input tab, it automatically sends the text message and vice versa.

I would like to achieve this given that LLMs are multimodal and can handle text and images together for example. Any advice on how to do this? I have looked for some examples of this but cannot find any! Thanks!

1 Like

Thanks! AFAIK I don’t think this is possible yet so this would be a very good feature request to have on GitHub

@ahuang11

1 Like