Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -792,7 +792,7 @@ def main():
|
|
792 |
st.session_state.chat_history.append({"user": user_input, "claude": response.content[0].text})
|
793 |
|
794 |
# Save to Cosmos DB
|
795 |
-
|
796 |
|
797 |
# Display Chat History
|
798 |
st.subheader("Past Conversations 📜")
|
|
|
792 |
st.session_state.chat_history.append({"user": user_input, "claude": response.content[0].text})
|
793 |
|
794 |
# Save to Cosmos DB
|
795 |
+
save_or_clone_to_cosmos_db(container=st.session_state.cosmos_container, query=user_input, response=response.content[0].text, clone_id=None)
|
796 |
|
797 |
# Display Chat History
|
798 |
st.subheader("Past Conversations 📜")
|