Uses of Class
dev.langchain4j.model.chat.response.PartialThinkingContext
Packages that use PartialThinkingContext
-
Uses of PartialThinkingContext in dev.langchain4j.model.chat.response
Methods in dev.langchain4j.model.chat.response with parameters of type PartialThinkingContextModifier and TypeMethodDescriptiondefault voidStreamingChatResponseHandler.onPartialThinking(PartialThinking partialThinking, PartialThinkingContext context) Invoked each time the model generates a partial thinking/reasoning text, usually a single token. -
Uses of PartialThinkingContext in dev.langchain4j.service
Method parameters in dev.langchain4j.service with type arguments of type PartialThinkingContextModifier and TypeMethodDescriptionAiServiceTokenStream.onPartialThinkingWithContext(BiConsumer<PartialThinking, PartialThinkingContext> handler) default TokenStreamTokenStream.onPartialThinkingWithContext(BiConsumer<PartialThinking, PartialThinkingContext> handler) The provided consumer will be invoked every time a new partial thinking/reasoning text (usually a single token) from a language model is available.