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

adding Chroma support #62

Merged
merged 8 commits into from
Aug 3, 2023
Merged

adding Chroma support #62

merged 8 commits into from
Aug 3, 2023

Conversation

jsboige
Copy link
Contributor

@jsboige jsboige commented Jul 28, 2023

Motivation and Context

This is a continuation of PR microsoft/semantic-kernel#1989 from the previous repo. It accounts for last comments from @dmytrostruk.
Another PR will be made on SK repo for chroma connector updates.

Description

This PR adds chroma DB as an alternative memory store available for the copilot chat. Because chroma client raises exceptions with non existing collections, safeguards were added to account for memory search performed before the collections were created.

Contribution Checklist

@github-actions github-actions bot added the webapi Pull requests that update .net code label Jul 28, 2023
@alliscode alliscode added the enhancement New feature or request label Jul 28, 2023
webapi/appsettings.json Outdated Show resolved Hide resolved
dehoward
dehoward previously approved these changes Jul 28, 2023
@dehoward dehoward added PR: ready to merge PR has been approved by all reviewers, and is ready to merge. and removed PR: ready for review labels Aug 2, 2023
dehoward
dehoward previously approved these changes Aug 2, 2023
Copy link
Contributor

@glahaye glahaye left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comments

@alliscode alliscode added this pull request to the merge queue Aug 3, 2023
Merged via the queue into microsoft:main with commit 3e33400 Aug 3, 2023
teamleader-dev pushed a commit to vlink-group/chat-copilot that referenced this pull request Oct 7, 2024
### Motivation and Context

<!-- Thank you for your contribution to the copilot-chat 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.
-->

This is a continuation of PR
microsoft/semantic-kernel#1989 from the previous
repo. It accounts for [last
comments](microsoft/semantic-kernel#1989 (comment))
from @dmytrostruk.
Another PR will be made on SK repo for chroma connector updates. 

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->
This PR adds chroma DB as an alternative memory store available for the
copilot chat. Because chroma client raises exceptions with non existing
collections, safeguards were added to account for memory search
performed before the collections were created.

### Contribution Checklist

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

- [x] The code builds clean without any errors or warnings
- [x] The PR follows the [Contribution
Guidelines](https://github.com/microsoft/copilot-chat/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/copilot-chat/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [ ] All unit tests pass, and I have added new tests where possible
- [x] I didn't break anyone 😄

---------

Co-authored-by: Gil LaHaye <[email protected]>
Co-authored-by: Desmond Howard <[email protected]>
kb0039 pushed a commit to aaronba/chat-copilot that referenced this pull request Jan 8, 2025
### Motivation and Context

<!-- Thank you for your contribution to the copilot-chat 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.
-->

This is a continuation of PR
microsoft/semantic-kernel#1989 from the previous
repo. It accounts for [last
comments](microsoft/semantic-kernel#1989 (comment))
from @dmytrostruk.
Another PR will be made on SK repo for chroma connector updates. 

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->
This PR adds chroma DB as an alternative memory store available for the
copilot chat. Because chroma client raises exceptions with non existing
collections, safeguards were added to account for memory search
performed before the collections were created.

### Contribution Checklist

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

- [x] The code builds clean without any errors or warnings
- [x] The PR follows the [Contribution
Guidelines](https://github.com/microsoft/copilot-chat/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/copilot-chat/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [ ] All unit tests pass, and I have added new tests where possible
- [x] I didn't break anyone 😄

---------

Co-authored-by: Gil LaHaye <[email protected]>
Co-authored-by: Desmond Howard <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request PR: ready to merge PR has been approved by all reviewers, and is ready to merge. webapi Pull requests that update .net code
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

5 participants