Uses of Class
com.composum.ai.backend.base.service.chat.GPTMessageRole
-
Packages that use GPTMessageRole Package Description com.composum.ai.backend.base.service.chat com.composum.ai.backend.base.service.chat.impl.chatmodel -
-
Uses of GPTMessageRole in com.composum.ai.backend.base.service.chat
Methods in com.composum.ai.backend.base.service.chat that return GPTMessageRole Modifier and Type Method Description GPTMessageRole
GPTChatMessage. getRole()
Function of the message in the dialog.static GPTMessageRole
GPTMessageRole. valueOf(String name)
Returns the enum constant of this type with the specified name.static GPTMessageRole[]
GPTMessageRole. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.composum.ai.backend.base.service.chat with parameters of type GPTMessageRole Modifier and Type Method Description GPTChatRequest
GPTChatRequest. addMessage(GPTMessageRole role, String content)
Builder style adding of messages.Constructors in com.composum.ai.backend.base.service.chat with parameters of type GPTMessageRole Constructor Description GPTChatMessage(GPTMessageRole role, String content)
GPTChatMessage(GPTMessageRole role, String content, String imageUrl)
GPTChatMessage(GPTMessageRole role, String content, String imageUrl, String tool_call_id)
GPTChatMessage(GPTMessageRole role, String content, String imageUrl, String tool_call_id, List<GPTToolCall> tool_calls)
-
Uses of GPTMessageRole in com.composum.ai.backend.base.service.chat.impl.chatmodel
Methods in com.composum.ai.backend.base.service.chat.impl.chatmodel with parameters of type GPTMessageRole Modifier and Type Method Description static ChatCompletionRequest.Role
ChatCompletionRequest.Role. make(GPTMessageRole role)
-