Interface: OllamaEmbedParams
@providerprotocol/ai / ollama / OllamaEmbedParams
Interface: OllamaEmbedParams
Section titled “Interface: OllamaEmbedParams”Defined in: src/providers/ollama/embed.ts:30
Ollama embedding parameters. Passed through to the API.
Properties
Section titled “Properties”keep_alive?
Section titled “keep_alive?”
optionalkeep_alive:string
Defined in: src/providers/ollama/embed.ts:34
Controls how long the model stays loaded in memory (e.g., ‘5m’, ‘1h’)
options?
Section titled “options?”
optionaloptions:Record<string,unknown>
Defined in: src/providers/ollama/embed.ts:36
Additional model options
truncate?
Section titled “truncate?”
optionaltruncate:boolean
Defined in: src/providers/ollama/embed.ts:32
Truncates the end of each input to fit within context length (default: true)