generative-ai-python
google.generativeai.protos.EmbedTextRequest
View source on GitHub
Request to get a text embedding from the model.
Attributes
`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.