Please refer to the Docker method of installing Milvus online.
git clone https://github.com/JackDance/DocumentQA_RAG
conda create -n your_conda_envir_name python=3.10 -y
conda activate your_conda_envir_name
pip install requirments.txt
Open .env
file and modify the following values
OPENAI_API_KEY1="your openai api key"
EMB_OPENAI_API_BASE="your openai embedding api base"
CHAT_OPENAI_API_BASE="your chat openai api base"
MILVUS_HOST="milvus host ip"
MILVUS_PORT="milvus port, default is 19530"
cd DocumentQA_RAG
python knowledge_building.py --doc_folder "your local document folder path"
cd DocumentQA_RAG
python knowledge_retrieval.py