<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Is there a batch query option for similar vectors available in Mosaic AI Vector Search? in Generative AI</title>
    <link>https://community.databricks.com/t5/generative-ai/is-there-a-batch-query-option-for-similar-vectors-available-in/m-p/94303#M599</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have been exploring databrick's vector search offering, and was wondering if it had the ability to run a batch query?&lt;/P&gt;&lt;P&gt;I would like to be able to do something like the following where both embedding_1 and embedding_2 are separate vectors that I would like 10 results for each of them.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cummings012_0-1729087701912.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/11992i8161AA6098F7E377/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cummings012_0-1729087701912.png" alt="Cummings012_0-1729087701912.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I've looked through the docs for both the package and api and didn't find anything that supported this kind of batch query, but wanted to make sure I wasn't missing anything.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/api/workspace/vectorsearchindexes/queryindex" target="_self"&gt;https://docs.databricks.com/api/workspace/vectorsearchindexes/queryindex&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://api-docs.databricks.com/python/vector-search/databricks.vector_search.html#databricks.vector_search.index.VectorSearchIndex.similarity_search" target="_self"&gt;https://api-docs.databricks.com/python/vector-search/databricks.vector_search.html#databricks.vector_search.index.VectorSearchIndex.similarity_search&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Oct 2024 14:21:59 GMT</pubDate>
    <dc:creator>Cummings012</dc:creator>
    <dc:date>2024-10-16T14:21:59Z</dc:date>
    <item>
      <title>Is there a batch query option for similar vectors available in Mosaic AI Vector Search?</title>
      <link>https://community.databricks.com/t5/generative-ai/is-there-a-batch-query-option-for-similar-vectors-available-in/m-p/94303#M599</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have been exploring databrick's vector search offering, and was wondering if it had the ability to run a batch query?&lt;/P&gt;&lt;P&gt;I would like to be able to do something like the following where both embedding_1 and embedding_2 are separate vectors that I would like 10 results for each of them.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cummings012_0-1729087701912.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/11992i8161AA6098F7E377/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cummings012_0-1729087701912.png" alt="Cummings012_0-1729087701912.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I've looked through the docs for both the package and api and didn't find anything that supported this kind of batch query, but wanted to make sure I wasn't missing anything.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/api/workspace/vectorsearchindexes/queryindex" target="_self"&gt;https://docs.databricks.com/api/workspace/vectorsearchindexes/queryindex&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://api-docs.databricks.com/python/vector-search/databricks.vector_search.html#databricks.vector_search.index.VectorSearchIndex.similarity_search" target="_self"&gt;https://api-docs.databricks.com/python/vector-search/databricks.vector_search.html#databricks.vector_search.index.VectorSearchIndex.similarity_search&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2024 14:21:59 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/is-there-a-batch-query-option-for-similar-vectors-available-in/m-p/94303#M599</guid>
      <dc:creator>Cummings012</dc:creator>
      <dc:date>2024-10-16T14:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a batch query option for similar vectors available in Mosaic AI Vector Search?</title>
      <link>https://community.databricks.com/t5/generative-ai/is-there-a-batch-query-option-for-similar-vectors-available-in/m-p/94330#M602</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/125371"&gt;@Cummings012&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;As per documentation it is not possible, as the API supports single queries.&lt;BR /&gt;&lt;BR /&gt;The workaround is to process these queries in parallel to improve throughput.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2024 19:09:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/is-there-a-batch-query-option-for-similar-vectors-available-in/m-p/94330#M602</guid>
      <dc:creator>filipniziol</dc:creator>
      <dc:date>2024-10-16T19:09:04Z</dc:date>
    </item>
  </channel>
</rss>

