Interface EmbedContentParametersPrivate

Parameters for the _embed_content method.

interface EmbedContentParametersPrivate {
    config?: EmbedContentConfig;
    content?: ContentUnion;
    contents?: ContentListUnion;
    embeddingApiType?: EmbeddingApiType;
    model: string;
}

Properties

Configuration that contains optional parameters.

content?: ContentUnion

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

contents?: ContentListUnion

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

embeddingApiType?: EmbeddingApiType

The Vertex embedding API to use.

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>_.