Package dev.langchain4j.chain
package dev.langchain4j.chain
-
ClassDescriptionChain<Input,
Output> Represents a chain step that takes an input and produces an output.A chain for conversing with a specifiedChatModel
while maintaining a memory of the conversation.A chain for conversing with a specifiedChatModel
based on the information retrieved by a specifiedContentRetriever
.