Skip to content

Function: toCreateIndexOptions()

toCreateIndexOptions(request, signal?): CreateIndexOptions

Map a validated CreateIndexRequest onto CreateIndexOptions, spreading only the fields that were supplied so the client’s own defaults (endpoint, embedding model, primary key, text column) still apply, and folding in the caller’s abort signal.

string[] = ...

number = ...

string = ...

string = ...

string = ...

string = ...

"TRIGGERED" | "CONTINUOUS" = ...

string = ...

string = ...

AbortSignal

CreateIndexOptions