Overview
Note: this endpoint has been superseded by /api/embed
POST /api/embeddings
Parameters
model
: name of model to generate embeddings fromprompt
: text to generate embeddings foroptions
: additional model parameters listed in the documentation for the Modelfile such as temperature
keep_alive
: controls how long the model will stay loaded into memory following the request (default: 5m
)