Uses of Interface
de.espirit.firstspirit.ai.dto.TokenUsage
-
Uses of TokenUsage in de.espirit.firstspirit.ai.dto
Modifier and TypeMethodDescriptionstatic @NotNull TokenUsage
TokenUsage.create
(int request, int response, int total) Creates a new instance.Modifier and TypeMethodDescription@NotNull Optional<TokenUsage>
Response.getTokenUsage()
Returns information about the token usage associated with the operation.Modifier and TypeMethodDescription@NotNull Response.Builder
Response.Builder.tokenUsage
(@Nullable TokenUsage tokenUsage) Configures the token usage associated with the request.