google.generativeai.protos.TextPrompt

Text given to the model as a prompt.

The Model will use this TextPrompt to Generate a text completion.

text str

Required. The prompt text.