Package com.github.hakenadu.javalangchains.chains.retrieval
-
Class Summary Class Description AnswerWithSources Model class for QA output with sourcesCombineDocumentsChain ThisChainis used to combine multiple retrieved documents into one prompt which can then be used to target a LLM in subsequent steps.MapAnswerWithSourcesChain Splits answers with sources from a QA chain.RetrievalChain Chainwhich is utilized for retrieving documents in a QA contextSummarizeDocumentsChain Chainthat takes documents as input and summarizes them using a llm chain that is passed as a constructor param.