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