JBHF commited on
Commit
10cdfa7
1 Parent(s): 8efa6a0

Update app-02-04-2024.py

Browse files
Files changed (1) hide show
  1. app-02-04-2024.py +11 -1
app-02-04-2024.py CHANGED
@@ -91,7 +91,7 @@ st.subheader("Jan Bours : Artificial Intelligence / Data Science / Nat
91
  st.subheader("(ALL RIGHTS RESERVED)")
92
  st.image('Jan_Bours_2.png', caption='Jan Bours')
93
  st.write("---------------------------------")
94
- st.subheader("Chat with Docs - Using AI: 'mixtral-8x7b-32768' Groq Edition (Very Fast!) - VERSION 1 - March 31, 2024")
95
  st.write("---------------------------------")
96
 
97
  # st.header("LIST OF ALL THE LOADED DOCUMENTS: ")
@@ -398,6 +398,16 @@ if prompt := st.chat_input():
398
  st.write(doc.page_content)
399
  st.write("--------------------------------")
400
 
 
 
 
 
 
 
 
 
 
 
401
  st.write("---------------------------------")
402
 
403
 
 
91
  st.subheader("(ALL RIGHTS RESERVED)")
92
  st.image('Jan_Bours_2.png', caption='Jan Bours')
93
  st.write("---------------------------------")
94
+ st.subheader("Chat with Docs - Using AI: 'mixtral-8x7b-32768' Groq Edition (Very Fast!) - VERSION 2 - April 3, 2024")
95
  st.write("---------------------------------")
96
 
97
  # st.header("LIST OF ALL THE LOADED DOCUMENTS: ")
 
398
  st.write(doc.page_content)
399
  st.write("--------------------------------")
400
 
401
+
402
+
403
+ # Show total messages history of user + AI in this session up till this point
404
+ with st.expander("Show total messages history of user + AI in this session up till this point"):
405
+ # st.session_state.messages
406
+ st.write(st.session_state.messages)
407
+ st.write("--------------------------------")
408
+
409
+
410
+
411
  st.write("---------------------------------")
412
 
413