AIAnytime / AIAnytime/Chat-with-PDF-Chatbot
Error: type Document is not JSON serializable
未关闭
- 主要语言
- Python
- 星标
- 176
- 派生
- 121
- PR 合并指标
- 30 天内没有已合并 PR
描述
MarshallComponentException: ('Could not convert component args to JSON', TypeError('Object of type Document is not JSON serializable'))
Traceback:
file "C:\..\chatbot.py", line 97, in
main()
File "C:\..I\chatbot.py", line 93, in main
display_conversation(st.session_state)
File "C:\..\chatbot.py", line 65, in display_conversation
message(history["generated"][i],key=str(i))
File "C:\Users\..\.conda\envs\myenv\lib\site-packages\streamlit_chat\__init__.py", line 104, in message
_streamlit_chat(message=message, seed=seed, isUser=is_user, avatarStyle=avatar_style, key=key, allow_html=allow_html, is_table=is_table)
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。