Uses of Enum Class
dev.langchain4j.model.workersai.client.WorkersAiChatCompletionRequest.MessageRole
Packages that use WorkersAiChatCompletionRequest.MessageRole
-
Uses of WorkersAiChatCompletionRequest.MessageRole in dev.langchain4j.model.workersai.client
Methods in dev.langchain4j.model.workersai.client that return WorkersAiChatCompletionRequest.MessageRoleModifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.WorkersAiChatCompletionRequest.MessageRole.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in dev.langchain4j.model.workersai.client with parameters of type WorkersAiChatCompletionRequest.MessageRoleModifier and TypeMethodDescriptionvoid
WorkersAiChatCompletionRequest.addMessage
(WorkersAiChatCompletionRequest.MessageRole role, String content) Adds a new message to the chat completion request.Constructors in dev.langchain4j.model.workersai.client with parameters of type WorkersAiChatCompletionRequest.MessageRoleModifierConstructorDescriptionConstructs a WorkerAiChatCompletionRequest with an initial message.