langchain-streamlit-demo / AI_CHANGELOG.md
joshuasundance-swca
Update AI Changelog
d08817e
|
raw
history blame
10.9 kB

AI CHANGELOG

Updated application version to 0.0.9

Thu Sep 28 20:41:33 2023 -0400

  • The version number in the bumpver.toml file has been updated from 0.0.8 to 0.0.9.
  • The Docker image version for the langchain-streamlit-demo app in the Kubernetes resources.yaml file has been updated from 0.0.8 to 0.0.9.
  • The version variable in the app.py file of the langchain-streamlit-demo app has been updated from 0.0.8 to 0.0.9.

Improved text formatting in Q&A response

Thu Sep 28 20:39:28 2023 -0400

  • This commit adjusts the formatting of the Q&A response in the langchain-streamlit-demo app. It adds an extra newline between the question and answer parts, and another newline between each Q&A pair for better readability.

Updated application version to 0.0.8

Thu Sep 28 20:36:46 2023 -0400

  • The application's version number has been updated from 0.0.7 to 0.0.8 in the following files: bumpver.toml, resources.yaml, and app.py.
  • In bumpver.toml, the current_version field was updated to reflect the new version.
  • In resources.yaml, the image tag for the langchain-streamlit-demo container was updated to use the new version.
  • In app.py, the version variable was updated to the new version.

Refactor variable names in Streamlit app

Thu Sep 28 20:33:17 2023 -0400

  • The variable 'output_text' was renamed to 'full_response' in the Streamlit application to better reflect its purpose. This change improves code readability and understanding.

Bumped version from 0.0.6 to 0.0.7

Thu Sep 28 19:56:12 2023 -0400

  • Updated the version number in bumpver.toml, resources.yaml, and app.py.
  • This commit includes changes to the version number in the bumpver configuration, the Docker image tag in the Kubernetes resources, and the version variable in the app.py file.

Added Summarization Feature to Streamlit App

Thu Sep 28 19:53:59 2023 -0400

  • This commit introduces a summarization feature to the Streamlit application. It does so by creating a new 'summarize.py' file and integrating it into the 'app.py' file.
  • In 'app.py', the 'LLMChain' import has been moved and the 'get_summarization_chain' function has been imported from 'summarize.py'.
  • A new option 'Summarization' has been added to the 'Document Chat Chain Type' dropdown menu.
  • When 'Summarization' is selected from the dropdown, the 'get_summarization_chain' function is called to create a summarization chain.
  • The summarization chain is then used to generate a summary of the document, which is displayed in the Streamlit app.
  • In the 'summarize.py' file, a new summarization chain is defined using the 'load_summarize_chain' function from the 'langchain.chains.summarize' module. The chain uses two custom prompt templates for summarizing and refining the document text.

Enhanced document chat functionality in langchain-streamlit-demo

Thu Sep 28 16:55:16 2023 -0400

  • This commit includes enhancements to the document chat functionality in the langchain-streamlit-demo application. It introduces a new document chat chain type 'Q&A Generation' and updates the provider variable to be stored in the session state. The commit also adds a new file 'qagen.py' which contains code for generating question and answer pairs from a given text.

Bump version from 0.0.5 to 0.0.6

Thu Sep 28 14:42:31 2023 -0400

  • The version number in the 'bumpver.toml', 'kubernetes/resources.yaml', and 'langchain-streamlit-demo/app.py' files has been updated from 0.0.5 to 0.0.6. This indicates a new iteration of the software with potential minor changes or bug fixes.

Updated ruff-pre-commit version

Wed Sep 27 20:58:22 2023 -0400

  • The ruff-pre-commit version in the pre-commit configuration file was updated from v0.0.290 to v0.0.291.

Updated file exclusions in pre-commit config

Wed Sep 27 20:57:54 2023 -0400

  • The pre-commit configuration has been updated to exclude the AI_CHANGELOG.md file. Previously, the configuration was set to exclude .idea and docs directories. The repository and hook details remain unchanged.

Refactored chain_type_help in app.py and updated AI_CHANGELOG.md

