<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Vector on Dapr Docs</title><link>https://docs.dapr.io/developing-applications/building-blocks/vector/</link><description>Recent content in Vector on Dapr Docs</description><generator>Hugo</generator><language>en</language><atom:link href="https://docs.dapr.io/developing-applications/building-blocks/vector/index.xml" rel="self" type="application/rss+xml"/><item><title>Vector overview</title><link>https://docs.dapr.io/developing-applications/building-blocks/vector/vector-overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.dapr.io/developing-applications/building-blocks/vector/vector-overview/</guid><description>&lt;div class="alert alert-primary" role="alert">
&lt;h4 class="alert-heading">Alpha&lt;/h4>

 The vector API is currently in &lt;a href="https://docs.dapr.io/operations/components/certification-lifecycle/#certification-levels">alpha&lt;/a>.

&lt;/div>

&lt;p>Dapr&amp;rsquo;s vector API provides a single, portable way to store, retrieve, and run similarity queries over dense vectors (embeddings) in vector databases such as Meilisearch, Pinecone, Qdrant, Milvus, and pgvector. It is the storage and retrieval layer for AI patterns like retrieval-augmented generation (RAG), semantic search, and recommendations: your application writes embeddings with some metadata, then asks for the records closest to a query vector. You swap the underlying vector database by changing the &lt;a href="https://docs.dapr.io/reference/components-reference/supported-vector/">vector component&lt;/a>.&lt;/p></description></item><item><title>How-To: Store and query vectors</title><link>https://docs.dapr.io/developing-applications/building-blocks/vector/howto-vector/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.dapr.io/developing-applications/building-blocks/vector/howto-vector/</guid><description>&lt;div class="alert alert-primary" role="alert">
&lt;h4 class="alert-heading">Alpha&lt;/h4>

 The vector API is currently in &lt;a href="https://docs.dapr.io/operations/components/certification-lifecycle/#certification-levels">alpha&lt;/a>.

&lt;/div>

&lt;p>Let&amp;rsquo;s get started using the &lt;a href="https://docs.dapr.io/developing-applications/building-blocks/vector/vector-overview/">vector API&lt;/a>. In this guide, you&amp;rsquo;ll learn how to:&lt;/p>
&lt;ul>
&lt;li>Set up a Meilisearch vector component.&lt;/li>
&lt;li>Create a collection.&lt;/li>
&lt;li>Upsert records with vectors, metadata, and payloads.&lt;/li>
&lt;li>Run similarity queries with metadata filters and score thresholds.&lt;/li>
&lt;li>Run several queries in one batch.&lt;/li>
&lt;li>Retrieve and delete records by ID.&lt;/li>
&lt;/ul>
&lt;p>The examples in this guide call the Dapr HTTP API with &lt;code>curl&lt;/code> and use 4-dimensional vectors to keep them readable. In a real application, vectors come from an embedding model and typically have hundreds or thousands of dimensions. The HTTP API uses the &lt;a href="https://protobuf.dev/programming-guides/json/">JSON mapping of the protobuf messages&lt;/a>: field names are camelCase, 64-bit integers are strings, and bytes are base64-encoded. Responses include fields set to their zero value and omit optional fields that aren&amp;rsquo;t set. For .NET examples using typed payloads, metadata filters, and batch queries, see the &lt;a href="https://docs.dapr.io/developing-applications/sdks/dotnet/dotnet-vector/dotnet-vector-howto/">Vector .NET SDK guide&lt;/a>, targeting SDK 1.19.0 or later.&lt;/p></description></item></channel></rss>