bge-large-en

circle-info

This documentation is valid for the following list of our models:

  • BAAI/bge-large-en-v1.5

Model Overview

BGE-Large-EN-v1.5, standing for Bi-directional Global Embedding, is an advanced language model that provides rich, contextual embeddings for English text. It encodes deep linguistic information, allowing for a comprehensive understanding of text nuances, which is crucial for various natural language processing (NLP) tasks.

Setup your API Key

If you don’t have an API key for the AI/ML API yet, feel free to use our Quickstart guidearrow-up-right.

API Schema

post
Authorizations
AuthorizationstringRequired

Bearer key

Body
modelundefined · enumRequiredPossible values:
inputstring · min: 1 · max: 3000Required

Input text to embed, encoded as a string or array of tokens.

Responses
post
/v1/embeddings
201Success

No content

Code Example

This example shows how to set up an API client, send text to the embedding API, and print the response with the embedding vector. See how large a vector response the model generates from just a single short input phrase.

chevron-rightResponsehashtag

You can find a more advanced example of using embedding vectors in our article Find Relevant Answers: Semantic Search with Text Embeddings in the Use Cases section.

Last updated

Was this helpful?