Skip to main content

vector_search_endpoints

Creates, updates, deletes, gets or lists a vector_search_endpoints resource.

Overview

Namevector_search_endpoints
TypeResource
Iddatabricks_workspace.vectorsearch.vector_search_endpoints

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
updateupdateendpoint_name, deployment_nameUpdate an endpoint
patch_throughputexecendpoint_name, deployment_nameUpdate the throughput (concurrency) of an endpoint

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
deployment_namestringThe Databricks Workspace Deployment Name (default: dbc-abcd0123-a1bc)
endpoint_namestringName of the AI Search endpoint

UPDATE examples

Update an endpoint

UPDATE databricks_workspace.vectorsearch.vector_search_endpoints
SET
replication_factor = {{ replication_factor }},
target_qps = {{ target_qps }}
WHERE
endpoint_name = '{{ endpoint_name }}' --required
AND deployment_name = '{{ deployment_name }}' --required
RETURNING
id,
name,
budget_policy_id,
effective_budget_policy_id,
creation_timestamp,
creator,
custom_tags,
endpoint_status,
endpoint_type,
last_updated_timestamp,
last_updated_user,
num_indexes,
scaling_info,
throughput_info;

Lifecycle Methods

Update the throughput (concurrency) of an endpoint

EXEC databricks_workspace.vectorsearch.vector_search_endpoints.patch_throughput
@endpoint_name='{{ endpoint_name }}' --required,
@deployment_name='{{ deployment_name }}' --required
@@json=
'{
"all_or_nothing": {{ all_or_nothing }},
"concurrency": {{ concurrency }},
"maximum_concurrency_allowed": {{ maximum_concurrency_allowed }},
"minimal_concurrency_allowed": {{ minimal_concurrency_allowed }},
"num_replicas": {{ num_replicas }}
}'
;