Interface protos.google.ai.generativelanguage.v1.IEmbedContentRequest (2.6.0)

Properties of an EmbedContentRequest.

Package

@google-ai/generativelanguage

Properties

content

content?: (google.ai.generativelanguage.v1.IContent|null);

EmbedContentRequest content

model

model?: (string|null);

EmbedContentRequest model

outputDimensionality

outputDimensionality?: (number|null);

EmbedContentRequest outputDimensionality

taskType

taskType?: (google.ai.generativelanguage.v1.TaskType|keyof typeof google.ai.generativelanguage.v1.TaskType|null);

EmbedContentRequest taskType

title

title?: (string|null);

EmbedContentRequest title