Shared Embedding Model Service
On this page
The Shared Embedding Model Service is a multi-tenant embedding service that provides a shared embedding model for AI Functions.
Overview
When AI Functions are installed, a shared embedding model is automatically provisioned.
The shared embedding model is powered by Qwen3-Embedding-0.
|
Property |
Value |
|---|---|
|
Model name |
|
|
Model family |
Qwen3 Embedding |
|
Dimensions |
1024 |
|
Region |
US East (N. |
|
Hosting |
Aura-hosted (multi-tenant) |
How It Works
The shared embedding model service differs from dedicated embedding models in the following ways:
|
|
Shared Embedding Model |
Dedicated Embedding Model |
|---|---|---|
|
Infrastructure |
Multi-tenant, shared across organizations |
Single-tenant, provisioned per user |
|
Provisioning |
Automatic during AI Functions install |
Manual setup required |
|
Scaling |
SingleStore-managed |
User-configurable |
|
Model |
Qwen3-Embedding-0. |
User's choice |
The shared embedding service runs on GPU-accelerated infrastructure and automatically scales based on demand.
Prerequisites
-
A SingleStore Helios workspace group with AI Functions installed.
-
The Shared Embedding Service feature must be enabled for your organization.
Select the Embedding Model
You can view and change your default embedding model in the Cloud Portal:
-
Navigate to AI > AI & ML Functions.
-
Select your workspace group.
-
On the AI Functions tab, in Settings, select Edit.
-
On the Edit AI Functions page, in Models, select the Embedding Model section.
-
The available embedding models include both the shared model (
shared-qwen3-embed-0-6b) and the dedicated models provisioned for your organization.
To update the default embedding model used by EMBED_, select the desired model and save the change.
Usage
Use the shared embedding model with the EMBED_ function by specifying the model name shared-qwen3-embed-0-6b.customer_ table.
Basic Usage
SELECT cluster.EMBED_TEXT(
'The headphones have poor sound quality, disconnect frequently, and the battery lasts only a few hours. I would not recommend this product.',
'shared-qwen3-embed-0-6b'
) AS embedding;Using the Default Model
If the shared embedding model is set as your default embedding model, you can remove the model parameter:
SELECT cluster.EMBED_TEXT(
'The headphones have poor sound quality, disconnect frequently, and the battery lasts only a few hours. I would not recommend this product.'
) AS embedding;Generating Embeddings for a Table Column
SET batch_external_functions = AUTO;
UPDATE customer_reviews
SET review_embedding = cluster.EMBED_TEXT(review_text, 'shared-qwen3-embed-0-6b')
WHERE review_embedding IS NULL;Performance Considerations
-
Batching: Use
SET batch_, before bulk embedding operations to enable automatic batching, which significantly improves throughput.external_ functions = AUTO -
Token limits: The Qwen3-Embedding-0.
6B model processes text in token chunks. For large text inputs, the service automatically handles tokenization and batching. -
Region: For lowest latency, use workspace groups in the same region.
Note
The shared embedding model is available only in the US East (N.
Related Topics
Last modified: