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

Http consistency: Qdrant #1385

Merged

Conversation

SergeyMenshykh
Copy link
Member

Description

This PR brings the following changes:

  • The Qdrant-related classes, namely QdrantMemoryStore and QdrantVectorDbClient, have extended support for various creation methods based on Qdrant endpoint, HttpClient, or both.

  • The KernelBuilder class has new extension methods called "WithQdrantMemoryStore" that simplify the registration of the Qdrant memory store. These methods align the registration process with other connector registrations, enforce the use of a HttpClient with the preconfigured retry handler, and allow the hosting application to provide a custom HttpClient if needed.

  • Minor bug fix.

Contribution Checklist

@github-actions github-actions bot added .NET Issue or Pull requests regarding .NET code kernel Issues or pull requests impacting the core kernel kernel.core labels Jun 8, 2023
@SergeyMenshykh SergeyMenshykh added .NET Issue or Pull requests regarding .NET code and removed .NET Issue or Pull requests regarding .NET code labels Jun 8, 2023
@SergeyMenshykh SergeyMenshykh added the PR: ready for review All feedback addressed, ready for reviews label Jun 8, 2023
dmytrostruk
dmytrostruk previously approved these changes Jun 9, 2023
Copy link
Member

@dmytrostruk dmytrostruk left a comment

Choose a reason for hiding this comment

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

LGTM!

@lemillermicrosoft lemillermicrosoft enabled auto-merge (squash) June 9, 2023 16:18
@lemillermicrosoft lemillermicrosoft merged commit f7d4245 into microsoft:main Jun 9, 2023
15 checks passed
@SergeyMenshykh SergeyMenshykh linked an issue Jun 20, 2023 that may be closed by this pull request
shawncal pushed a commit to shawncal/semantic-kernel that referenced this pull request Jul 6, 2023
### Description
This PR brings the following changes:

- The Qdrant-related classes, namely QdrantMemoryStore and
QdrantVectorDbClient, have extended support for various creation methods
based on Qdrant endpoint, HttpClient, or both.

- The KernelBuilder class has new extension methods called
"WithQdrantMemoryStore" that simplify the registration of the Qdrant
memory store. These methods align the registration process with other
connector registrations, enforce the use of a HttpClient with the
preconfigured retry handler, and allow the hosting application to
provide a custom HttpClient if needed.

- Minor bug fix.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kernel Issues or pull requests impacting the core kernel memory connector .NET Issue or Pull requests regarding .NET code PR: ready for review All feedback addressed, ready for reviews
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Semantic Kernel needs a consistent story around HttpClient
4 participants