Generate embeddings from a modelParameters#
model: name of model to generate embeddings from
input: text or list of text to generate embeddings for
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 such as temperaturekeep_alive: controls how long the model will stay loaded into memory following the request (default: 5m)
Modified at 2025-03-14 08:38:35