Embedding API
The Embedding API allows you to generate high-quality vector representations (embeddings) of text inputs. These embeddings can be used for a variety of tasks such as semantic search, text classification, clustering, and more. This API is fully compatible with the OpenAI SDK, making it easy to integrate into your existing workflows.
Base URL
https://api.netmind.ai/inference-api/openai/v1
Authentication
To use the API, you need to obtain a Netmind AI API Key. For detailed instructions, please refer to the authentication documentation.
Supported Models
nvidia/NV-Embed-v2
dunzhang/stella_en_1.5B_v5
BAAI/bge-m3
Usage Examples
Python Client
The Embedding API is compatible with the OpenAI Python SDK. Below is an example of how to use it
CURL Example
BAAI/bge-m3 Example
The BAAI/bge-m3
model is a specialized embedding model designed to generate high-quality vector representations of text. It supports multiple encoding types, including dense
(default), sparse
, and colbert
(Multi-Vector). For more details, please refer to the Hugging Face model card.
Last updated
Was this helpful?