Optional
baseBase URL of the Ollama server
Optional
fetchThe fetch function to use.
Optional
init: RequestInitOptional
init: RequestInitOptional
headersOptional HTTP Headers to include in the request.
Optional
keepDefaults to "5m"
Optional
modelThe Ollama model to use for embeddings.
Optional
requestAdvanced Ollama API request parameters in camelCase, see https://github.com/ollama/ollama/blob/main/docs/modelfile.md#valid-parameters-and-values for details of the available parameters.
Optional
truncateWhether or not to truncate the input text to fit inside the model's context window.
Interface for OllamaEmbeddings parameters. Extends EmbeddingsParams and defines additional parameters specific to the OllamaEmbeddings class.