# LLMCheckerChain

> **Class** in `langchain_classic`

📖 [View in docs](https://reference.langchain.com/python/langchain-classic/chains/llm_checker/base/LLMCheckerChain)

Chain for question-answering with self-verification.

## Signature

```python
LLMCheckerChain()
```

## Description

**Example:**

```python
from langchain_openai import OpenAI
from langchain_classic.chains import LLMCheckerChain

model = OpenAI(temperature=0.7)
checker_chain = LLMCheckerChain.from_llm(model)
```

## Extends

- `Chain`

## Properties

- `question_to_checked_assertions_chain`
- `llm`
- `create_draft_answer_prompt`
- `list_assertions_prompt`
- `check_assertions_prompt`
- `revised_answer_prompt`
- `input_key`
- `output_key`
- `model_config`
- `input_keys`
- `output_keys`

## Methods

- [`from_llm()`](https://reference.langchain.com/python/langchain-classic/chains/llm_checker/base/LLMCheckerChain/from_llm)

## ⚠️ Deprecated

Deprecated since version 0.2.13.

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/f0c5a28fa05adcda89aebcb449d897245ab21fa4/libs/langchain/langchain_classic/chains/llm_checker/base.py#L66)