Uses of Record Class
org.springframework.ai.openai.api.OpenAiApi.Usage.CompletionTokenDetails
Packages that use OpenAiApi.Usage.CompletionTokenDetails
-
Uses of OpenAiApi.Usage.CompletionTokenDetails in org.springframework.ai.openai.api
Methods in org.springframework.ai.openai.api that return OpenAiApi.Usage.CompletionTokenDetailsModifier and TypeMethodDescriptionOpenAiApi.Usage.completionTokenDetails()Returns the value of thecompletionTokenDetailsrecord component.Constructors in org.springframework.ai.openai.api with parameters of type OpenAiApi.Usage.CompletionTokenDetailsModifierConstructorDescriptionUsage(Integer completionTokens, Integer promptTokens, Integer totalTokens, OpenAiApi.Usage.PromptTokensDetails promptTokensDetails, OpenAiApi.Usage.CompletionTokenDetails completionTokenDetails) Creates an instance of aUsagerecord class.