provider::llamacpp::embed
Batch text embeddings via the configured llama-server's /v1/embeddings (requires --embeddings and an embedding-capable model). One vector per input, order preserved. Fully local; credential only when the server runs with --api-key.
- inputstring[]required1…512 items
Texts to embed, one vector returned per input, order preserved.
- modelstring
Model name passed through to the server. llama-server embeds with its loaded model regardless; the field is echoed for parity with the other providers.
- embeddingsnumber[][]required
One embedding per input, in input order.
- modelstringrequired