Are you an LLM? You can read better optimized documentation at /api/@nhtio/adk/batteries/embeddings/ollama/types.md for this page in Markdown format
@nhtio/adk/batteries/embeddings/ollama/types
Option and wire-shape types for the Ollama Embeddings adapter.
Remarks
This module builds on the shared embeddings option base owned by the OpenAI Embeddings battery (@nhtio/adk/batteries/embeddings/openai/types!BaseEmbeddingsAdapterOptions). The Ollama Embeddings battery re-exports and extends these rather than redefining them — exactly how the WebLLM Embeddings battery extends the shared base.
Interfaces
| Interface | Description |
|---|---|
| OllamaEmbeddingsAdapterOptions | Constructor options for @nhtio/adk/batteries/embeddings/ollama/adapter!OllamaEmbeddingsAdapter. |
| OllamaEmbeddingsRequestBody | The JSON request body POSTed to /api/embed. |
| OllamaEmbeddingsResponseBody | The relevant subset of the /api/embed JSON response shape. |
| OllamaEmbeddingsRuntimeOptions | Runtime options for Ollama's /api/embed endpoint. These map directly to the options field in the Ollama request body. |
References
BaseEmbeddingsAdapterOptions
Re-exports BaseEmbeddingsAdapterOptions
EmbeddingKind
Re-exports EmbeddingKind
EmbeddingsRetryConfig
Re-exports EmbeddingsRetryConfig
EmbedOptions
Re-exports EmbedOptions