Nebius Embedder is a class that allows you to embed documents using Nebius AI’s embedding models. It extends the OpenAI Embedder class and uses a compatible API interface.

Parameters

ParameterTypeDescriptionDefault
idstrThe model ID to use for embeddings"BAAI/bge-en-icl"
dimensionsintOutput dimensions of the embedding1024
api_keyOptional[str]Nebius API keyEnvironment variable NEBIUS_API_KEY
base_urlstrBase URL for API requests"https://api.studio.nebius.com/v1/"