@nhtio/adk/batteries/embeddings/webllm
WebLLM Embeddings adapter battery — WebGPU/in-process embeddings via @mlc-ai/web-llm.
Remarks
Browser/WebGPU-only, so reachable solely through this subpath (never re-exported from the environment-neutral @nhtio/adk/batteries/embeddings barrel). Re-exports the adapter class, the validation schema + validateOptions wrapper, every option / engine type alias (including the shared base shapes re-exported from the OpenAI battery), and the battery-scoped exceptions.
References
BaseEmbeddingsAdapterOptions
Re-exports BaseEmbeddingsAdapterOptions
CreateWebLLMEmbeddingsEngine
Re-exports CreateWebLLMEmbeddingsEngine
E_INVALID_WEBLLM_EMBEDDINGS_OPTIONS
Re-exports E_INVALID_WEBLLM_EMBEDDINGS_OPTIONS
E_WEBLLM_EMBEDDINGS_ENGINE_ERROR
Re-exports E_WEBLLM_EMBEDDINGS_ENGINE_ERROR
EmbeddingKind
Re-exports EmbeddingKind
EmbedOptions
Re-exports EmbedOptions
validateOptions
Re-exports validateOptions
WebLLMEmbeddingsAdapter
Re-exports WebLLMEmbeddingsAdapter
WebLLMEmbeddingsAdapterOptions
Re-exports WebLLMEmbeddingsAdapterOptions
WebLLMEmbeddingsEngine
Re-exports WebLLMEmbeddingsEngine
WebLLMEmbeddingsInitProgressReport
Re-exports WebLLMEmbeddingsInitProgressReport
webLLMEmbeddingsOptionsSchema
Re-exports webLLMEmbeddingsOptionsSchema