Interface EmbedContentParameters

Parameters for the embed_content method.

interface EmbedContentParameters {
    config?: EmbedContentConfig;
    contents: ContentListUnion;
    model: string;
}

Properties

Configuration that contains optional parameters.

The content to embed. Only the parts.text fields will be counted.

model: string

ID of the model to use. For a list of models, see Google models <https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models>_.

MMNEPVFCICPMFPCPTTAAATR