安装关联包 pip install -r requirements.txt 引入OPENAI_API_KEY export OPENAI_API_KEY={your-api-key} # or os.environ["OPENAI_API_KEY"] = {your-api-key} 进行问答 python3 embedding.py python3 qa.py