b
bge-m3
Text Embeddings • baaiMulti-Functionality, Multi-Linguality, and Multi-Granularity embeddings model.
Parameters
* indicates a required field
Input
-
query
string min 1A query you wish to perform against the provided contexts. If no query is provided the model with respond with embeddings for contexts
-
contexts *
arrayList of provided contexts. Note that the index in this array is important, as the response will refer to it.
-
items
object-
text
string min 1One of the provided context content
-
-
Output
- Query object
-
response
array-
items
object-
id
integerIndex of the context in the request
-
score
numberScore of the context under the index.
-
-
-
- Embedding object
-
response
array-
items
array-
items
number
-
-
-
API Schemas
The following schemas are based on JSON Schema
{ "type": "object", "properties": { "query": { "type": "string", "minLength": 1, "description": "A query you wish to perform against the provided contexts. If no query is provided the model with respond with embeddings for contexts" }, "contexts": { "type": "array", "items": { "type": "object", "properties": { "text": { "type": "string", "minLength": 1, "description": "One of the provided context content" } } }, "description": "List of provided contexts. Note that the index in this array is important, as the response will refer to it." } }, "required": [ "contexts" ]}
{ "type": "object", "contentType": "application/json", "oneOf": [ { "title": "Query", "properties": { "response": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "integer", "description": "Index of the context in the request" }, "score": { "type": "number", "description": "Score of the context under the index." } } } } } }, { "title": "Embedding", "properties": { "response": { "type": "array", "items": { "type": "array", "items": { "type": "number" } } } } } ]}
Was this helpful?
- Resources
- API
- New to Cloudflare?
- Products
- Sponsorships
- Open Source
- Support
- Help Center
- System Status
- Compliance
- GDPR
- Company
- cloudflare.com
- Our team
- Careers
- 2025 Cloudflare, Inc.
- Privacy Policy
- Terms of Use
- Report Security Issues
- Trademark