一、5分钟搭建早餐推荐RAG(完整代码) 1.1 环境准备 # 安装依赖(推荐Python 3.10+) pip install sentence-transformers llama-index python-dotenv 1.2 完整代码 # rag_breakfast.py import os from pathlib import Path from llama_index.core import VectorStoreIndex, Simpl