Uses of Class
dev.langchain4j.model.chat.response.PartialResponse
Packages that use PartialResponse
-
Uses of PartialResponse in dev.langchain4j.model.chat.response
Methods in dev.langchain4j.model.chat.response with parameters of type PartialResponseModifier and TypeMethodDescriptiondefault voidStreamingChatResponseHandler.onPartialResponse(PartialResponse partialResponse, PartialResponseContext context) Invoked each time the model generates a partial textual response, usually a single token. -
Uses of PartialResponse in dev.langchain4j.service
Method parameters in dev.langchain4j.service with type arguments of type PartialResponseModifier and TypeMethodDescriptionAiServiceTokenStream.onPartialResponseWithContext(BiConsumer<PartialResponse, PartialResponseContext> handler) default TokenStreamTokenStream.onPartialResponseWithContext(BiConsumer<PartialResponse, PartialResponseContext> handler) The provided consumer will be invoked every time a new partial textual response (usually a single token) from a language model is available.