AIKit.VectorStores
0.0.7
dotnet add package AIKit.VectorStores --version 0.0.7
NuGet\Install-Package AIKit.VectorStores -Version 0.0.7
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AIKit.VectorStores" Version="0.0.7" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AIKit.VectorStores" Version="0.0.7" />
<PackageReference Include="AIKit.VectorStores" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add AIKit.VectorStores --version 0.0.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AIKit.VectorStores, 0.0.7"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package AIKit.VectorStores@0.0.7
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=AIKit.VectorStores&version=0.0.7
#tool nuget:?package=AIKit.VectorStores&version=0.0.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
AIKit.VectorStores
Description
Vector store abstractions and common interfaces
Installation
dotnet add package AIKit.VectorStores --version 1.0.0
Usage Example
using AIKit.VectorStores.InMemory;
using Microsoft.Extensions.VectorData;
// Create a vector store
var vectorStore = new InMemoryVectorStore();
// Add a document with embedding
await vectorStore.AddAsync(new VectorDocument
{
Id = "doc1",
Vector = new ReadOnlyMemory<float>(new float[] { 0.1f, 0.2f, 0.3f }),
Metadata = new Dictionary<string, object> { ["title"] = "AIKit Intro" }
});
// Search for similar vectors
var results = await vectorStore.SearchAsync(
new ReadOnlyMemory<float>(new float[] { 0.1f, 0.2f, 0.3f }),
new VectorSearchOptions { Top = 5 });
API Reference
For detailed API documentation, see API Reference.
Links
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Azure.Identity (>= 1.17.1)
- Microsoft.Extensions.VectorData.Abstractions (>= 9.7.0)
NuGet packages (13)
Showing the top 5 NuGet packages that depend on AIKit.VectorStores:
| Package | Downloads |
|---|---|
|
AIKit.VectorStores.InMemory
In-memory vector store provider for AIKit. |
|
|
AIKit.VectorStores.PgVector
PgVector vector store provider for AIKit. |
|
|
AIKit.VectorStores.MongoDB
MongoDB vector store provider for AIKit. |
|
|
AIKit.VectorStores.CosmosMongoDB
CosmosMongoDB vector store provider for AIKit. |
|
|
AIKit.VectorStores.AzureAISearch
Azure AI Search vector store provider for AIKit. |
GitHub repositories
This package is not used by any popular GitHub repositories.