0.5
版本发布时间: 2023-09-26 04:16:38
microsoft/chat-copilot最新发布版本:v0.8(2023-11-17 04:58:38)
BREAKING UPDATE
This change introduces semantic-memory to copilot-chat:
- https://github.com/microsoft/chat-copilot/blob/main/README.md
- https://github.com/microsoft/chat-copilot/blob/main/webapi/README.md
- https://github.com/microsoft/chat-copilot/blob/main/memorypipeline/README.md
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 https://github.com/microsoft/chat-copilot/pull/152
Please sync to the current state of
main
to realize subsequent stabilization updates.
Full Changelog: https://github.com/microsoft/chat-copilot/compare/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:
- Ensure capacity exist to create one new index (chatmemory) and also create "global-documents" index, if it doesn't already exist.
- Deploy updated API service
- Deploy updated APP site
- Any request will trigger migration (/healthz)
- Verify webapp functioning (chat)
- Verify `chatmemory`` index exists
- Remove all indexes that are not chatmemory
Reset memory migration
If for some reason migration is not successful or needs to be reset:
- Stop API service
- Remove
chatmemory
andglobal-documents
indexes. - Start API service
- Any request will trigger migration (/healthz)
- Verify webapp functioning (chat)
- Verify `chatmemory`` index exists
Opt-out of migration:
To avoid memory migration, remove the existing indexes ahead of time:
- Stop API service
- Delete all existing indexes.
- Deploy updated API
- Deploy updated APP
1、 webapi.zip 64.41MB