Enum ChatRole
Namespace: Glitch9.AIDevKit
Assembly: .dll
Syntax
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. The Google equivalent for this role is 'function', and it is converted to 'tool' with the JsonConverter. |
Unset | |
User | Messages sent by an end user, containing prompts or additional context information. |