Package dev.langchain4j.agentic.internal
Interface UserMessageTransformer
- All Superinterfaces:
BiFunction<ChatRequest,
Object, ChatRequest>
- All Known Implementing Classes:
Context.AgenticScopeContextGenerator
,Context.Summarizer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface UserMessageTransformer
extends BiFunction<ChatRequest,Object,ChatRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ChatRequest
apply
(ChatRequest chatRequest, Object memoryId) transformUserMessage
(String userMessage, Object memoryId) Methods inherited from interface java.util.function.BiFunction
andThen
-
Method Details
-
apply
- Specified by:
apply
in interfaceBiFunction<ChatRequest,
Object, ChatRequest>
-
transformUserMessage
-