You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain-hub/chains/llm-checker
Rahul Behal ec48310da4
Add READMEs for 5 utility chains (#27)
1 year ago
..
README.md Add READMEs for 5 utility chains (#27) 1 year ago
chain.json many chains (#8) 1 year ago

README.md

LLMCheckerChain

Description

The LLMCheckerChain is designed to generate better answers to factual questions. The chain works by first generating a draft answer based on the question. The model is then asked to list its assumptions for this statement. The model is then asked to determine whether each assertion is true or false, and explain why if it is false. Finally, the model is prompted to revise their answer based on the above checks and assertions.

Chain type

LLMCheckerChain

Input Variables

question: the question to answer