update rag tutorial
This commit is contained in:
parent
48630239b7
commit
21004e274f
|
|
@ -16,12 +16,18 @@ This project demonstrates a simplified RAG system that retrieves relevant docume
|
||||||
```
|
```
|
||||||
Or update it directly in `utils.py`
|
Or update it directly in `utils.py`
|
||||||
|
|
||||||
2. Install and run:
|
2. Install and run with the default query:
|
||||||
```bash
|
```bash
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
python main.py
|
python main.py
|
||||||
```
|
```
|
||||||
|
|
||||||
|
3. Run the application with a sample query:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
python main.py --"How does the Q-Mesh protocol achieve high transaction speeds?"
|
||||||
|
```
|
||||||
|
|
||||||
## How It Works
|
## How It Works
|
||||||
|
|
||||||
The magic happens through a two-phase pipeline implemented with PocketFlow:
|
The magic happens through a two-phase pipeline implemented with PocketFlow:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue