<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Changelog · Vectorize</title><link>https://developers.cloudflare.com/vectorize/platform/changelog/</link><description>Updates to Vectorize</description><language>en-us</language><atom:link href="https://developers.cloudflare.com/vectorize/platform/changelog/index.xml" rel="self"/><lastBuildDate>Wed, 17 Jan 2024 08:00:00 EST</lastBuildDate><item><title>HTTP API query vectors request and response format change</title><link>https://developers.cloudflare.com/vectorize/platform/changelog/#http-api-query-vectors-request-and-response-format-change</link><description>&lt;p>Vectorize &lt;code>/query&lt;/code> HTTP endpoint has the following changes:&lt;/p>
&lt;ul>
&lt;li>&lt;code>returnVectors&lt;/code> request body property is deprecated in favor of &lt;code>returnValues&lt;/code> and &lt;code>returnMetadata&lt;/code> properties.&lt;/li>
&lt;li>Response format has changed to the below format to match [Workers API change]:(/workers/configuration/compatibility-dates/#vectorize-query-with-metadata-optionally-returned)&lt;/li>
&lt;/ul>
&lt;div class="code-container">
&lt;unparsed-codeblock data-language="json" data-code="%7B%0A++%22result%22%3A+%7B%0A++++%22count%22%3A+1%2C%0A++++%22matches%22%3A+%5B%0A++++++%7B%0A++++++++%22id%22%3A+%224%22%2C%0A++++++++%22score%22%3A+0.789848214%2C%0A++++++++%22values%22%3A+%5B+75.0999984741211%2C+67.0999984741211%2C+29.899999618530273%5D%2C%0A++++++++%22metadata%22%3A+%7B%0A++++++++++%22url%22%3A+%22%2Fproducts%2Fsku%2F418313%22%2C%0A++++++++++%22streaming_platform%22%3A+%22netflix%22%0A++++++++%7D%0A++++++%7D%0A++++%5D%0A++%7D%2C%0A++%22errors%22%3A+%5B%5D%2C%0A++%22messages%22%3A+%5B%5D%2C%0A++%22success%22%3A+true%0A%7D">&lt;/unparsed-codeblock>
&lt;vue-component name="CodeCopy">&lt;/vue-component>
&lt;/div></description><pubDate>Wed, 17 Jan 2024 08:00:00 EST</pubDate></item><item><title>Metadata filtering</title><link>https://developers.cloudflare.com/vectorize/platform/changelog/#metadata-filtering</link><description>&lt;p>Vectorize now supports &lt;a href=https://developers.cloudflare.com/vectorize/reference/metadata-filtering class="DocsMarkdown--link">&lt;span class="DocsMarkdown--link-content">metadata filtering&lt;/span>&lt;/a> with equals (&lt;code>$eq&lt;/code>) and not equals (&lt;code>$neq&lt;/code>) operators. Metadata filtering limits &lt;code>query()&lt;/code> results to only vectors that fulfill new &lt;code>filter&lt;/code> property.&lt;/p>
&lt;div class="code-container">
&lt;unparsed-codeblock data-language="ts" data-code="let+metadataMatches+%3D+await+env.YOUR_INDEX.query%28queryVector%2C%0A++%7B%0A++++topK%3A+3%2C%0A++++filter%3A+%7B+streaming_platform%3A+%22netflix%22+%7D%2C%0A++++returnValues%3A+true%2C%0A++++returnMetadata%3A+true%0A++%7D%29">&lt;/unparsed-codeblock>
&lt;vue-component name="CodeCopy">&lt;/vue-component>
&lt;/div>&lt;p>Only new indexes created on or after 2023-12-06 support metadata filtering. Currently, there is no way to migrate previously created indexes to work with metadata filtering.&lt;/p></description><pubDate>Wed, 06 Dec 2023 08:00:00 EST</pubDate></item><item><title>Metadata API changes</title><link>https://developers.cloudflare.com/vectorize/platform/changelog/#metadata-api-changes</link><description>&lt;p>Vectorize now supports distinct &lt;code>returnMetadata&lt;/code> and &lt;code>returnValues&lt;/code> arguments when querying an index, replacing the now-deprecated &lt;code>returnVectors&lt;/code> argument. This allows you to return metadata without needing to return the vector values, reducing the amount of unnecessary data returned from a query. Both &lt;code>returnMetadata&lt;/code> and &lt;code>returnValues&lt;/code> default to false.&lt;/p>
&lt;p>For example, to return only the metadata from a query, set &lt;code>returnMetadata: true&lt;/code>.&lt;/p>
&lt;div class="code-container">
&lt;unparsed-codeblock data-language="ts" data-code="let+matches+%3D+await+env.YOUR_INDEX.query%28queryVector%2C+%7B+topK%3A+5%2C+returnMetadata%3A+true+%7D%29">&lt;/unparsed-codeblock>
&lt;vue-component name="CodeCopy">&lt;/vue-component>
&lt;/div>&lt;p>New Workers projects created on or after 2023-11-08 or that &lt;a href=https://developers.cloudflare.com/workers/configuration/compatibility-dates/ class="DocsMarkdown--link">&lt;span class="DocsMarkdown--link-content">update the compatibility date&lt;/span>&lt;/a> for an existing project will use the new return type.&lt;/p></description><pubDate>Wed, 08 Nov 2023 08:00:00 EST</pubDate></item><item><title>Increased indexes per account limits</title><link>https://developers.cloudflare.com/vectorize/platform/changelog/#increased-indexes-per-account-limits</link><description>You can now create up to 100 Vectorize indexes per account. Read the &lt;a href=https://developers.cloudflare.com/vectorize/platform/limits/ class="DocsMarkdown--link">&lt;span class="DocsMarkdown--link-content">limits documentation&lt;/span>&lt;/a> for details on other limits, many of which will increase during the beta period.</description><pubDate>Tue, 03 Oct 2023 08:00:00 EST</pubDate></item><item><title>Vectorize now in open beta</title><link>https://developers.cloudflare.com/vectorize/platform/changelog/#vectorize-now-in-open-beta</link><description>&lt;p>Vectorize, Cloudflare’s vector database, is &lt;a href="https://blog.cloudflare.com/vectorize-vector-database-open-beta/" class="DocsMarkdown--link" target="_blank" rel="noopener">
&lt;span class="DocsMarkdown--link-content">now in open beta&lt;/span>&lt;span class="DocsMarkdown--link-external-icon" aria-hidden="true">
&lt;svg fill="none" stroke="currentColor" stroke-width="1.5" width="23px" height="12px" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 16 16" role="img" aria-labelledby="title-4744738674102027" xmlns="http://www.w3.org/2000/svg">
&lt;title id="title-4744738674102027">External link icon&lt;/title>
&lt;path d="M6.75,1.75h-5v12.5h12.5v-5m0,-4v-3.5h-3.5M8,8l5.5-5.5">&lt;/path>
&lt;/svg>
&lt;span is-visually-hidden>&lt;/span>
&lt;/span>&lt;/a>. Vectorize allows you to store and efficiently query vector embeddings from AI/ML models from &lt;a href=https://developers.cloudflare.com/workers-ai/ class="DocsMarkdown--link">&lt;span class="DocsMarkdown--link-content">Workers AI&lt;/span>&lt;/a>, OpenAI, and other embeddings providers or machine-learning workflows.&lt;/p>
&lt;p>To get started with Vectorize, &lt;a href=https://developers.cloudflare.com/vectorize/get-started/ class="DocsMarkdown--link">&lt;span class="DocsMarkdown--link-content">see the guide&lt;/span>&lt;/a>.&lt;/p></description><pubDate>Wed, 27 Sep 2023 08:00:00 EST</pubDate></item></channel></rss>