QuestionQ33

Application Development

A Generative AI Engineer I is using the following code to test setting up a vector store:

Question Image

Assuming they plan to use Databricks-managed embeddings with the default embedding model, which logical function call should come next?

  • A vsc.get_index()
  • B vsc.create_delta_sync_index()
  • C vsc.create_direct_access_index()
  • D vsc.similarity_search()
Explanation

A Delta Sync index is the index type that synchronizes data from a Delta table and can have Databricks compute embeddings from a text source column. Databricks selects a managed embedding model by default when embeddings are computed, so create_delta_sync_index() is the appropriate call after the Vector Search endpoint has been created.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!