We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cac1959 commit 754510aCopy full SHA for 754510a
genai/aws-gen-ai-kr/20_applications/02_qa_chatbot/04_web_ui/streamlit.py
@@ -80,6 +80,8 @@ def multi_answer_column(answers):
80
with st.chat_message("assistant"):
81
with st.expander("정확도 별 답변 보기 ⬇️"):
82
context_showing_tab(contexts=msg["content"])
83
+ if msg["role"] == "assistant_column":
84
+ st.chat_message("assistant").write(msg["content"][0])
85
else:
86
st.chat_message(msg["role"]).write(msg["content"])
87
0 commit comments