16 lines
360 B
Markdown
16 lines
360 B
Markdown
# LangGraph Reflection Assignment
|
||
|
||
## Description
|
||
This repository contains a LangGraph agent that:
|
||
1. Generates a concise answer to a question.
|
||
2. Critiques the answer.
|
||
3. Rewrites the answer if needed, up to a maximum number of rounds.
|
||
|
||
## How to run
|
||
```bash
|
||
pip install -r requirements.txt
|
||
python main.py
|
||
```
|
||
|
||
The demo question is hard‑coded in `main.py`.
|