Uses of Interface
de.espirit.firstspirit.ai.dto.Response.Builder
-
Uses of Response.Builder in de.espirit.firstspirit.ai.dto
Modifier and TypeMethodDescription@NotNull Response.Builder
Response.Builder.addVariant
(@NotNull Message variant) Adds a new variant as message.default @NotNull Response.Builder
Response.Builder.addVariants
(@NotNull List<Message> variants) Adds variants to the response.@NotNull Response.Builder
Response.Builder.attribute
(@NotNull String name, @Nullable Serializable value) Configures a generic attribute for this response object.static @NotNull Response.Builder
Response.builder()
Creates a new builder to create a request instance with.@NotNull Response.Builder
Response.Builder.tokenUsage
(@Nullable TokenUsage tokenUsage) Configures the token usage associated with the request.