Spaces:
Sleeping
Sleeping
Commit
·
2e83942
1
Parent(s):
e8d244d
feat: comment insert history to db
Browse files
app.py
CHANGED
|
@@ -87,8 +87,8 @@ def on_click_callback():
|
|
| 87 |
)
|
| 88 |
)
|
| 89 |
st.session_state.token_count += cb.total_tokens
|
| 90 |
-
history_id = insert_chat_history(conn, human_prompt, llm_response["answer"])
|
| 91 |
-
insert_chat_history_articles(conn, history_id, llm_response["source_documents"])
|
| 92 |
|
| 93 |
|
| 94 |
load_css()
|
|
|
|
| 87 |
)
|
| 88 |
)
|
| 89 |
st.session_state.token_count += cb.total_tokens
|
| 90 |
+
# history_id = insert_chat_history(conn, human_prompt, llm_response["answer"])
|
| 91 |
+
# insert_chat_history_articles(conn, history_id, llm_response["source_documents"])
|
| 92 |
|
| 93 |
|
| 94 |
load_css()
|