Wed Sep 27 20:56:47 2023 -0400

  • In app.py, the chain_type_help dictionary was refactored to directly generate a string with the help links for each chain_type_name, removing the need for a separate dictionary.
  • In AI_CHANGELOG.md, a newline was added at the end of the file and entries were made for the addition of numpy and tornado to requirements.txt and the update of the token used for code checkout in the GitHub workflow.

Updated GitHub Action to Push to HuggingFace Space

Wed Sep 27 17:05:25 2023 +0000

  • This commit modifies the triggering conditions for the GitHub Action workflow that pushes updates to HuggingFace Space. Previously, the workflow was triggered on each push with any tag. Now, it is triggered upon completion of the 'Update AI Changelog on Push to Main' workflow on the 'main' branch.
  • Additionally, the 'push-to-huggingface' job has been updated to depend on the completion of the 'update-changelog' job.

Updated version number from 0.0.2 to 0.0.5

Wed Sep 27 10:56:40 2023 -0400

  • The version number in the bumpver configuration file has been updated from 0.0.2 to 0.0.5.
  • The image version in the Kubernetes resources file has been updated to match the new version number.
  • The version variable in the langchain-streamlit-demo app has been updated to reflect the new version number.

Updated page title to include version number

Wed Sep 27 10:46:57 2023 -0400

  • The page title of the Streamlit application was previously just the name of the application. The change now includes the version number in the title, which will make it easier to track and verify the version of the application in use.

Added 'codellama/CodeLlama-34b-Instruct-hf' to Model Dictionary

Wed Sep 27 10:46:24 2023 -0400

  • The commit introduces a new model 'codellama/CodeLlama-34b-Instruct-hf' into the MODEL_DICT dictionary. This update extends the list of models supported by the 'Anyscale Endpoints'.

Bumped version from 0.0.1 to 0.0.2

Wed Sep 27 00:03:38 2023 -0400

  • Updated the version number in bumpver.toml, Kubernetes resources.yaml, and the app.py file of the langchain-streamlit-demo application. The new version is 0.0.2.

Updated app version

Wed Sep 27 00:00:28 2023 -0400

  • The version number in langchain-streamlit-demo/app.py was updated from 0.0.0 to 0.0.1.

Updated image version in Kubernetes resources and bumpver file

Tue Sep 26 23:59:47 2023 -0400

  • In the 'bumpver.toml' file, the image version placeholder in 'kubernetes/resources.yaml' was corrected by removing the unnecessary quotes.
  • In the 'kubernetes/resources.yaml' file, the image version for 'langchain-streamlit-demo' was updated from 'latest' to '0.0.1'.

Implement versioning and modify GitHub workflows

Tue Sep 26 23:58:24 2023 -0400

  • Introduced semantic versioning using bumpver. The current version is now tracked in a new file 'bumpver.toml' and also reflected in 'app.py' and the Docker image tag in 'kubernetes/resources.yaml'.
  • Modified GitHub workflows 'docker-hub.yml' and 'hf-space.yml' to trigger on new tags instead of pushes to the main branch. The Docker image tag is now the release version instead of the git SHA.
  • Removed the step to store the git SHA in 'docker-hub.yml'.
  • No functional changes were made to 'langchain-streamlit-demo/app.py' or 'kubernetes/resources.yaml'. The imagePullPolicy remains as 'Always'.

Updated requirements.txt for better package management

Tue Sep 26 23:14:05 2023 -0400

  • Rolled back langchain package from version 0.0.301 to 0.0.300 to avoid a bug in langchain's chatanthropic.
  • Pinned numpy to version 1.22.2 as suggested by Snyk to avoid a vulnerability.
  • Reordered the packages for better readability.

Added numpy and tornado to requirements.txt to avoid vulnerabilities

Tue Sep 26 12:56:59 2023 +0000

  • The numpy and tornado packages were added to the requirements.txt file. These packages are not directly required by our application but were added to avoid potential vulnerabilities as suggested by Snyk.

Updated token used for code checkout in GitHub workflow

Tue Sep 26 08:56:55 2023 -0400

  • In the GitHub Actions workflow file 'ai_changelog.yml', the personal access token used for checking out code has been updated. The token has been changed from 'PAT' to 'WORKFLOW_GIT_ACCESS_TOKEN'.