Skip to main content
Generate embeddings via the ollama python library. More details:
ParameterTypeDefault ValueDescription
namestrnomic-embed-textThe name of the model.
hoststrhttp://localhost:11434The Ollama host to connect to.
optionsollama.Options or dictNoneAdditional model parameters listed in the documentation for the Modelfile such as temperature.
keep_alivefloat or str"5m"Controls how long the model will stay loaded into memory following the request.
ollama_client_kwargsdict{}kwargs that can be past to the ollama.Client.