Skip to content
1 min read · 112 words

@nhtio/adk/batteries/embeddings/ollama ​

Ollama Embeddings adapter battery — the environment-neutral embeddings battery for Ollama.

Remarks ​

Re-exports the adapter class, every option / wire-shape type alias (including the shared @nhtio/adk/batteries/embeddings/openai/types!BaseEmbeddingsAdapterOptions, @nhtio/adk/batteries/embeddings/openai/types!EmbeddingKind, @nhtio/adk/batteries/embeddings/openai/types!EmbedOptions), the validation schema + validateOptions wrapper, and the battery-scoped exceptions.

References ​

BaseEmbeddingsAdapterOptions ​

Re-exports BaseEmbeddingsAdapterOptions


E_INVALID_OLLAMA_EMBEDDINGS_OPTIONS ​

Re-exports E_INVALID_OLLAMA_EMBEDDINGS_OPTIONS


E_OLLAMA_EMBEDDINGS_HTTP_ERROR ​

Re-exports E_OLLAMA_EMBEDDINGS_HTTP_ERROR


E_OLLAMA_EMBEDDINGS_MALFORMED_RESPONSE ​

Re-exports E_OLLAMA_EMBEDDINGS_MALFORMED_RESPONSE


E_OLLAMA_EMBEDDINGS_REQUEST_TIMEOUT ​

Re-exports E_OLLAMA_EMBEDDINGS_REQUEST_TIMEOUT


EmbeddingKind ​

Re-exports EmbeddingKind


EmbedOptions ​

Re-exports EmbedOptions


OllamaEmbeddingsAdapter ​

Re-exports OllamaEmbeddingsAdapter


OllamaEmbeddingsAdapterOptions ​

Re-exports OllamaEmbeddingsAdapterOptions


ollamaEmbeddingsOptionsSchema ​

Re-exports ollamaEmbeddingsOptionsSchema


OllamaEmbeddingsRequestBody ​

Re-exports OllamaEmbeddingsRequestBody


OllamaEmbeddingsResponseBody ​

Re-exports OllamaEmbeddingsResponseBody


OllamaEmbeddingsRuntimeOptions ​

Re-exports OllamaEmbeddingsRuntimeOptions


validateOptions ​

Re-exports validateOptions