AIAnytime / AIAnytime/Chat-with-PDF-Chatbot

Error: type Document is not JSON serializable

オープン
#3 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
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 はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。