Chainlit / chainlit

Build Conversational AI in minutes ⚡️
https://docs.chainlit.io
Apache License 2.0
6.1k stars 777 forks source link

date input widget filter #706

Open ggnicolau opened 5 months ago

ggnicolau commented 5 months ago

Hi,

Is it possible to add a date window widget to use as a filter as we've in streamlit already?

tpatel commented 4 months ago

Hi, can you share more about this date window widget, is this something you want to use in the chat settings?

ggnicolau commented 7 hours ago

Hi, @tpatel! Sorry for the late response. It's something like a calendar widget that the user can use it and pass as an input and we use it as a filter. Something like in this discussion for streamlit:

https://discuss.streamlit.io/t/calendar-widget/39220/2

This as an old discussion, I'm almost certain that Streamlit already has it implemented. I remember to see it somewhere and find in the documentation. But I couldn't find it again right now.

But it's something like this picture: b65d563830a62c6527452d749d6f4369cd718e6f