Uses of Class
com.azure.ai.inference.models.ChatRole
Packages that use ChatRole
-
Uses of ChatRole in com.azure.ai.inference.models
Fields in com.azure.ai.inference.models declared as ChatRoleModifier and TypeFieldDescriptionstatic final ChatRoleChatRole.ASSISTANTThe role that provides responses to system-instructed, user-prompted input.static final ChatRoleChatRole.SYSTEMThe role that instructs or sets the behavior of the assistant.static final ChatRoleChatRole.TOOLThe role that represents extension tool activity within a chat completions operation.static final ChatRoleChatRole.USERThe role that provides input for chat completions.Methods in com.azure.ai.inference.models that return ChatRoleModifier and TypeMethodDescriptionstatic ChatRoleChatRole.fromString(String name) Creates or finds a ChatRole from its string representation.ChatRequestAssistantMessage.getRole()Get the role property: The chat role associated with this message.ChatRequestMessage.getRole()Get the role property: The chat role associated with this message.ChatRequestSystemMessage.getRole()Get the role property: The chat role associated with this message.ChatRequestToolMessage.getRole()Get the role property: The chat role associated with this message.ChatRequestUserMessage.getRole()Get the role property: The chat role associated with this message.ChatResponseMessage.getRole()Get the role property: The chat role associated with the message.StreamingChatResponseMessageUpdate.getRole()Get the role property: The chat role associated with the message.Methods in com.azure.ai.inference.models that return types with arguments of type ChatRoleModifier and TypeMethodDescriptionstatic Collection<ChatRole>ChatRole.values()Gets known ChatRole values.