Skip to contents

Create a Vector Search Index

Usage

db_vs_indexes_create(
  name,
  endpoint,
  primary_key,
  spec,
  host = db_host(),
  token = db_token(),
  perform_request = TRUE
)

Arguments

name

Name of vector search index

endpoint

Name of vector search endpoint

primary_key

Vector search primary key column name

spec

Either delta_sync_index_spec() or direct_access_index_spec().

host

Databricks workspace URL, defaults to calling db_host().

token

Databricks workspace token, defaults to calling db_token().

perform_request

If TRUE (default) the request is performed, if FALSE the httr2 request is returned without being performed.