Uses of Record Class
org.springframework.ai.zhipuai.api.ZhiPuAiApi.Usage
Packages that use ZhiPuAiApi.Usage
-
Uses of ZhiPuAiApi.Usage in org.springframework.ai.zhipuai.api
Methods in org.springframework.ai.zhipuai.api that return ZhiPuAiApi.UsageModifier and TypeMethodDescriptionZhiPuAiApi.ChatCompletion.usage()Returns the value of theusagerecord component.ZhiPuAiApi.EmbeddingList.usage()Returns the value of theusagerecord component.Constructors in org.springframework.ai.zhipuai.api with parameters of type ZhiPuAiApi.UsageModifierConstructorDescriptionChatCompletion(String id, List<ZhiPuAiApi.ChatCompletion.Choice> choices, Long created, String model, String systemFingerprint, String object, ZhiPuAiApi.Usage usage) Creates an instance of aChatCompletionrecord class.EmbeddingList(String object, List<T> data, String model, ZhiPuAiApi.Usage usage) Creates an instance of aEmbeddingListrecord class.