Rag.NET.VectorStores.Pinecone
1.1.1
dotnet add package Rag.NET.VectorStores.Pinecone --version 1.1.1
NuGet\Install-Package Rag.NET.VectorStores.Pinecone -Version 1.1.1
<PackageReference Include="Rag.NET.VectorStores.Pinecone" Version="1.1.1" />
<PackageVersion Include="Rag.NET.VectorStores.Pinecone" Version="1.1.1" />
<PackageReference Include="Rag.NET.VectorStores.Pinecone" />
paket add Rag.NET.VectorStores.Pinecone --version 1.1.1
#r "nuget: Rag.NET.VectorStores.Pinecone, 1.1.1"
#:package Rag.NET.VectorStores.Pinecone@1.1.1
#addin nuget:?package=Rag.NET.VectorStores.Pinecone&version=1.1.1
#tool nuget:?package=Rag.NET.VectorStores.Pinecone&version=1.1.1
Rag.NET.VectorStores.Pinecone
Part of Rag.NET — a modular RAG pipeline for .NET built on Microsoft.Extensions.AI. Ships as 73 packages; install only what you call. Documentation · Choosing packages
Pinecone vector store for Rag.NET: serverless managed vector search over the official Pinecone .NET client, keyed by API key and index name.
Install
dotnet add package Rag.NET.VectorStores.Pinecone
Install alongside the core pipeline package (dotnet add package Rag.NET), which supplies
the AddRagNet(...) builder the store registers into.
Setup
Inside your AddRagNet(...) builder callback:
using Rag.NET.Pinecone;
rag.UsePinecone(
apiKey: Environment.GetEnvironmentVariable("PINECONE_API_KEY")!,
indexName: "rag-index",
vectorDimensions: 1536);
Example
With the store registered, retrieval carries metadata filters into Pinecone:
using Rag.NET.Models;
var results = await pipeline.RetrieveAsync("renewal terms", new RetrievalOptions
{
TopK = 8,
MetadataFilter = new Dictionary<string, MetadataValue>
{
["contract_type"] = "enterprise",
},
});
Full guide
| 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. |
-
net10.0
- Grpc.Net.ClientFactory (>= 2.84.0)
- Pinecone.Client (>= 3.1.0)
- Rag.NET.Abstractions (>= 1.1.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.