fsal commited on
Commit
44cd7e0
1 Parent(s): b85d32f

Update AI Changelog

Browse files
Files changed (1) hide show
  1. AI_CHANGELOG.md +3 -0
AI_CHANGELOG.md CHANGED
@@ -1,4 +1,7 @@
1
  # AI CHANGELOG
 
 
 
2
  ## [Updated comments, test questions, and added a prompt template](https://github.com/fsal/streamlit-hf/commit/3dbe632ce7bf3c27c7cbbbb676ee1d6a718b60bf)
3
  Wed Feb 14 15:03:25 2024 +0100
4
  - 1. Updated the comment in 'app.py' to clarify that the input must be a question.
 
1
  # AI CHANGELOG
2
+ ## [Refactored Streamlit app for document chat feature](https://github.com/fsal/streamlit-hf/commit/b85d32f57e72fbdc6d8f47c1d1a3f53614a4feb1)
3
+ Sun Feb 18 00:09:47 2024 +0100
4
+ - This commit includes several changes to the document chat feature of the Streamlit app. The 'StreamlitCallbackHandler' import was commented out and replaced with a 'get_runnable' function to create the chat chain. The error message when no PDF is uploaded was changed from an error to a warning. A spinner was added to indicate when the application is 'thinking', and the response time is now displayed. The sources of the response are now stored in the session state and displayed in an expandable section. The 'chain' is now created with the 'get_runnable' function instead of 'get_agent'.
5
  ## [Updated comments, test questions, and added a prompt template](https://github.com/fsal/streamlit-hf/commit/3dbe632ce7bf3c27c7cbbbb676ee1d6a718b60bf)
6
  Wed Feb 14 15:03:25 2024 +0100
7
  - 1. Updated the comment in 'app.py' to clarify that the input must be a question.