Reverse Proxy Auth
Retrieval
Embeddings
The R2R Embedding endpoint generates vector embeddings from text using a specified model. It supports single or batch input, returning semantic vectors for use in search, clustering, and RAG applications.
POST
Reverse Proxy Auth
The Embedding endpoint generates vector embeddings for the provided text using a specified model.
Embeddings are dense numerical representations of text that capture semantic meaning, enabling downstream applications such as semantic search, clustering, classification, and RAG (Retrieval-Augmented Generation) operations.
This endpoint provides a simple and efficient way to convert text into machine-readable vector form for use within R2R’s retrieval and analysis systems.
Use Cases
Embeddings generated via this endpoint can be used for:- Semantic search — Compare embedding vectors to find related content.
- Clustering and classification — Group similar documents or classify them by meaning.
- Knowledge graph enhancement — Connect semantically related entities.
- RAG workflows — Retrieve relevant content before passing context to language models.
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Headers
JWT token
io.net provided API Key
API key set by an SDK client
Body
application/json
Raw JSON body for the embedding request. Example inputs shown below.
The body is of type object.
Response
Successful Response