google.ai.generativelanguage.BatchEmbedTextRequest

Batch request to get a text embedding from the model.

model str

Required. The name of the Model to use for generating the embedding. Examples: models/embedding-gecko-001

texts MutableSequence[str]

Required. The free-form input texts that the model will turn into an embedding. The current limit is 100 texts, over which an error will be thrown.