streamlit-chatbox

A chat box and some helpful tools used to build chatbot app with streamlit

Downloads
4.5K
Stars
72
streamlit-chatbox - v1.1.12 Latest Release

Published by liunux4odoo 6 months ago

  • fix type hint error with streamlit >= 1.33.0 (#8)
  • add ChatBox.change_chat_name to rename a chat conversation
  • maintain a context bound to chat conversation, it is like to be a sub session_state for every chat, context will get changed when you switch chat names.
    • user can save chat bound values by ChatBox.context['x'] = 1
    • values of widgets specified with a key can be saved to chat context with ChatBox.context_from_session and restored to st.session_state by ChatBox.context_to_session

Full Changelog: https://github.com/liunux4odoo/streamlit-chatbox/compare/1.1.11-p1...v1.1.12

streamlit-chatbox - 1.1.11-p1

Published by liunux4odoo 7 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/liunux4odoo/streamlit-chatbox/compare/1.1.11...1.1.11-p1

streamlit-chatbox - 支持对话消息用户反馈

Published by liunux4odoo 12 months ago

streamlit-chatbox - 修复历史消息bug

Published by liunux4odoo about 1 year ago

update filter_history:

  • history_len=0 时会返回1条不完整的历史消息
  • 当对话轮数 达到history_len时,返回的历史消息为空
streamlit-chatbox - 1.1.9

Published by liunux4odoo about 1 year ago

fix bug in filter_messages

streamlit-chatbox - 1.1.8

Published by liunux4odoo about 1 year ago

  • use st.status instead of st.expander
  • support langchain Agent output
Package Rankings
Top 12.2% on Pypi.org