Table of Contents

Enum GeminiRole

The role of a Gemini content creator.

public enum GeminiRole
Extension Methods

Fields

[EnumMember(Value = "model")] Assistant = 2

The content was made by the model.

[EnumMember(Value = "function")] ToolResponse = 3

The content was made by a function.

Only available in the beta API.

Unspecified = 0

Don't use this.

[EnumMember(Value = "user")] User = 1

The content was made by the user.