embedding_inputstring | array<string> | array<integer> | array<array<integer>>RequiredFor 3-small, embed each passage separately; send a string, strings, token IDs or batches of token ID arrays.
- Default
- Not specified
{
"type": [
"string",
"array"
],
"x-ui": {
"order": 10,
"widget": "json",
"primary": true,
"affects_price": false
},
"oneOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 128,
"minItems": 1
},
{
"type": "array",
"items": {
"type": "integer",
"maximum": 2147483647,
"minimum": 0
},
"maxItems": 2048,
"minItems": 1
},
{
"type": "array",
"items": {
"type": "array",
"items": {
"type": "integer",
"maximum": 2147483647,
"minimum": 0
},
"maxItems": 2048,
"minItems": 1
},
"maxItems": 128,
"minItems": 1
}
],
"description": "Text or pre-tokenized inputs for text-embedding-3-small; at most 128 items in a batch."
}