Files
semantic-kernel/dotnet/samples/GettingStartedWithTextSearch/InMemoryVectorStoreCollectionFixture.cs
T
westeyandRoger Barreto dfce021350 .Net: Moving VectorStore abstractions and VolatileVectorStore (#9207)
### Motivation and Context

VectorStore abstractions are being abstracted into a separate library to
allow database creators to more easily implement their own
implementations. Since the package is targeted, it is easier to take a
dependency on.

The volatile vector store naming has been confusing for some, so
renaming to InMemory. It also brings additional dependencies to SK.Core
which is undesirable so moving it to its own package to avoid this.

#8953 
#9094

### Description

- Move VectorStore abstractions to new
Microsoft.Extensions.VectorData.Abstractions package.
- Obsolete VolatileVectorStore implementation in
Microsoft.SemanticKernel.Core.
- Add new Microsoft.SemanticKernel.Connectors.InMemory package with
InMemoryVectorStore

### Contribution Checklist

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

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

---------

Co-authored-by: Roger Barreto <[email protected]>
2024-10-11 10:33:22 +00:00

9 lines
253 B
C#

// Copyright (c) Microsoft. All rights reserved.
namespace GettingStartedWithTextSearch;
[CollectionDefinition("InMemoryVectorStoreCollection")]
public class InMemoryVectorStoreCollectionFixture : ICollectionFixture<InMemoryVectorStoreFixture>
{
}