install pipx[https://github.com/pypa/pipx]
python3 -m pip install --user pipx
python3 -m pipx ensurepath
sudo apt install python3.12-venv
pipx install poetry
poetry env use 3.12
At database/session.py
change AUTH = ("rene", "00000000")
to your neo4j username and password.
poetry install
Turn neo4j database on and run poetry run build-equipment-kg
, or build_equipment_kg.py
Run poetry run dev
, the server would be running on localhost:8000
. You could read the swagger api docs are at localhost:8000/docs
.
- user cannot name 'admin'
- there is no data verification
- user's customized node cannot have properties named with 'creator' or 'gid'
- edges can only have one type at a time(but there could be multiple edges with different types between two nodes)
- chatbot only support first 20 equipments for now.