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