Chainlit / chainlit

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

Add favorites section to store query templates #1388

Open hagrebi opened 1 month ago

hagrebi commented 1 month ago

It would be good to have a persistent favorites section to store query templates for users to select from in addition to having chat history. This would increase user adoption by having tested and pre-validated queries to select from. Thanks

hagrebi commented 1 month ago

The idea is to have a collapsible part of the UI showing favorites like browser folders and favorites. If you'd like to take this further, users may need to be able to select the query template then for example select a tag representing a variable like time period. Example: What's are the best rated films of during . We get to predefine period like last month, last quarter etc The favorites section could have two parts: List of queries validated by the systems admin and a list of own favorites queries (select items from chat history).