generative-ai-python

google.generativeai.protos.EmbedTextRequest

Request to get a text embedding from the model.

`model` `str` Required. The model name to use with the format model=models/{model}.
`text` `str` Optional. The free-form input text that the model will turn into an embedding.