Uses of Record Class
com.alibaba.cloud.ai.dashscope.spec.DashScopeApiSpec.ChatCompletionChunk
Packages that use DashScopeApiSpec.ChatCompletionChunk
-
Uses of DashScopeApiSpec.ChatCompletionChunk in com.alibaba.cloud.ai.dashscope.api
Methods in com.alibaba.cloud.ai.dashscope.api that return DashScopeApiSpec.ChatCompletionChunkModifier and TypeMethodDescriptionDashScopeAiStreamFunctionCallingHelper.merge(DashScopeApiSpec.ChatCompletionChunk previous, DashScopeApiSpec.ChatCompletionChunk current) Merge the previous and current ChatCompletionChunk into a single one.Methods in com.alibaba.cloud.ai.dashscope.api that return types with arguments of type DashScopeApiSpec.ChatCompletionChunkModifier and TypeMethodDescriptionreactor.core.publisher.Flux<DashScopeApiSpec.ChatCompletionChunk>DashScopeApi.chatCompletionStream(DashScopeApiSpec.ChatCompletionRequest chatRequest) Creates a streaming chat response for the given chat conversation.reactor.core.publisher.Flux<DashScopeApiSpec.ChatCompletionChunk>DashScopeApi.chatCompletionStream(DashScopeApiSpec.ChatCompletionRequest chatRequest, org.springframework.util.MultiValueMap<String, String> additionalHttpHeader) Creates a streaming chat response for the given chat conversation.Methods in com.alibaba.cloud.ai.dashscope.api with parameters of type DashScopeApiSpec.ChatCompletionChunkModifier and TypeMethodDescriptionDashScopeAiStreamFunctionCallingHelper.chunkToChatCompletion(DashScopeApiSpec.ChatCompletionChunk chunk) Convert the ChatCompletionChunk into a ChatCompletion.booleanDashScopeAiStreamFunctionCallingHelper.isStreamingToolFunctionCall(DashScopeApiSpec.ChatCompletionChunk chatCompletion) booleanDashScopeAiStreamFunctionCallingHelper.isStreamingToolFunctionCallFinish(DashScopeApiSpec.ChatCompletionChunk chatCompletion) DashScopeAiStreamFunctionCallingHelper.merge(DashScopeApiSpec.ChatCompletionChunk previous, DashScopeApiSpec.ChatCompletionChunk current) Merge the previous and current ChatCompletionChunk into a single one.