<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Qdrant Edge on Qdrant - Vector Database</title><link>https://deploy-preview-2138--condescending-goldwasser-91acf0.netlify.app/documentation/edge/</link><description>Recent content in Qdrant Edge on Qdrant - Vector Database</description><generator>Hugo</generator><language>en-us</language><managingEditor>info@qdrant.tech (Andrey Vasnetsov)</managingEditor><webMaster>info@qdrant.tech (Andrey Vasnetsov)</webMaster><atom:link href="https://deploy-preview-2138--condescending-goldwasser-91acf0.netlify.app/documentation/edge/index.xml" rel="self" type="application/rss+xml"/><item><title>Quickstart</title><link>https://deploy-preview-2138--condescending-goldwasser-91acf0.netlify.app/documentation/edge/edge-quickstart/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><author>info@qdrant.tech (Andrey Vasnetsov)</author><guid>https://deploy-preview-2138--condescending-goldwasser-91acf0.netlify.app/documentation/edge/edge-quickstart/</guid><description>&lt;h1 id="qdrant-edge-quickstart">Qdrant Edge Quickstart&lt;/h1>
&lt;h2 id="install-qdrant-edge">Install Qdrant Edge&lt;/h2>
&lt;p>First, install the &lt;a href="https://pypi.org/project/qdrant-edge-py/" target="_blank" rel="noopener nofollow">Python Bindings for Qdrant Edge&lt;/a>:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-python" data-lang="python">&lt;span class="line">&lt;span class="cl">&lt;span class="n">pip&lt;/span> &lt;span class="n">install&lt;/span> &lt;span class="n">qdrant&lt;/span>&lt;span class="o">-&lt;/span>&lt;span class="n">edge&lt;/span>&lt;span class="o">-&lt;/span>&lt;span class="n">py&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="create-a-storage-directory">Create a Storage Directory&lt;/h2>
&lt;p>A Qdrant Edge Shard stores its data in a local directory on disk. Create the directory if it doesn&amp;rsquo;t exist yet:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-python" data-lang="python">&lt;span class="line">&lt;span class="cl">&lt;span class="kn">from&lt;/span> &lt;span class="nn">pathlib&lt;/span> &lt;span class="kn">import&lt;/span> &lt;span class="n">Path&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="n">SHARD_DIRECTORY&lt;/span> &lt;span class="o">=&lt;/span> &lt;span class="s2">&amp;#34;./qdrant-edge-directory&amp;#34;&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="n">Path&lt;/span>&lt;span class="p">(&lt;/span>&lt;span class="n">SHARD_DIRECTORY&lt;/span>&lt;span class="p">)&lt;/span>&lt;span class="o">.&lt;/span>&lt;span class="n">mkdir&lt;/span>&lt;span class="p">(&lt;/span>&lt;span class="n">parents&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="kc">True&lt;/span>&lt;span class="p">,&lt;/span> &lt;span class="n">exist_ok&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="kc">True&lt;/span>&lt;span class="p">)&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="configure-the-edge-shard">Configure the Edge Shard&lt;/h2>
&lt;p>An Edge Shard is configured with a definition of the dense and sparse vectors that can be stored in the Edge Shard, similar to how you would configure a Qdrant collection. Set up a configuration by creating an instance of &lt;code>EdgeConfig&lt;/code>:&lt;/p></description></item><item><title>On-Device Embeddings</title><link>https://deploy-preview-2138--condescending-goldwasser-91acf0.netlify.app/documentation/edge/edge-fastembed-embeddings/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><author>info@qdrant.tech (Andrey Vasnetsov)</author><guid>https://deploy-preview-2138--condescending-goldwasser-91acf0.netlify.app/documentation/edge/edge-fastembed-embeddings/</guid><description>&lt;h1 id="on-device-embeddings-with-qdrant-edge-and-fastembed">On-Device Embeddings with Qdrant Edge and FastEmbed&lt;/h1>
&lt;p>To generate embeddings for use with Qdrant Edge directly on a device, you can use the &lt;a href="https://deploy-preview-2138--condescending-goldwasser-91acf0.netlify.app/documentation/fastembed/">FastEmbed&lt;/a> library. FastEmbed provides multimodal models that run efficiently on edge devices to generate vector embeddings from text and images.&lt;/p>
&lt;h1 id="provision-the-device">Provision the Device&lt;/h1>
&lt;p>Assuming the devices on which you will run Qdrant Edge have intermittent or no internet connectivity, you need to provision them with the necessary dependencies and model files ahead of time. First, install FastEmbed and the Qdrant Edge Python bindings:&lt;/p></description></item><item><title>Data Synchronization Patterns</title><link>https://deploy-preview-2138--condescending-goldwasser-91acf0.netlify.app/documentation/edge/edge-data-synchronization-patterns/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><author>info@qdrant.tech (Andrey Vasnetsov)</author><guid>https://deploy-preview-2138--condescending-goldwasser-91acf0.netlify.app/documentation/edge/edge-data-synchronization-patterns/</guid><description>&lt;h1 id="data-synchronization-patterns">Data Synchronization Patterns&lt;/h1>
&lt;p>This page describes patterns for synchronizing data between Qdrant Edge Shards and Qdrant server collections. For a practical end-to-end guide on implementing these patterns, refer to the &lt;a href="https://deploy-preview-2138--condescending-goldwasser-91acf0.netlify.app/documentation/edge/edge-synchronization-guide/">Qdrant Edge Synchronization Guide&lt;/a>.&lt;/p>
&lt;h2 id="initialize-edge-shard-from-existing-qdrant-collection">Initialize Edge Shard from Existing Qdrant Collection&lt;/h2>
&lt;p>Instead of starting with an empty Edge Shard, you may want to initialize it with pre-existing data from a collection on a Qdrant server. You can achieve this by restoring a snapshot of a shard in the server-side collection.&lt;/p></description></item><item><title>Synchronize with a Server</title><link>https://deploy-preview-2138--condescending-goldwasser-91acf0.netlify.app/documentation/edge/edge-synchronization-guide/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><author>info@qdrant.tech (Andrey Vasnetsov)</author><guid>https://deploy-preview-2138--condescending-goldwasser-91acf0.netlify.app/documentation/edge/edge-synchronization-guide/</guid><description>&lt;h1 id="synchronize-qdrant-edge-with-a-server">Synchronize Qdrant Edge with a Server&lt;/h1>
&lt;p>Qdrant Edge can be synchronized with a collection from an external Qdrant server to support use cases like:&lt;/p>
&lt;ul>
&lt;li>&lt;strong>Offload indexing&lt;/strong>: Indexing is a computationally expensive operation. By synchronizing an Edge Shard with a server collection, you can offload the indexing process to a more powerful server instance. The indexed data can then be synchronized back to the Edge Shard.&lt;/li>
&lt;li>&lt;strong>Back up and Restore&lt;/strong>: Regularly back up your Edge Shard data to a central Qdrant instance to prevent data loss. In case of hardware failure or data corruption on the edge device, you can restore the data from the central instance.&lt;/li>
&lt;li>&lt;strong>Data Aggregation&lt;/strong>: Collect data from multiple Edge Shards deployed in different locations and aggregate it into a central Qdrant instance for comprehensive analysis and reporting.&lt;/li>
&lt;li>&lt;strong>Synchronization between devices&lt;/strong>: Keep data consistent across multiple edge devices by synchronizing their Edge Shards with a central Qdrant instance.&lt;/li>
&lt;/ul>
&lt;h2 id="synchronizing-qdrant-edge-with-a-server">Synchronizing Qdrant Edge with a Server&lt;/h2>
&lt;p>To support having local updates from the device as well as updates from a server, you can implement a setup with two Edge Shards:&lt;/p></description></item></channel></rss>