File: InMemoryVectorStoreWriterTests.cs
Web Access
Project: src\test\Libraries\Microsoft.Extensions.DataIngestion.Tests\Microsoft.Extensions.DataIngestion.Tests.csproj (Microsoft.Extensions.DataIngestion.Tests)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using Microsoft.Extensions.VectorData;
using Microsoft.SemanticKernel.Connectors.InMemory;
 
namespace Microsoft.Extensions.DataIngestion.Tests;
 
public class InMemoryVectorStoreWriterTests : VectorStoreWriterTests
{
    protected override VectorStore CreateVectorStore(TestEmbeddingGenerator<string> testEmbeddingGenerator)
        => new InMemoryVectorStore(new() { EmbeddingGenerator = testEmbeddingGenerator });
}