This topic describes how to use Alibaba Cloud Model Studio to transform images into embeddings and store them in Vector Retrieval Service (DashVector) for vector search.
Prerequisites
DashVector:
A cluster is created. For more information, see Create a cluster.
You have obtained an API key. For more information, see Manage API keys.
You have installed the latest version of the software development kit (SDK). For more information, see Install the DashVector SDK.
Model Studio:
You have activated the service and obtained an API key. For more information, see Obtain an API key and Configure the API key as an environment variable.
You have installed the latest version of the SDK. For more information, see Install the SDK.
ONE-PEACE multimodal embeddings
ONE-PEACE is a general representation model for three modalities: image, text, and audio. You can also use ONE-PEACE to transform images into embeddings.
For more information, see Generate embeddings from a mix of modalities - ONE-PEACE multimodal embeddings.