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 ChatRole
ChatRole.ASSISTANT
The role that provides responses to system-instructed, user-prompted input.static final ChatRole
ChatRole.DEVELOPER
The role that instructs or sets the behavior of the assistant.static final ChatRole
ChatRole.SYSTEM
The role that instructs or sets the behavior of the assistant.static final ChatRole
ChatRole.TOOL
The role that represents extension tool activity within a chat completions operation.static final ChatRole
ChatRole.USER
The role that provides input for chat completions.Methods in com.azure.ai.inference.models that return ChatRoleModifier and TypeMethodDescriptionstatic ChatRole
ChatRole.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.ChatRequestDeveloperMessage.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.