Interface Chain<I,O>
- Type Parameters:
I- the chain input typeO- the chain output type
- All Known Implementing Classes:
AzureOpenAiChatCompletionsChain,AzureOpenAiCompletionsChain,CombineDocumentsChain,ElasticsearchRetrievalChain,LargeLanguageModelChain,LuceneRetrievalChain,MapAnswerWithSourcesChain,ModifyDocumentsContentChain,OpenAiChain,OpenAiChatCompletionsChain,OpenAiCompletionsChain,ReadDocumentsFromPdfChain,RetrievalChain,SplitDocumentsChain,WriteDocumentsToElasticsearchIndexChain,WriteDocumentsToLuceneDirectoryChain
- 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 Chain<I,O>
Basic interface for all modular components in this repository. A
Chain accepts an input of type *I* and provides an output of type
*O*. Using the method chain(Chain) passing another Chain, a
new Chain can be created which accepts the original chain's input and
provided the new chain's output.