Skip to content
b

bge-base-en-v1.5

Text Embeddingsbaai
@cf/baai/bge-base-en-v1.5

BAAI general embedding (Base) model that transforms any given text into a 768-dimensional vector

    Parameters

    Input

    • text one of

      • 0 string min 1

        The text to embed

      • 1 array

        Batch of text values to embed

        • items string min 1

          The text to embed

    Output

    • shape array

      • items number

    • data array

      Embeddings of the requested text values

      • items array

        Floating 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"
    ]
    }