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