Uses of Record Class
org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionMessage
Packages that use ZhiPuAiApi.ChatCompletionMessage
-
Uses of ZhiPuAiApi.ChatCompletionMessage in org.springframework.ai.zhipuai.api
Methods in org.springframework.ai.zhipuai.api that return ZhiPuAiApi.ChatCompletionMessageModifier and TypeMethodDescriptionZhiPuAiApi.ChatCompletionChunk.ChunkChoice.delta()Returns the value of thedeltarecord component.ZhiPuAiApi.ChatCompletion.Choice.message()Returns the value of themessagerecord component.Methods in org.springframework.ai.zhipuai.api that return types with arguments of type ZhiPuAiApi.ChatCompletionMessageModifier and TypeMethodDescriptionZhiPuAiApi.ChatCompletionRequest.messages()Returns the value of themessagesrecord component.Constructors in org.springframework.ai.zhipuai.api with parameters of type ZhiPuAiApi.ChatCompletionMessageModifierConstructorDescriptionChoice(ZhiPuAiApi.ChatCompletionFinishReason finishReason, Integer index, ZhiPuAiApi.ChatCompletionMessage message, ZhiPuAiApi.LogProbs logprobs) Creates an instance of aChoicerecord class.ChunkChoice(ZhiPuAiApi.ChatCompletionFinishReason finishReason, Integer index, ZhiPuAiApi.ChatCompletionMessage delta, ZhiPuAiApi.LogProbs logprobs) Creates an instance of aChunkChoicerecord class.Constructor parameters in org.springframework.ai.zhipuai.api with type arguments of type ZhiPuAiApi.ChatCompletionMessageModifierConstructorDescriptionChatCompletionRequest(List<ZhiPuAiApi.ChatCompletionMessage> messages, Boolean stream) Shortcut constructor for a chat completion request with the given messages, model, tools and tool choice.ChatCompletionRequest(List<ZhiPuAiApi.ChatCompletionMessage> messages, String model, Double temperature) Shortcut constructor for a chat completion request with the given messages and model.ChatCompletionRequest(List<ZhiPuAiApi.ChatCompletionMessage> messages, String model, Double temperature, boolean stream) Shortcut constructor for a chat completion request with the given messages, model and control for streaming.ChatCompletionRequest(List<ZhiPuAiApi.ChatCompletionMessage> messages, String model, Integer maxTokens, List<String> stop, Boolean stream, Double temperature, Double topP, List<ZhiPuAiApi.FunctionTool> tools, Object toolChoice, String user, String requestId, Boolean doSample) Creates an instance of aChatCompletionRequestrecord class.ChatCompletionRequest(List<ZhiPuAiApi.ChatCompletionMessage> messages, String model, List<ZhiPuAiApi.FunctionTool> tools, Object toolChoice) Shortcut constructor for a chat completion request with the given messages, model, tools and tool choice.