Uses of Record Class
ai.optfor.springopenaiapi.model.Usage
Packages that use Usage
-
Uses of Usage in ai.optfor.springopenaiapi.model
Methods in ai.optfor.springopenaiapi.model that return UsageModifier and TypeMethodDescriptionChatCompletionResponse.usage()Returns the value of theusagerecord component.EmbeddingResponse.usage()Returns the value of theusagerecord component.Constructors in ai.optfor.springopenaiapi.model with parameters of type UsageModifierConstructorDescriptionChatCompletionResponse(String model, List<ChatChoice> choices, Usage usage) Creates an instance of aChatCompletionResponserecord class.EmbeddingResponse(String model, List<EmbeddingData> data, Usage usage) Creates an instance of aEmbeddingResponserecord class.