Package com.github.hakenadu.javalangchains.chains.qa
-
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.ModifyDocumentsContentChain Chainthat takes documents as input and modifies theirPromptConstants.CONTENTentry using a llm chain that is passed as a constructor param.