# Set advanced parameters in ollama embeddings

**URL:** <https://community.n8n.io/t/set-advanced-parameters-in-ollama-embeddings/203290>\
**Category:** Feature Requests\
**Tags:** embeddings, ollama\
**Created:** [October 10, 2025, 12:50pm UTC](https://community.n8n.io/t/set-advanced-parameters-in-ollama-embeddings/203290 "2025-10-10T12:50:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Valdri](https://avatars.discourse-cdn.com/v4/letter/v/e47774/32.png) [@Valdri](https://community.n8n.io/u/Valdri)\
**Post date:** [October 10, 2025, 12:50pm UTC](https://community.n8n.io/t/set-advanced-parameters-in-ollama-embeddings/203290/1 "2025-10-10T12:50:57Z")

</div>

In ollama api user can define advanced parameters:

- `truncate`: truncates the end of each input to fit within context length. Returns error if `false` and context length is exceeded. Defaults to `true`
- `options`: additional model parameters listed in the documentation for the [Modelfile](https://github.com/ollama/ollama/blob/a1b74d513b8c975c3e0d931d4f0115955bbb1395/docs/modelfile.md#valid-parameters-and-values) such as `temperature`
- `keep_alive`: controls how long the model will stay loaded into memory following the request (default: `5m`)
- `dimensions`: number of dimensions for the embedding

[source](https://github.com/ollama/ollama/blob/main/docs/api.md#generate-embeddings)

I mostly look forward to the “dimensions” option, but it would be great to be able to use all the options.
