turns property

List<Content> turns
final

Optional. The content appended to the current conversation with the model.

For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history and the latest request.

Implementation

final List<Content> turns;