Uses of Interface
de.espirit.firstspirit.ai.dto.Message
-
Uses of Message in de.espirit.firstspirit.ai.dto
Modifier and TypeMethodDescription@NotNull Message
Message.Builder.create()
Creates a new message object.static @NotNull Message
Creates a new text message.Modifier and TypeMethodDescriptionRequest.getMessages()
Returns a list of messages to use for the request.Response.getVariants()
Returns the list of variants returned by the generative AI.Modifier and TypeMethodDescription@NotNull Request.Builder
Request.Builder.addMessage
(@NotNull Message message) Adds a new request message.@NotNull Response.Builder
Response.Builder.addVariant
(@NotNull Message variant) Adds a new variant as message.Modifier and TypeMethodDescriptiondefault @NotNull Response.Builder
Response.Builder.addVariants
(@NotNull List<Message> variants) Adds variants to the response.