google.ai.generativelanguage.Example

An input/output example used to instruct the Model.

It demonstrates how the model should respond or format its response.

input google.ai.generativelanguage.Message

Required. An example of an input Message from the user.

output google.ai.generativelanguage.Message

Required. An example of what the model should output given the input.