Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove chat memories not selecting the right document id values /webapi #1038

Merged
merged 1 commit into from
Jul 10, 2024

Conversation

Dikarabo-Molele
Copy link
Contributor

Motivation and Context

The current implementation does not delete chat documents and embeddings.

Fixes #946

Description

This change allows us to delete chat documents and vectors when a chat is deleted to avoid keeping unused documents and vectors in the memory store

Contribution Checklist

@github-actions github-actions bot added the webapi Pull requests that update .net code label Jul 4, 2024
@Dikarabo-Molele Dikarabo-Molele changed the title fix: remove chat memories not selecting the right id values /webapi fix: remove chat memories not selecting the right document id values /webapi Jul 4, 2024
@glahaye glahaye added this pull request to the merge queue Jul 10, 2024
Merged via the queue into microsoft:main with commit 6e2f2d7 Jul 10, 2024
7 checks passed
@glahaye
Copy link
Contributor

glahaye commented Jul 10, 2024

Thanks for the fix!

teamleader-dev pushed a commit to vlink-group/chat-copilot that referenced this pull request Oct 7, 2024
…/webapi (microsoft#1038)

### Motivation and Context
The current implementation does not delete chat documents and
embeddings.

Fixes microsoft#946

<!-- Thank you for your contribution to the chat-copilot repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

This change allows us to delete chat documents and vectors when a chat
is deleted to avoid keeping unused documents and vectors in the memory
store

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [ ] The code builds clean without any errors or warnings
- [ ] The PR follows the [Contribution
Guidelines](https://github.com/microsoft/chat-copilot/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/chat-copilot/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [ ] All unit tests pass, and I have added new tests where possible
- [ ] I didn't break anyone 😄
kb0039 pushed a commit to aaronba/chat-copilot that referenced this pull request Jan 8, 2025
…/webapi (microsoft#1038)

### Motivation and Context
The current implementation does not delete chat documents and
embeddings.

Fixes microsoft#946

<!-- Thank you for your contribution to the chat-copilot repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

This change allows us to delete chat documents and vectors when a chat
is deleted to avoid keeping unused documents and vectors in the memory
store

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [ ] The code builds clean without any errors or warnings
- [ ] The PR follows the [Contribution
Guidelines](https://github.com/microsoft/chat-copilot/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/chat-copilot/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [ ] All unit tests pass, and I have added new tests where possible
- [ ] I didn't break anyone 😄
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
webapi Pull requests that update .net code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Chat memories are not deleted when chat session is deleted
3 participants