UseEmbeddingModelCheckOptions
Defined in: features/model/hooks/use-embedding-model-check.ts:17
Properties
Section titled “Properties”applyModelChange
Section titled “applyModelChange”applyModelChange: (
model,providerId) =>void
Defined in: features/model/hooks/use-embedding-model-check.ts:23
Persists the new model+provider as the shared embedding choice.
Parameters
Section titled “Parameters”string
providerId
Section titled “providerId”string
Returns
Section titled “Returns”void
embeddingModels
Section titled “embeddingModels”embeddingModels:
ProviderModel[]
Defined in: features/model/hooks/use-embedding-model-check.ts:25
All provider-discovered embedding models for the auto-switch search.
resolveProviderForModel
Section titled “resolveProviderForModel”resolveProviderForModel: (
modelName) =>string
Defined in: features/model/hooks/use-embedding-model-check.ts:27
Resolve a model name to its owning provider.
Parameters
Section titled “Parameters”modelName
Section titled “modelName”string
Returns
Section titled “Returns”string
selectedModel
Section titled “selectedModel”selectedModel:
string
Defined in: features/model/hooks/use-embedding-model-check.ts:19
Currently-selected embedding model name.
setSelectedModel
Section titled “setSelectedModel”setSelectedModel: (
next) =>void
Defined in: features/model/hooks/use-embedding-model-check.ts:21
Persists the (possibly-new) selected model name.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”void