Converts media (text or image) to an instance that can be used for generating embeddings.
mediaToInstance(media: GoogleVertexAIMedia): GoogleVertexAIMultimodalEmbeddingsInstance| Name | Type | Description |
|---|---|---|
media* | GoogleVertexAIMedia | The media (text or image) to be converted. |