Skip to contents

This is a long-running operation, which blocks until Vector Search Endpoints on Databricks reach ONLINE state with the timeout of 20 minutes, that you can change via timeout parameter. By default, the state of Databricks Vector Search Endpoints is reported to console. You can change this behavior by changing the callback parameter.

Usage

create_vector_search_endpoint_and_wait(
  client,
  name,
  endpoint_type,
  timeout = 20,
  callback = cli_reporter
)

Arguments

client

Required. Instance of DatabricksClient()

name

Required. Name of endpoint.

endpoint_type

Required. Type of endpoint.

timeout

Time to wait for the operation to complete in minutes.

callback

Function to report the status of the operation. By default, it reports to console.

Details

Create a new endpoint.