How can you use Databricks Vector Search with images?

Isabel 0 Reputation points
2024-03-21T22:17:02.7866667+00:00

I have been working with Databricks Vector Search and feel comfortable using it on any kind of textual data. However I am running into problems with using it for image searching, and there are no examples available in the documentation to provide more detail. I cannot tell what to put as the "query text"- I am assuming I need to generate embeddings for the image and put that as the query text, but I get an error that the function is expecting a scalar value. I know this is a new feature, but has anyone had success with this? What am I missing?

Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
1,938 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. PRADEEPCHEEKATLA-MSFT 77,516 Reputation points Microsoft Employee
    2024-03-25T04:36:12.5833333+00:00

    @Isabel - Thanks for the question and using MS Q&A paltform.

    This article: Databricks Vector Search gives an overview of Databricks’ vector database solution, Azure Databricks Vector Search, including what it is and how it works.

    This article: How to create and query a Vector Search index describes how to create and query a vector search index using Databricks Vector Search.

    You can create and manage Vector Search components, like a vector search endpoint and vector search indices, using the UI, the Python SDK, or the REST API.

    For more details, check out the demo video: Introduction to Vector Search.

    Hope this helps. Do let us know if you any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.