Uses of Record Class
org.springframework.ai.zhipuai.api.ZhiPuAiApi.ChatCompletionChunk
Packages that use ZhiPuAiApi.ChatCompletionChunk
-
Uses of ZhiPuAiApi.ChatCompletionChunk in org.springframework.ai.zhipuai.api
Methods in org.springframework.ai.zhipuai.api that return ZhiPuAiApi.ChatCompletionChunkModifier and TypeMethodDescriptionZhiPuAiStreamFunctionCallingHelper.merge(ZhiPuAiApi.ChatCompletionChunk previous, ZhiPuAiApi.ChatCompletionChunk current) Merge the previous and current ChatCompletionChunk into a single one.Methods in org.springframework.ai.zhipuai.api that return types with arguments of type ZhiPuAiApi.ChatCompletionChunkModifier and TypeMethodDescriptionreactor.core.publisher.Flux<ZhiPuAiApi.ChatCompletionChunk>ZhiPuAiApi.chatCompletionStream(ZhiPuAiApi.ChatCompletionRequest chatRequest) Creates a streaming chat response for the given chat conversation.Methods in org.springframework.ai.zhipuai.api with parameters of type ZhiPuAiApi.ChatCompletionChunkModifier and TypeMethodDescriptionZhiPuAiStreamFunctionCallingHelper.chunkToChatCompletion(ZhiPuAiApi.ChatCompletionChunk chunk) Convert the ChatCompletionChunk into a ChatCompletion.booleanZhiPuAiStreamFunctionCallingHelper.isStreamingToolFunctionCall(ZhiPuAiApi.ChatCompletionChunk chatCompletion) booleanZhiPuAiStreamFunctionCallingHelper.isStreamingToolFunctionCallFinish(ZhiPuAiApi.ChatCompletionChunk chatCompletion) ZhiPuAiStreamFunctionCallingHelper.merge(ZhiPuAiApi.ChatCompletionChunk previous, ZhiPuAiApi.ChatCompletionChunk current) Merge the previous and current ChatCompletionChunk into a single one.