EmbeddingsRequestPayload
EmbeddingsRequestPayload
Request to generate embeddings.
JSON Example
{
"input": [
"hello",
"world"
],
"model": "model-to-use"
}
input
Required
input
string
model
Required
ID of the embeddings model to use.
string
encoding_format
Optional
Constraints:
default: float
Format of the embedding vectors returned to the caller. float returns a list of 32-bit floats; base64 returns a base64-encoded little-endian float32 buffer.
Enumeration:
float,
base64