Skip to content

Releases: microsoft/chat-copilot

Semantic Memory Integration into Copilot Chat

25 Sep 20:16
2244ab2
Compare
Choose a tag to compare

BREAKING UPDATE

This change introduces semantic-memory to copilot-chat:

This change represents a signifant shift our memory architecture with the promise to support use-cases beyond what is possible with the semantic-kernel connectors.

To maintain continuity of service for a existing deployments, we highly recommend upgrading to Release 0.4 prior to deploying this release for the application to support "maintenance mode".

As part of this shift, existing chat memories will be automatically migrated: however, any documents previously imported must be re-imported. For additional details, please refer to migration section at the end of these release notes.

An immediate benefit to this switch is that chat-copilot will no longer create 3 indexes (or containers) per chat in the vector database. Only a single index is utilized for the application. This removes the maximum-index constraint for copilot chat

A downside to this shift is that support for Postgres and Chroma have been temporarily removed.

Co-authored-by: Tao Chen TaoChenOSU@users.noreply.github.com
Co-authored-by: Teresa Hoang 125500434+teresaqhoang@users.noreply.github.com

What's Changed

  • Semantic Memory Integration into Copilot Chat by @crickman in #152

Please sync to the current state of main to realize subsequent stabilization updates.

Screenshot 2023-09-18 090927

image

image

image

Full Changelog: 0.4...0.5

Memory Migration

Migration of existing chat memories is automatically triggered when the expected index (default: chatmemory) does not exist. During migration, the application will be held in maintenance-mode (no chats) and once completed, the previous indexes may be removed.

Note: Chat history is always preserved. Memory migration affects only the short-term and long-term memory extractions for each chat.

Migrate existing memories:

  1. Ensure capacity exist to create one new index (chatmemory) and also create "global-documents" index, if it doesn't already exist.
  2. Deploy updated API service
  3. Deploy updated APP site
  4. Any request will trigger migration (/healthz)
  5. Verify webapp functioning (chat)
  6. Verify `chatmemory`` index exists
  7. Remove all indexes that are not chatmemory

Reset memory migration

If for some reason migration is not successful or needs to be reset:

  1. Stop API service
  2. Remove chatmemory and global-documents indexes.
  3. Start API service
  4. Any request will trigger migration (/healthz)
  5. Verify webapp functioning (chat)
  6. Verify `chatmemory`` index exists

Opt-out of migration:

To avoid memory migration, remove the existing indexes ahead of time:

  1. Stop API service
  2. Delete all existing indexes.
  3. Deploy updated API
  4. Deploy updated APP

0.4 - Last release before integration with Semantic Memory

20 Sep 21:01
c9e585d
Compare
Choose a tag to compare

Highlighted Changes

What's Changed

New Contributors

Full Changelog: 0.3...0.4

0.3

30 Aug 21:29
0a17eb6
Compare
Choose a tag to compare
0.3 Pre-release
Pre-release

Breaking Changes

  • E2E AAD authentication - This change removes the key based authentication between the webApp and the webApi and replaces it with E2E AAD user based authentication when deployed to Azure. This drastically improves the security of the deployed resources but does require some additional AAD setup. This change also removes the need for an AAD Application when running locally which greatly simplifies things. #126
  • Cosmos Db schema changes - This change improves the performance of Chat-Copilot by redesigning the partition keys used in Cosmos Db collections. This is a breaking change and will require special attention when deploying over existing resources, this blog post has all the details. #240

What else changed

New Contributors

Full Changelog: 0.2...0.3

0.2

16 Aug 23:56
17658ed
Compare
Choose a tag to compare
0.2 Pre-release
Pre-release

What's Changed

  • Add version number information in backend, frontend and build process by @glahaye in #165

Full Changelog: 0.1...0.2

Switching release numbering system

16 Aug 00:57
2143f05
Compare
Choose a tag to compare
Pre-release

What's Changed

  • Fix typo in README.md by @eltociear in #109
  • Readme: Provide instructions if used custom model naming for Azure OpenAI by @momuno in #98
  • Bump Roslynator.Analyzers from 4.3.0 to 4.4.0 in /webapi by @dependabot in #119
  • Bump Roslynator.Formatting.Analyzers from 4.3.0 to 4.4.0 in /webapi by @dependabot in #118
  • Bump Roslynator.CodeAnalysis.Analyzers from 4.3.0 to 4.4.0 in /webapi by @dependabot in #117
  • Bump @typescript-eslint/parser from 6.2.0 to 6.2.1 in /webapp by @dependabot in #112
  • Bump prettier from 3.0.0 to 3.0.1 in /webapp by @dependabot in #115
  • Bump @types/react from 18.2.17 to 18.2.18 in /webapp by @dependabot in #116
  • Bump @typescript-eslint/eslint-plugin from 6.2.0 to 6.2.1 in /webapp by @dependabot in #113
  • Bump @fluentui/react-components from 9.27.1 to 9.27.4 in /webapp by @dependabot in #114
  • Upload documents in parallel + truncate text for long document names by @dehoward in #83
  • Refactor webapi directory structure by @dehoward in #100
  • Update SK packages by @crickman in #120
  • πŸ”§ Update OpenApiPlugin paths by @teresaqhoang in #127
  • Run formatting scripts during PR builds by @dehoward in #124
  • Integrating Stepwise planner by @teresaqhoang in #121
  • Update permissions on deploy scripts + only run Github build workflows on relevant paths by @dehoward in #135
  • Fix relative paths in deploy scripts by @dehoward in #136
  • πŸ› Fix connection error handling + uncaught exceptions by @teresaqhoang in #134
  • Fix app registration link in README by @crickman in #142
  • Rename "MemoriesStore" to "MemoryStore" by @glahaye in #138
  • Update Chat Copilot gif on primary Readme.md by @momuno in #147
  • Fix C# CodeQL alerts + add JS/TS to CodeQL by @dehoward in #139
  • πŸš€ Adding new app state to handle user info by @teresaqhoang in #145
  • Updating template hash. by @alliscode in #162
  • Update Readme with note on execution policy. by @momuno in #161
  • Bump eslint from 8.46.0 to 8.47.0 in /webapp by @dependabot in #167
  • Bump @azure/msal-browser from 2.38.0 to 2.38.1 in /webapp by @dependabot in #168
  • Bump @types/node from 20.4.5 to 20.5.0 in /webapp by @dependabot in #171
  • Bump Microsoft.Azure.Cosmos from 3.35.2 to 3.35.3 in /webapi by @dependabot in #173
  • Bump Microsoft.VisualStudio.Threading.Analyzers from 17.6.40 to 17.7.30 in /webapi by @dependabot in #174
  • Bump @typescript-eslint/parser from 6.2.1 to 6.3.0 in /webapp by @dependabot in #169
  • Bump microsoft-cognitiveservices-speech-sdk from 1.30.1 to 1.31.0 in /webapp by @dependabot in #170
  • Bump Azure.AI.FormRecognizer from 4.0.0 to 4.1.0 in /webapi by @dependabot in #172
  • Functional improvements + bug squashing by @teresaqhoang in #153
  • Adding option to view full stepwise context after every run by @teresaqhoang in #149
  • Handling unable to create plan error by @teresaqhoang in #176
  • Tuned: Document chunking parameters and debug output (customer input) by @crickman in #178
  • Add postgresql memory store by @kbeaugrand in #175
  • UX improvements: A11y labels, fixing space input bug, enabling RLFH, etc. by @teresaqhoang in #179
  • Clean deployment scripts usage descriptions by @TaoChenOSU in #181

New Contributors

Full Changelog: 0731234...0.1