RAG 系列教程源码仓库
关注我的微信公众号获取最新推送
- 安装miniconda
- 创建虚拟环境
我使用的是 python==3.12.7
$ conda create -n rag python=3.12 - 激活虚拟环境
$ conda activate rag - 配置 jupyter kernel
$ conda install -c anaconda ipykernel $ python -m ipykernel install --user --name rag - 将项目根目录下的环境变量配置文件重命名,并根据实际情况,填入你的配置信息
$ mv .example.env .env