Custom metadata labels for embedding models

Vertex generative models provide custom metadata labels (for requests) (Custom metadata labels  |  Generative AI  |  Google Cloud)
but embedding models don’t.
(Get text embeddings  |  Generative AI  |  Google Cloud)

Does anyone know how this can be done or if this will be available in the future?

1 Like

Hii @Mannetjie_Van_Rooyen ,

Welcome to the Forum!

You’re right — currently, you can’t attach custom metadata labels to embedding model requests like TextEmbeddingModel.get_embeddings via the Vertex AI SDK or API. Only generative models support that for now. Would be great if they add it soon!

Thanks!