v1

latestOpenAPI 3.1.02026-07-13124133217.1 KB

Set New Embedding Model

Creates a new EmbeddingModel row and cancels the previous secondary indexing if any Gives an error if the same model name is used as the current or secondary index

post/secondary-index/set-new-embedding-model

Request body

model_namestring required
model_diminteger required
normalizeboolean required
query_prefixstring
passage_prefixstring

Response

Successful Response

idinteger required