Enum ChatRole
Namespace: Glitch9.AIDevKit
Assembly: Glitch9.AIDevKit.dll
Syntax
[JsonConverter(typeof(ChatRoleJsonConverter))]
public enum ChatRole
Fields
| Name | Description |
|---|---|
| Assistant | Messages sent by the model in response to user messages. The Google equivalent for this role is 'model', and it is converted to 'assistant' with the JsonConverter. |
| System | |
| Tool | Messages sent by the model.
The message includes the function calls the model wants to make. |
| Unset | |
| User | Messages sent by an end user, containing prompts or additional context information. |