基于智谱大模型和neo4j图数据库进行问答的样例代码
Clone the repo.
$ git clone https://github.com/hujili007/llmNeo4jQA.git
$ cd llmNeo4jQA
Set up conda environment
# create a new environment
$ conda create --name llmNeo4jQA python=3.10 -y
$ conda activate llmNeo4jQA
$ pip install zhipuai -U
$ pip install langchain
$ pip install langchain-community
$ pip install fastapi
$ pyhon MedcineNeo4jQA.py
http://localhost:8000/answer