diff --git a/RAG/.idea/.gitignore b/RAG/.idea/.gitignore new file mode 100644 index 00000000..a7cdac76 --- /dev/null +++ b/RAG/.idea/.gitignore @@ -0,0 +1,8 @@ +# 默认忽略的文件 +/shelf/ +/workspace.xml +# 基于编辑器的 HTTP 客户端请求 +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/RAG/.idea/RAG.iml b/RAG/.idea/RAG.iml new file mode 100644 index 00000000..d9e6024f --- /dev/null +++ b/RAG/.idea/RAG.iml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/RAG/.idea/inspectionProfiles/profiles_settings.xml b/RAG/.idea/inspectionProfiles/profiles_settings.xml new file mode 100644 index 00000000..105ce2da --- /dev/null +++ b/RAG/.idea/inspectionProfiles/profiles_settings.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/RAG/.idea/modules.xml b/RAG/.idea/modules.xml new file mode 100644 index 00000000..23b163c9 --- /dev/null +++ b/RAG/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/RAG/Conda维护.txt b/RAG/Conda维护.txt new file mode 100644 index 00000000..b04b112d --- /dev/null +++ b/RAG/Conda维护.txt @@ -0,0 +1,30 @@ +# 添加Anaconda的TUNA镜像 +conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ + +# 设置搜索时显示通道地址 +conda config --set show_channel_urls yes + +# 创建虚拟环境 +conda create -n rag python=3.10 + +# 查看当前存在哪些虚拟环境 +conda env list +conda info -e + +# 查看安装了哪些包 +conda list + +# 激活虚拟环境 +activate rag + +# .对虚拟环境中安装额外的包 +conda install -n rag $package_name + +# 删除虚拟环境 +conda remove -n rag --all + +# 删除环境钟的某个包 +conda remove --name rag $package_name + +# 恢复默认镜像 +conda config --remove-key channels diff --git a/RAG/python环境配置.png b/RAG/python环境配置.png new file mode 100644 index 00000000..ffc55842 Binary files /dev/null and b/RAG/python环境配置.png differ