---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/embeddings/ollama/types/interfaces/OllamaEmbeddingsRuntimeOptions.md
description: >-
  Runtime options for Ollama's `/api/embed` endpoint. These map directly to the
  `options` field in the Ollama request body.
---

# Interface: OllamaEmbeddingsRuntimeOptions

Defined in: [src/batteries/embeddings/ollama/types.ts:28](https://github.com/NHTIO/ADK/blob/v1.20261103.0/src/src/batteries/embeddings/ollama/types.ts#L28)

Runtime options for Ollama's `/api/embed` endpoint. These map directly to the `options` field
in the Ollama request body.

## Properties

| Property                                       | Type     | Description                                    | Defined in                                                                                                                                      |
| ---------------------------------------------- | -------- | ---------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
|  `num_ctx?`       | `number` | Context size override for the embedding model. | [src/batteries/embeddings/ollama/types.ts:30](https://github.com/NHTIO/ADK/blob/v1.20261103.0/src/src/batteries/embeddings/ollama/types.ts#L30) |
|  `num_thread?` | `number` | Number of threads to use for inference.        | [src/batteries/embeddings/ollama/types.ts:32](https://github.com/NHTIO/ADK/blob/v1.20261103.0/src/src/batteries/embeddings/ollama/types.ts#L32) |
