### RAG demo by MindNLP+Langchain

#### Install dependencies

```
pip install -r requirements.txt
```

### Download knowledge file

```
wget https://raw.githubusercontent.com/limchiahooi/nlp-chinese/master/%E8%A5%BF%E6%B8%B8%E8%AE%B0.txt -O xiyouji.txt

```

### Run RAG Demo

```
python newchat.py xiyouji.txt 
```