Uses of Class
com.composum.ai.backend.base.service.chat.GPTChatMessage
-
Packages that use GPTChatMessage Package Description com.composum.ai.backend.base.service.chat com.composum.ai.backend.base.service.chat.impl.chatmodel -
-
Uses of GPTChatMessage in com.composum.ai.backend.base.service.chat
Methods in com.composum.ai.backend.base.service.chat that return types with arguments of type GPTChatMessage Modifier and Type Method Description List<GPTChatMessage>
GPTChatMessagesTemplate. getMessages(Map<String,String> placeholderValues)
Returns a list of messages with the placeholders replaced.List<GPTChatMessage>
GPTChatRequest. getMessages()
Returns the chat messages set withGPTChatRequest.addMessage(GPTMessageRole, String)
.Methods in com.composum.ai.backend.base.service.chat with parameters of type GPTChatMessage Modifier and Type Method Description GPTChatRequest
GPTChatRequest. addMessage(GPTChatMessage message)
Builder style adding of messages.Method parameters in com.composum.ai.backend.base.service.chat with type arguments of type GPTChatMessage Modifier and Type Method Description GPTChatRequest
GPTChatRequest. addMessages(List<GPTChatMessage> messages)
Builder style adding of messages.Constructor parameters in com.composum.ai.backend.base.service.chat with type arguments of type GPTChatMessage Constructor Description GPTChatRequest(List<GPTChatMessage> messages)
-
Uses of GPTChatMessage 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 GPTChatMessage Modifier and Type Method Description static ChatCompletionMessage
ChatCompletionMessage. make(GPTChatMessage message)
-