b
bge-base-en-v1.5
Text Embeddings • baaiBAAI general embedding (Base) model that transforms any given text into a 768-dimensional vector
Parameters
* indicates a required field
Input
-
text *
one of-
0
string min 1The text to embed
-
1
arrayBatch of text values to embed
-
items
string min 1The text to embed
-
-
Output
-
shape
array-
items
number
-
-
data
arrayEmbeddings of the requested text values
-
items
arrayFloating point embedding representation shaped by the embedding model
-
items
number
-
-
API Schemas
The following schemas are based on JSON Schema
{ "type": "object", "properties": { "text": { "oneOf": [ { "type": "string", "description": "The text to embed", "minLength": 1 }, { "type": "array", "description": "Batch of text values to embed", "items": { "type": "string", "description": "The text to embed", "minLength": 1 }, "maxItems": 100 } ] } }, "required": [ "text" ]}
{ "type": "object", "contentType": "application/json", "properties": { "shape": { "type": "array", "items": { "type": "number" } }, "data": { "type": "array", "description": "Embeddings of the requested text values", "items": { "type": "array", "description": "Floating point embedding representation shaped by the embedding model", "items": { "type": "number" } } } }}